From 21fe9db20c7efff50b4d12f63c0107c53a531f00 Mon Sep 17 00:00:00 2001 From: Ramon Moesching Date: Wed, 14 Aug 2019 10:34:48 +0200 Subject: [PATCH] u-boot recipe: inital nmhw24 u-boot BugzID: 58178 57912 Signed-off-by: Ramon Moesching --- .../u-boot/u-boot-am335x-nmhw24_git.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-am335x-nmhw24_git.bb diff --git a/recipes-bsp/u-boot/u-boot-am335x-nmhw24_git.bb b/recipes-bsp/u-boot/u-boot-am335x-nmhw24_git.bb new file mode 100644 index 0000000..541f104 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-am335x-nmhw24_git.bb @@ -0,0 +1,24 @@ +require u-boot-nm.inc + +# Force machine configuration for this recipe +UBOOT_MACHINE = "am335x_nmhw24_defconfig" + +# Be aware github/netmodule git +SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2016.05-am335x-netmodule" + +# Should be updated when a new U-Boot Version is available +SRCREV ?= "${AUTOREV}" +PV = "v2016.05+git${SRCPV}" + +SPL_BINARY = "MLO" +UBOOT_SUFFIX = "img" + +do_deploy_append() { + 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} +} +