u-boot: am335x: update u-boot deployments
u-boot deployed files of am335x based platforms (nrhw16/20) should be renamed according former nmhw21 refactoring. Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This commit is contained in:
parent
4aa5842711
commit
064ed29756
|
|
@ -1,8 +1,8 @@
|
|||
require u-boot-nm.inc
|
||||
|
||||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "am335x_nbhw16_defconfig"
|
||||
|
||||
require u-boot-nm.inc
|
||||
|
||||
# Be aware github/netmodule git
|
||||
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2016.05-am335x-netmodule"
|
||||
|
||||
|
|
@ -14,13 +14,11 @@ SPL_BINARY = "MLO"
|
|||
UBOOT_SUFFIX = "img"
|
||||
|
||||
do_deploy_append() {
|
||||
rm -f ${DEPLOYDIR}/${PN}-spl.bin
|
||||
rm -f ${DEPLOYDIR}/${PN}.bin
|
||||
rm -f ${DEPLOYDIR}/${PN}.img
|
||||
rm -f ${DEPLOYDIR}/MLO-${PN}
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/${PN}-spl.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.img
|
||||
cp ${S}/MLO ${DEPLOYDIR}/MLO-${PN}
|
||||
rm -f ${DEPLOYDIR}/*${PN}.xmodem.bin
|
||||
rm -f ${DEPLOYDIR}/*${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ require u-boot-am335x-nrhw16-v1_git.bb
|
|||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "am335x_nbhw16_v2_defconfig"
|
||||
|
||||
SRCREV = "0b985705d558caceeb968b234af27cfc536ef019"
|
||||
SRCREV ?= "${AUTOREV}"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,20 +8,17 @@ SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;
|
|||
|
||||
# Should be updated when a new U-Boot Version is available
|
||||
SRCREV ?= "297c60c69942e7d377925181b29a1f8e9515284d"
|
||||
|
||||
PV = "v2016.04+git${SRCPV}"
|
||||
PV = "v2016.05+git${SRCPV}"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
do_deploy_append() {
|
||||
rm -f ${DEPLOYDIR}/${PN}-spl.bin
|
||||
rm -f ${DEPLOYDIR}/${PN}.bin
|
||||
rm -f ${DEPLOYDIR}/${PN}.img
|
||||
rm -f ${DEPLOYDIR}/MLO-${PN}
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/${PN}-spl.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.img
|
||||
cp ${S}/MLO ${DEPLOYDIR}/MLO-${PN}
|
||||
rm -f ${DEPLOYDIR}/*${PN}.xmodem.bin
|
||||
rm -f ${DEPLOYDIR}/*${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue