Commit 1256b25efef9fecef55ee985018d2ab108f2bfd2
1 parent
e6c784a571
Exists in
master
Upgrade eMMC from 4GB to 8GB
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
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 = "64aca22977c3cab5a7ec6f4348860f025943ff49" |
20 | 20 | ||
21 | SRC_URI = "${EMB_KERNEL_MIRROR};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 |