summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2015-10-20 04:18:51 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-10-19 19:21:57 -0400
commit78a9eb7bec7e72eda822dbcace262f9c44c8e412 (patch)
treeefefe57305f24910fb68b337a8ebb9cb8e30d0ef
parent8e85e26c4f9e9845d741fe361a2bcb6fb1a60de5 (diff)
downloadmeta-ti-78a9eb7bec7e72eda822dbcace262f9c44c8e412.tar.gz
u-boot-ti-staging: update to the lates, change Keystone build steps
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb17
1 files changed, 2 insertions, 15 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb
index 93745ba4..380f5676 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb
@@ -7,29 +7,26 @@ DESCRIPTION = "u-boot bootloader for TI devices"
7 7
8LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95" 8LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
9 9
10PR = "r10" 10PR = "r11"
11PV_append = "+git${SRCPV}" 11PV_append = "+git${SRCPV}"
12 12
13SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}" 13SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
14 14
15BRANCH ?= "ti-u-boot-2015.07" 15BRANCH ?= "ti-u-boot-2015.07"
16 16
17SRCREV = "d49aa5effa20d0b943c74ced84e67defce6d6d1c" 17SRCREV = "75d995e87f47902b40065982ccbaae7a466d0913"
18 18
19SPL_BINARY = "MLO" 19SPL_BINARY = "MLO"
20SPL_UART_BINARY = "u-boot-spl.bin" 20SPL_UART_BINARY = "u-boot-spl.bin"
21 21
22# Keystone specifics 22# Keystone specifics
23UBOOT_SUFFIX_keystone = "bin" 23UBOOT_SUFFIX_keystone = "bin"
24UBOOT_MAKE_TARGET_keystone = "u-boot-spi.gph u-boot-nand.gph"
25SPL_BINARY_keystone = ""
26SPL_UART_BINARY_keystone = "" 24SPL_UART_BINARY_keystone = ""
27 25
28# SPI NOR Flash binaries 26# SPI NOR Flash binaries
29UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" 27UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
30UBOOT_SPI_BINARY = "u-boot.img" 28UBOOT_SPI_BINARY = "u-boot.img"
31UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" 29UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
32UBOOT_NAND_GPH_BINARY = "u-boot-nand.gph"
33 30
34# SPI NOR Flash deployed images 31# SPI NOR Flash deployed images
35UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" 32UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
@@ -38,8 +35,6 @@ UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
38UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" 35UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
39UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" 36UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
40UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" 37UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
41UBOOT_NAND_GPH_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.gph"
42UBOOT_NAND_GPH_SYMLINK = "u-boot-nand-${MACHINE}.gph"
43 38
44do_install_append_keystone () { 39do_install_append_keystone () {
45 install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} 40 install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
@@ -50,9 +45,6 @@ do_install_append_keystone () {
50 45
51 install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} 46 install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
52 ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY} 47 ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
53
54 install ${S}/${UBOOT_NAND_GPH_BINARY} ${D}/boot/${UBOOT_NAND_GPH_IMAGE}
55 ln -sf ${UBOOT_NAND_GPH_IMAGE} ${D}/boot/${UBOOT_NAND_GPH_BINARY}
56} 48}
57 49
58do_deploy_append_keystone () { 50do_deploy_append_keystone () {
@@ -70,9 +62,4 @@ do_deploy_append_keystone () {
70 rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} 62 rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
71 ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} 63 ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
72 ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} 64 ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
73
74 install ${S}/${UBOOT_NAND_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_NAND_GPH_IMAGE}
75 rm -f ${UBOOT_NAND_GPH_BINARY} ${UBOOT_NAND_GPH_SYMLINK}
76 ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_SYMLINK}
77 ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_BINARY}
78} 65}