From 4b16683eff6d9f190e38df1e3d85b9e113687623 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 10 Nov 2021 11:32:06 +0100 Subject: apalis-tk1: use mainline u-boot Mainline (sources.denx.de) has all the functionality needed for Apalis TK1. Build directly from the mainline repo. Add a bbappend which makes the cboot image format. Related-to: ELB-4090 Signed-off-by: Max Krummenacher --- recipes-bsp/u-boot/u-boot_%.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot_%.bbappend (limited to 'recipes-bsp/u-boot/u-boot_%.bbappend') diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend new file mode 100644 index 0000000..fcd3a4d --- /dev/null +++ b/recipes-bsp/u-boot/u-boot_%.bbappend @@ -0,0 +1,15 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}//files:" +DEPENDS:append:apalis-tk1 = " cbootimage-native" + +SRC_URI:append:apalis-tk1 = " \ + file://apalis-tk1.img.cfg \ + file://fw_env.config \ + file://PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct \ +" + +do_deploy:append:apalis-tk1() { + cd ${DEPLOYDIR} + cp ${WORKDIR}/PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct . + cbootimage -s tegra124 ${WORKDIR}/apalis-tk1.img.cfg apalis-tk1.img + rm PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct +} -- cgit v1.2.3