diff options
author | Hao Zhang <hzhang@ti.com> | 2014-05-29 00:49:05 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2014-05-29 14:56:44 -0400 |
commit | 9277a0276f0c3a49793e53e57678455272042480 (patch) | |
tree | edb4c448eeabde967f14d1553a7924a686a8c577 /recipes-bsp/u-boot | |
parent | c7f1fb41d70a12f9afb51edfe63bbda0b46c7cc6 (diff) | |
download | meta-ti-9277a0276f0c3a49793e53e57678455272042480.tar.gz |
keystone: u-boot: add build support for EMIF16 NAND gph image
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/u-boot-keystone_2013.01.bb b/recipes-bsp/u-boot/u-boot-keystone_2013.01.bb index 5e5eb517..37f7738a 100644 --- a/recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +++ b/recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | |||
@@ -4,7 +4,7 @@ DESCRIPTION = "u-boot bootloader for Multi-Core BU devices" | |||
4 | 4 | ||
5 | COMPATIBLE_MACHINE = "keystone" | 5 | COMPATIBLE_MACHINE = "keystone" |
6 | 6 | ||
7 | PR = "r4+gitr${SRCPV}" | 7 | PR = "r5+gitr${SRCPV}" |
8 | 8 | ||
9 | # Tag "K2_UBOOT_2013_01_14.05_16" | 9 | # Tag "K2_UBOOT_2013_01_14.05_16" |
10 | SRCREV = "fee500417b989fc9906d86e377b4d3d96033d54e" | 10 | SRCREV = "fee500417b989fc9906d86e377b4d3d96033d54e" |
@@ -15,12 +15,13 @@ SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRAN | |||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | 16 | ||
17 | UBOOT_SUFFIX = "bin" | 17 | UBOOT_SUFFIX = "bin" |
18 | UBOOT_MAKE_TARGET = "u-boot-spi.gph" | 18 | UBOOT_MAKE_TARGET = "u-boot-spi.gph u-boot-nand.gph" |
19 | 19 | ||
20 | # SPI NOR Flash binaries | 20 | # SPI NOR Flash binaries |
21 | UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" | 21 | UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" |
22 | UBOOT_SPI_BINARY = "u-boot.img" | 22 | UBOOT_SPI_BINARY = "u-boot.img" |
23 | UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" | 23 | UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" |
24 | UBOOT_NAND_GPH_BINARY = "u-boot-nand.gph" | ||
24 | 25 | ||
25 | # SPI NOR Flash deployed images | 26 | # SPI NOR Flash deployed images |
26 | UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" | 27 | UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" |
@@ -29,6 +30,8 @@ UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img" | |||
29 | UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" | 30 | UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" |
30 | UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" | 31 | UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" |
31 | UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" | 32 | UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" |
33 | UBOOT_NAND_GPH_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.gph" | ||
34 | UBOOT_NAND_GPH_SYMLINK = "u-boot-nand-${MACHINE}.gph" | ||
32 | 35 | ||
33 | do_install_append () { | 36 | do_install_append () { |
34 | install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} | 37 | install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} |
@@ -39,6 +42,9 @@ do_install_append () { | |||
39 | 42 | ||
40 | install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} | 43 | install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} |
41 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY} | 44 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY} |
45 | |||
46 | install ${S}/${UBOOT_NAND_GPH_BINARY} ${D}/boot/${UBOOT_NAND_GPH_IMAGE} | ||
47 | ln -sf ${UBOOT_NAND_GPH_IMAGE} ${D}/boot/${UBOOT_NAND_GPH_BINARY} | ||
42 | } | 48 | } |
43 | 49 | ||
44 | do_deploy_append () { | 50 | do_deploy_append () { |
@@ -56,4 +62,9 @@ do_deploy_append () { | |||
56 | rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} | 62 | rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} |
57 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} | 63 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} |
58 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} | 64 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} |
65 | |||
66 | install ${S}/${UBOOT_NAND_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_NAND_GPH_IMAGE} | ||
67 | rm -f ${UBOOT_NAND_GPH_BINARY} ${UBOOT_NAND_GPH_SYMLINK} | ||
68 | ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_SYMLINK} | ||
69 | ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_BINARY} | ||
59 | } | 70 | } |