summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r--recipes-bsp/u-boot/u-boot-keystone_2013.01.bb15
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
5COMPATIBLE_MACHINE = "keystone" 5COMPATIBLE_MACHINE = "keystone"
6 6
7PR = "r4+gitr${SRCPV}" 7PR = "r5+gitr${SRCPV}"
8 8
9# Tag "K2_UBOOT_2013_01_14.05_16" 9# Tag "K2_UBOOT_2013_01_14.05_16"
10SRCREV = "fee500417b989fc9906d86e377b4d3d96033d54e" 10SRCREV = "fee500417b989fc9906d86e377b4d3d96033d54e"
@@ -15,12 +15,13 @@ SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRAN
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16
17UBOOT_SUFFIX = "bin" 17UBOOT_SUFFIX = "bin"
18UBOOT_MAKE_TARGET = "u-boot-spi.gph" 18UBOOT_MAKE_TARGET = "u-boot-spi.gph u-boot-nand.gph"
19 19
20# SPI NOR Flash binaries 20# SPI NOR Flash binaries
21UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" 21UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
22UBOOT_SPI_BINARY = "u-boot.img" 22UBOOT_SPI_BINARY = "u-boot.img"
23UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" 23UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
24UBOOT_NAND_GPH_BINARY = "u-boot-nand.gph"
24 25
25# SPI NOR Flash deployed images 26# SPI NOR Flash deployed images
26UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" 27UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
@@ -29,6 +30,8 @@ UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
29UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" 30UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
30UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" 31UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
31UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" 32UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
33UBOOT_NAND_GPH_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.gph"
34UBOOT_NAND_GPH_SYMLINK = "u-boot-nand-${MACHINE}.gph"
32 35
33do_install_append () { 36do_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
44do_deploy_append () { 50do_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}