u-boot-keystone: update to the latest version
PATCH 1/2 u-boot-keystone: update to the latest version
From: Denys Dmytriyenko <[email protected]>
Modified version of the original patch from Sam Nelson
* Update source URL/REV
* Added SPI NOR binaries and deployed images
Signed-off-by Denys Dmytriyenko <[email protected]>
--- recipes-bsp/u-boot/u-boot-keystone_2013.01.bb | 53 ++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 5 deletions(-)
recipes-bsp/u-boot/u-boot-keystone_2013.01.bb +48 -5
@@ -4,13 +4,56 @@ DESCRIPTION = "u-boot bootloader for Multi-Core BU devices" COMPATIBLE_MACHINE = "keystone" -PR = "r2+gitr${SRCPV}" - -SRC_URI = "git://arago-project.org/git/projects/u-boot-keystone.git;protocol=git;branch=${BRANCH}" +PR = "r3+gitr${SRCPV}" +# Tag "K2_UBOOT_2013_01_14.03_02" +SRCREV = "0b9b4be2f3097b5bdc3b0ea7aa5e8f465097e365" BRANCH = "master" -# DEV.MCSDK-03.00.00.07 -SRCREV = "82f40e857d853165310d0753e79235aefb65d7ba" +SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRANCH}" + +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_install_append () { + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} + ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} + + install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE} + ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY} + + install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} + ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY} +} + +do_deploy_append () { + install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE} + 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} + + install ${S}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE} + rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK} + ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY} + + install ${S}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE} + 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.9.2
PATCH 2/2 linux-keystone: update to the latest tag 03.10.10_14.03_03
From: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
--- recipes-kernel/linux/linux-keystone-rt_3.10.bb | 7 +++---- recipes-kernel/linux/linux-keystone_3.10.bb | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-)
recipes-kernel/linux/linux-keystone-rt_3.10.bb +3 -4
@@ -10,15 +10,15 @@ inherit kernel require recipes-kernel/linux/linux-dtb.inc require recipes-kernel/linux/setup-defconfig.inc -MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}" +MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}" PR = "${MACHINE_KERNEL_PR}" KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" -#This commit corresponds to "K2_RT_LINUX_03.10.10_14.02" -SRCREV = "c78aa253ac385faae8b6c845a388e215395a8010" +# This commit corresponds to "K2_RT_LINUX_03.10.10_14.03_03" +SRCREV = "6b482abe6a18d004230ca54da866f4627f02125b" PV = "3.10.10" BRANCH = "master-rt"
@@ -29,4 +29,3 @@ SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANC S = "${WORKDIR}/git" RDEPENDS_kernel-base = "" -
recipes-kernel/linux/linux-keystone_3.10.bb +3 -4
@@ -10,15 +10,15 @@ inherit kernel require recipes-kernel/linux/linux-dtb.inc require recipes-kernel/linux/setup-defconfig.inc -MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}" +MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}" PR = "${MACHINE_KERNEL_PR}" KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" -#This commit corresponds to "K2_LINUX_03.10.10_14.02" -SRCREV = "93515476b357304e6fc075c004a1cfa91a0751d0" +# This commit corresponds to "K2_LINUX_03.10.10_14.03_03" +SRCREV = "07176920ed86dfdae97d272f574c3e2760d687ef" PV = "3.10.10" BRANCH = "master"
@@ -29,4 +29,3 @@ SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANC S = "${WORKDIR}/git" RDEPENDS_kernel-base = "" -
Signature · 1 line
1.9.2