Commit 763360c58c811679353dd3318ca97cf8034313f1
1 parent
c0273a319d
Exists in
master
Add a backup repo for u-boot and kernel at github
Showing 3 changed files with 8 additions and 2 deletions Inline Diff
conf/layer.conf
1 | # We have a conf and classes directory, add to BBPATH | 1 | # We have a conf and classes directory, add to BBPATH |
2 | BBPATH .= ":${LAYERDIR}" | 2 | BBPATH .= ":${LAYERDIR}" |
3 | 3 | ||
4 | # We have a packages directory, add to BBFILES | 4 | # We have a packages directory, add to BBFILES |
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" | 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" |
6 | 6 | ||
7 | BBFILE_COLLECTIONS += "embedian" | 7 | BBFILE_COLLECTIONS += "embedian" |
8 | BBFILE_PATTERN_embedian := "^${LAYERDIR}/" | 8 | BBFILE_PATTERN_embedian := "^${LAYERDIR}/" |
9 | BBFILE_PRIORITY_embedian = "20" | 9 | BBFILE_PRIORITY_embedian = "20" |
10 | |||
11 | EMB_UBOOT_MIRROR ?= "git://git@git.embedian.com/developer/smarc-t335x-uboot.git" | ||
12 | EMB_KERNEL_MIRROR ?= "git://git@git.embedian.com/developer/linux-smarc-t335x-v3.2.git" | ||
13 | |||
14 | MIRRORS += " \ | ||
15 | ${EMB_UBOOT_MIRROR} git://github.com/embedian/smarc-uboot.git;protocol=git;branch=${SRCBRANCH} \n \ | ||
16 | ${EMB_KERNEL_MIRROR} git://github.com/embedian/smarc-ti-linux-kernel.git;protocol=git;branch=${SRCBRANCH} \n \ | ||
17 | " | ||
10 | 18 |
recipes-bsp/u-boot/u-boot_2014.04-smarct335x.bb
1 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc | 1 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc |
2 | 2 | ||
3 | DESCRIPTION = "u-boot bootloader for Embedian SMARC T335x Computer on Module" | 3 | DESCRIPTION = "u-boot bootloader for Embedian SMARC T335x Computer on Module" |
4 | 4 | ||
5 | COMPATIBLE_MACHINE = "smarct335x" | 5 | COMPATIBLE_MACHINE = "smarct335x" |
6 | 6 | ||
7 | DEFAULT_PREFERENCE_smarct335x = "100" | 7 | DEFAULT_PREFERENCE_smarct335x = "100" |
8 | 8 | ||
9 | LICENSE = "GPLv2+" | 9 | LICENSE = "GPLv2+" |
10 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb" | 10 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb" |
11 | # Use Autorev during development. Pin when released. | 11 | # Use Autorev during development. Pin when released. |
12 | # SRCREV = "${AUTOREV}" | 12 | # SRCREV = "${AUTOREV}" |
13 | # For rev. 00A0, uncomment out the following line | 13 | # For rev. 00A0, uncomment out the following line |
14 | # SRCREV = "fac7e197c064e15b96b1292148c84cb715d701fb" | 14 | # SRCREV = "fac7e197c064e15b96b1292148c84cb715d701fb" |
15 | # For rev. 00B0 | 15 | # For rev. 00B0 |
16 | # For u-boot v2013.10 | 16 | # For u-boot v2013.10 |
17 | # SRCREV = "98106db61244c0ac4832b7e3bb0ae50452405509" | 17 | # SRCREV = "98106db61244c0ac4832b7e3bb0ae50452405509" |
18 | 18 | ||
19 | # For u-boot v2014.04 | 19 | # For u-boot v2014.04 |
20 | SRCREV = "c2477548450f9aacc5d6b9732098525bc9e4d4e0" | 20 | SRCREV = "c2477548450f9aacc5d6b9732098525bc9e4d4e0" |
21 | SRC_URI = "git://git@git.embedian.com/developer/smarc-t335x-uboot.git;protocol=ssh;branch=${BRANCH}" | 21 | SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${BRANCH}" |
22 | 22 | ||
23 | BRANCH = "v2014.04-smarct33" | 23 | BRANCH = "v2014.04-smarct33" |
24 | 24 | ||
25 | PV = "2014.04-smarct335x" | 25 | PV = "2014.04-smarct335x" |
26 | PR = "r0+gitr${SRCPV}" | 26 | PR = "r0+gitr${SRCPV}" |
27 | 27 | ||
28 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 28 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
29 | 29 | ||
30 | S = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/git" |
31 | 31 | ||
32 | UBOOT_SUFFIX = "img" | 32 | UBOOT_SUFFIX = "img" |
33 | 33 | ||
34 | # Set the name of the SPL that will built so that it is also packaged with u-boot. | 34 | # Set the name of the SPL that will built so that it is also packaged with u-boot. |
35 | SPL_BINARY = "MLO" | 35 | SPL_BINARY = "MLO" |
36 | 36 |
recipes-kernel/linux/linux-smarct335x_3.2.bb
1 | inherit kernel | 1 | inherit kernel |
2 | require recipes-kernel/linux/linux.inc | 2 | require recipes-kernel/linux/linux.inc |
3 | 3 | ||
4 | DESCRIPTION = "Linux kernel for Embedian SMARC T335X Computer on Modules" | 4 | DESCRIPTION = "Linux kernel for Embedian SMARC T335X Computer on Modules" |
5 | KERNEL_IMAGETYPE = "zImage" | 5 | KERNEL_IMAGETYPE = "zImage" |
6 | COMPATIBLE_MACHINE = "smarct335x" | 6 | COMPATIBLE_MACHINE = "smarct335x" |
7 | DEFAULT_PREFERENCE = "-1" | 7 | DEFAULT_PREFERENCE = "-1" |
8 | 8 | ||
9 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
10 | 10 | ||
11 | # Stage the power management firmware before building the kernel | 11 | # Stage the power management firmware before building the kernel |
12 | DEPENDS += "am33x-cm3" | 12 | DEPENDS += "am33x-cm3" |
13 | 13 | ||
14 | BRANCH = "v3.2_SMARCT335xPSP_04.06.00.11" | 14 | BRANCH = "v3.2_SMARCT335xPSP_04.06.00.11" |
15 | #SRCREV = "${AUTOREV}" | 15 | #SRCREV = "${AUTOREV}" |
16 | # For rev. 00A0, uncomment out the following line. | 16 | # For rev. 00A0, uncomment out the following line. |
17 | #SRCREV = "5f08c606d2990bd6b45c5202e9ce6cf36143d84e" | 17 | #SRCREV = "5f08c606d2990bd6b45c5202e9ce6cf36143d84e" |
18 | # For rev.00B0 or After | 18 | # For rev.00B0 or After |
19 | SRCREV = "def7279fa51043802cb94e8eb9ccf91a87ef25a9" | 19 | SRCREV = "def7279fa51043802cb94e8eb9ccf91a87ef25a9" |
20 | 20 | ||
21 | SRC_URI = "git://git@git.embedian.com/developer/linux-smarc-t335x-v3.2.git;protocol=ssh;branch=${BRANCH} \ | 21 | SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${BRANCH} \ |
22 | file://defconfig \ | 22 | file://defconfig \ |
23 | " | 23 | " |
24 | 24 | ||
25 | 25 | ||
26 | PV = "3.2" | 26 | PV = "3.2" |
27 | MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}" | 27 | MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}" |
28 | 28 | ||
29 | # UNCOMMENT FOR VERBOSE BUILD OUTPUT: EXTRA_OEMAKE += "V=1" | 29 | # UNCOMMENT FOR VERBOSE BUILD OUTPUT: EXTRA_OEMAKE += "V=1" |
30 | 30 | ||
31 | # Copy the am33x-cm3 firmware if it is available | 31 | # Copy the am33x-cm3 firmware if it is available |
32 | do_configure_append() { | 32 | do_configure_append() { |
33 | if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ] | 33 | if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ] |
34 | then | 34 | then |
35 | cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware" | 35 | cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware" |
36 | fi | 36 | fi |
37 | } | 37 | } |
38 | 38 |