summaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-06-27 07:52:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-06-28 08:14:14 +0200
commit128bba5544a0ea3ffb4e91165043c56a2b3d2a99 (patch)
tree012122203c30920e8ac7ea1efbb894327acc585d /images/Makefile
parent1bfbe86d7978efa90d079ade93a6ca939f337599 (diff)
downloadbarebox-128bba5544a0ea3ffb4e91165043c56a2b3d2a99.tar.gz
barebox-128bba5544a0ea3ffb4e91165043c56a2b3d2a99.tar.xz
ARM64: Rockchip: gracefully handle missing firmware
Unlike the Rockchip BL31 images, the sdram-init.bin for Rockchip SoCs isn't included via the regular firmware mechanism, but instead is passed as an argument to the rkimg tool. Like done for regular firmware, have the Rockchip image build rules handle missing firmware gracefully and update the .missing-firmware file to list what firmware was missing. Example of a build with CONFIG_MACH_RADXA_ROCK3, but with both firmware files missing: $ find . -name *rock3a*.missing-firmware -exec grep -Hr . {} \; start_rock3a.pblb.missing-firmware:firmware/rk3568-bl31.bin start_rock3a.pblb.rkimg.missing-firmware:arch/arm/boards/radxa-rock3/sdram-init.bin barebox-rock3a.img.missing-firmware:arch/arm/boards/radxa-rock3/sdram-init.bin barebox-rock3a.img.missing-firmware:firmware/rk3568-bl31.bin Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230627055239.3908872-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/Makefile b/images/Makefile
index 9f8a9e9101..e26880de50 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -220,6 +220,6 @@ $(flash-list): $(image-y-path)
clean-files := *.pbl *.pblb *.map start_*.imximg *.img barebox.z start_*.kwbimg \
start_*.kwbuartimg *.socfpgaimg *.mlo *.t20img *.t20img.cfg *.t30img \
- *.t30img.cfg *.t124img *.t124img.cfg *.mlospi *.mlo *.mxsbs *.mxssd \
+ *.t30img.cfg *.t124img *.t124img.cfg *.mlospi *.mlo *.mxsbs *.mxssd *.rkimg \
start_*.simximg start_*.usimximg *.zynqimg *.image *.swapped *.missing-firmware
clean-files += pbl.lds