u-boot-keystone: Update keystone u-boot to latest version
PATCH 1/1 u-boot-keystone: Update keystone u-boot to latest version
- Update license and checksum
- Update source URL
- Added SPI Nor binaries and deployed images
- Update script to configure, compile, install, deploy
--- recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | 75 +++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 4 deletions(-)
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +71 -4
@@ -1,16 +1,83 @@ require u-boot-ti.inc DESCRIPTION = "u-boot bootloader for Multi-Core BU devices" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" COMPATIBLE_MACHINE = "keystone" -PR = "r2+gitr${SRCPV}" +PACKAGE_ARCH = "${MACHINE_ARCH}" -SRC_URI = "git://arago-project.org/git/projects/u-boot-keystone.git;protocol=git;branch=${BRANCH}" +PR = "r3+gitr${SRCPV}" + +# for nightly switch the two below +SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRANCH}" BRANCH = "master" -# DEV.MCSDK-03.00.00.07 -SRCREV = "82f40e857d853165310d0753e79235aefb65d7ba" +#Tag "K2_UBOOT_2013-01_13.12" +SRCREV = "e4b19a8d418e35bf2bd63eba485afd5d9e436188" + +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' + +S = "${WORKDIR}/git" UBOOT_SUFFIX = "bin" + +UBOOT_MAKE_TARGET = "u-boot-spi.gph" +# SPI NOR Flash binaries +UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" +UBOOT_SPI_BINARY = "u-boot.img" +UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" +# SPI NOR Flash deployed images +UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" +UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin" +UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img" +UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" +UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" +UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" + +do_configure () { + oe_runmake ${UBOOT_MACHINE} +} + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + oe_runmake ${UBOOT_MAKE_TARGET} +} + +do_install () { + install -d ${D}/boot + install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} + install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE} + install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} + ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY} +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_SPL_IMAGE} + install ${S}/${UBOOT_SPI_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_IMAGE} + install ${S}/${UBOOT_SPI_GPH_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_GPH_IMAGE} + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY} + rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY} + rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY} + rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} +}
Signature · 1 line
1.7.9.5
Quoted 92 lines · Sam Nelson
- Update license and checksum
- Update source URL
- Added SPI Nor binaries and deployed images
- Update script to configure, compile, install, deploySigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | 75 +++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 4 deletions(-)recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +61
-4@@ -1,16 +1,83 @@ require u-boot-ti.inc DESCRIPTION = "u-boot bootloader for Multi-Core BU devices" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" COMPATIBLE_MACHINE = "keystone" -PR = "r2+gitr${SRCPV}" +PACKAGE_ARCH = "${MACHINE_ARCH}" -SRC_URI = "git://arago-project.org/git/projects/u-boot-keystone.git;protocol=git;branch=${BRANCH}" +PR = "r3+gitr${SRCPV}" + +# for nightly switch the two below +SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRANCH}" BRANCH = "master" -# DEV.MCSDK-03.00.00.07 -SRCREV = "82f40e857d853165310d0753e79235aefb65d7ba" +#Tag "K2_UBOOT_2013-01_13.12" +SRCREV = "e4b19a8d418e35bf2bd63eba485afd5d9e436188" + +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' + +S = "${WORKDIR}/git" UBOOT_SUFFIX = "bin" + +UBOOT_MAKE_TARGET = "u-boot-spi.gph" +# SPI NOR Flash binaries +UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" +UBOOT_SPI_BINARY = "u-boot.img" +UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" +# SPI NOR Flash deployed images +UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" +UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin" +UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img" +UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" +UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" +UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" + +do_configure () { + oe_runmake ${UBOOT_MACHINE} +} + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + oe_runmake ${UBOOT_MAKE_TARGET} +} + +do_install () { + install -d ${D}/boot + install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} + install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE} + install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} + ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY} +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_SPL_IMAGE} + install ${S}/${UBOOT_SPI_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_IMAGE} + install ${S}/${UBOOT_SPI_GPH_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_GPH_IMAGE} + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 83
Quoted 10 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +10
-0+ rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY} + rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY} + rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} +}
Most of the above logic is already provided by the standard u-boot.inc - it shouldn't be hard to extend it to support your special formats instead of re-implementing everything from scratch...
Signature · 1 line
Denys
Ping on the below - it's still pending resolution. Please let me know if you need further clarification or any help.
Quoted 115 lines · Denys Dmytriyenko
Quoted 92 lines · Sam Nelson
- Update license and checksum
- Update source URL
- Added SPI Nor binaries and deployed images
- Update script to configure, compile, install, deploySigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | 75 +++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 4 deletions(-)recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +61
-4@@ -1,16 +1,83 @@ require u-boot-ti.inc DESCRIPTION = "u-boot bootloader for Multi-Core BU devices" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" COMPATIBLE_MACHINE = "keystone" -PR = "r2+gitr${SRCPV}" +PACKAGE_ARCH = "${MACHINE_ARCH}" -SRC_URI = "git://arago-project.org/git/projects/u-boot-keystone.git;protocol=git;branch=${BRANCH}" +PR = "r3+gitr${SRCPV}" + +# for nightly switch the two below +SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRANCH}" BRANCH = "master" -# DEV.MCSDK-03.00.00.07 -SRCREV = "82f40e857d853165310d0753e79235aefb65d7ba" +#Tag "K2_UBOOT_2013-01_13.12" +SRCREV = "e4b19a8d418e35bf2bd63eba485afd5d9e436188" + +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' + +S = "${WORKDIR}/git" UBOOT_SUFFIX = "bin" + +UBOOT_MAKE_TARGET = "u-boot-spi.gph" +# SPI NOR Flash binaries +UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" +UBOOT_SPI_BINARY = "u-boot.img" +UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" +# SPI NOR Flash deployed images +UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" +UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin" +UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img" +UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" +UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" +UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" + +do_configure () { + oe_runmake ${UBOOT_MACHINE} +} + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + oe_runmake ${UBOOT_MAKE_TARGET} +} + +do_install () { + install -d ${D}/boot + install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} + install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE} + install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} + ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY} +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_SPL_IMAGE} + install ${S}/${UBOOT_SPI_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_IMAGE} + install ${S}/${UBOOT_SPI_GPH_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_GPH_IMAGE} + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 83
Quoted 10 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +10
-0+ rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY} + rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY} + rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} +}Most of the above logic is already provided by the standard u-boot.inc - it shouldn't be hard to extend it to support your special formats instead of re-implementing everything from scratch...
Signature · 5 lines
Denys _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
I can eliminate do_compile & do_configure functions and also see some of the statements repeated in do_install function can be removed. But in do-deploy the directory to which the images are copied are different from
u-boot.inc.
( U-boot.inc copies to DEPLOY_DIR whereas u-boot-keystone recipe copies to DEPLOY_DIR_IMAGE directory).
So not much can be modified here. I will send updated patch.
With regards,
Sam
Quoted 141 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 07, 2014 2:14 PM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH] u-boot-keystone: Update keystone u-boot to latest versionPing on the below - it's still pending resolution. Please let me know if you need further clarification or any help.
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Sam Nelson
- Update license and checksum
- Update source URL
- Added SPI Nor binaries and deployed images
- Update script to configure, compile, install, deploySigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | 75+++++++++++++++++++++++--
Quoted 3 lines
recipes-
Quoted 3 lines
1 file changed, 71 insertions(+), 4 deletions(-)recipes- renamed from recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +0
-0bsp/u-boot/u-boot-keystone_2013.01.bb
Quoted 9 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 5
Quoted 9 lines
index 788d813..d225cea 100644
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +2
-0@@ -1,16 +1,83 @@ require u-boot-ti.inc DESCRIPTION = "u-boot bootloader for Multi-Core BU devices" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM ="file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
Quoted 7 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb
Quoted 7 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +1
-2COMPATIBLE_MACHINE = "keystone" -PR = "r2+gitr${SRCPV}" +PACKAGE_ARCH = "${MACHINE_ARCH}" -SRC_URI = "git://arago-project.org/git/projects/u-boot-keystone.git;protocol=git;branch=${BRANCH}"
Quoted 4 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb
Quoted 4 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +4
-0+PR = "r3+gitr${SRCPV}" + +# for nightly switch the two below +SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRANCH}"
Quoted 9 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb
Quoted 9 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +4
-2BRANCH = "master" -# DEV.MCSDK-03.00.00.07 -SRCREV = "82f40e857d853165310d0753e79235aefb65d7ba" +#Tag "K2_UBOOT_2013-01_13.12" +SRCREV = "e4b19a8d418e35bf2bd63eba485afd5d9e436188" + +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX}CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
Quoted 25 lines
Quoted 25 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +23
-0+ +S = "${WORKDIR}/git" UBOOT_SUFFIX = "bin" + +UBOOT_MAKE_TARGET = "u-boot-spi.gph" +# SPI NOR Flash binaries +UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" +UBOOT_SPI_BINARY = "u-boot.img" +UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" +# SPI NOR Flash deployed images +UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin" +UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin" +UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img" +UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" +UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" +UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" + +do_configure () { + oe_runmake ${UBOOT_MACHINE} +} + +do_compile () { + unset LDFLAGS + unset CFLAGSQuoted 8 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb
Quoted 8 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +8
-0+ unset CPPFLAGS + oe_runmake ${UBOOT_MAKE_TARGET} +} + +do_install () { + install -d ${D}/boot + install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + install ${S}/spl/${UBOOT_SPI_SPL_BINARY}${D}/boot/${UBOOT_SPI_SPL_IMAGE}
Quoted 2 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 54
Quoted 2 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +2
-0+ install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE} + install ${S}/${UBOOT_SPI_GPH_BINARY}${D}/boot/${UBOOT_SPI_GPH_IMAGE}
Quoted 2 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 56
Quoted 2 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +2
-0+ ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} + ln -sf ${UBOOT_SPI_SPL_IMAGE}${D}/boot/${UBOOT_SPI_SPL_BINARY}
Quoted 2 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 58
Quoted 2 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +2
-0+ ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY} + ln -sf ${UBOOT_SPI_GPH_IMAGE}${D}/boot/${UBOOT_SPI_GPH_BINARY}
Quoted 5 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb
Quoted 5 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +5
-0+} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/${UBOOT_BINARY}${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
Quoted 1 line
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 64
Quoted 1 line
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +1
-0+ install ${S}/spl/${UBOOT_SPI_SPL_BINARY}${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_SPL_IMAGE}
Quoted 1 line
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 65
Quoted 1 line
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +1
-0+ install ${S}/${UBOOT_SPI_BINARY}${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_IMAGE}
Quoted 1 line
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 66
Quoted 1 line
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +1
-0+ install ${S}/${UBOOT_SPI_GPH_BINARY}${DEPLOY_DIR_IMAGE}/${UBOOT_SPI_GPH_IMAGE}
Quoted 27 lines
Quoted 5 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +5
-0+ + cd ${DEPLOY_DIR_IMAGE} + rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}recipes-bsp/u-boot/u-boot-keystone_2013.01.bb line 83
Quoted 10 lines
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +10
-0+ rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY} + rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY} + rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY} +}Most of the above logic is already provided by the standard u-boot.inc - it shouldn't be hard to extend it to support your special formats instead of re-implementing everything from scratch...
--
Denys
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti