diff options
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | 53 |
1 files changed, 48 insertions, 5 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 788d813e..6717e629 100644 --- a/recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +++ b/recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | |||
@@ -4,13 +4,56 @@ DESCRIPTION = "u-boot bootloader for Multi-Core BU devices" | |||
4 | 4 | ||
5 | COMPATIBLE_MACHINE = "keystone" | 5 | COMPATIBLE_MACHINE = "keystone" |
6 | 6 | ||
7 | PR = "r2+gitr${SRCPV}" | 7 | PR = "r3+gitr${SRCPV}" |
8 | |||
9 | SRC_URI = "git://arago-project.org/git/projects/u-boot-keystone.git;protocol=git;branch=${BRANCH}" | ||
10 | 8 | ||
9 | # Tag "K2_UBOOT_2013_01_14.03_02" | ||
10 | SRCREV = "0b9b4be2f3097b5bdc3b0ea7aa5e8f465097e365" | ||
11 | BRANCH = "master" | 11 | BRANCH = "master" |
12 | 12 | ||
13 | # DEV.MCSDK-03.00.00.07 | 13 | SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRANCH}" |
14 | SRCREV = "82f40e857d853165310d0753e79235aefb65d7ba" | 14 | |
15 | S = "${WORKDIR}/git" | ||
15 | 16 | ||
16 | UBOOT_SUFFIX = "bin" | 17 | UBOOT_SUFFIX = "bin" |
18 | UBOOT_MAKE_TARGET = "u-boot-spi.gph" | ||
19 | |||
20 | # SPI NOR Flash binaries | ||
21 | UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" | ||
22 | UBOOT_SPI_BINARY = "u-boot.img" | ||
23 | UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" | ||
24 | |||
25 | # SPI NOR Flash deployed images | ||
26 | UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" | ||
27 | UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin" | ||
28 | UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img" | ||
29 | UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" | ||
30 | UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" | ||
31 | UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" | ||
32 | |||
33 | do_install_append () { | ||
34 | install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} | ||
35 | ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} | ||
36 | |||
37 | install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE} | ||
38 | ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY} | ||
39 | |||
40 | 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} | ||
42 | } | ||
43 | |||
44 | do_deploy_append () { | ||
45 | install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE} | ||
46 | rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK} | ||
47 | ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK} | ||
48 | ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY} | ||
49 | |||
50 | install ${S}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE} | ||
51 | rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} | ||
52 | ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK} | ||
53 | ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY} | ||
54 | |||
55 | install ${S}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE} | ||
56 | rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} | ||
57 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} | ||
58 | ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} | ||
59 | } | ||