diff --git a/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb b/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb index 6268c48..8cb370e 100644 --- a/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb +++ b/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb @@ -3,8 +3,10 @@ UBOOT_MACHINE = "am335x_nbhw16_defconfig" require u-boot-nm.inc +# Be aware github/netmodule git SRC_URI = "git://github.com/netmodule/u-boot.git;protocol=https;branch=nbhw16-2016.04" +# Should be updated when a new U-Boot Version is available SRCREV ?= "a6f157c6dbd048b452c7e2640215c55be658780c" PV = "v2016.04+git${SRCPV}" diff --git a/recipes-bsp/u-boot/u-boot-am335x-nrhw20-v1_git.bb b/recipes-bsp/u-boot/u-boot-am335x-nrhw20-v1_git.bb new file mode 100644 index 0000000..64ca76e --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-am335x-nrhw20-v1_git.bb @@ -0,0 +1,27 @@ +require u-boot-nm.inc + +# Force machine configuration for this recipe +UBOOT_MACHINE = "am335x_nrhw20_defconfig" + +# Be aware github/netmodule git +SRC_URI = "git://github.com/netmodule/u-boot.git;protocol=https;branch=nrhw20-2016.04" + +# Should be updated when a new U-Boot Version is available +SRCREV ?= "297c60c69942e7d377925181b29a1f8e9515284d" + +PV = "v2016.04+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} +} +