diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-06-09 07:59:08 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-17 08:28:55 +0200 |
commit | 40160e667be7db8e4fa91d89b7f9ed52a44a4618 (patch) | |
tree | 4de51a1be9113a3de64f50dc25fb98990b90a67c /images | |
parent | 9949ba5b6e49c56d7428d603d2101af1e993c0a7 (diff) | |
download | barebox-40160e667be7db8e4fa91d89b7f9ed52a44a4618.tar.gz barebox-40160e667be7db8e4fa91d89b7f9ed52a44a4618.tar.xz |
ARM: rpi: add generic Raspberry Pi image
Add a new image that can be booted on all supported boards. This work by
including DTs for all enabled boards in config and then consulting the
mailbox interface at runtime to deduce which DT to pass to barebox
proper. An alternative would have been to use the existing
barebox-dt-2nd.img with a VideoCore-supplied device tree, but that has
the drawback of requiring barebox to observe the same bindings as the
kernel that's booted later. This approach makes migration
straight-forward, because no difference in VideoCore configuration is
required.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220609055922.667016-8-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile.bcm283x | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/images/Makefile.bcm283x b/images/Makefile.bcm283x index 82787f972c..b591cd58f5 100644 --- a/images/Makefile.bcm283x +++ b/images/Makefile.bcm283x @@ -18,3 +18,7 @@ image-$(CONFIG_MACH_RPI3) += barebox-raspberry-pi-3.img pblb-$(CONFIG_MACH_RPI_CM3) += start_raspberry_pi_cm3 FILE_barebox-raspberry-pi-cm3.img = start_raspberry_pi_cm3.pblb image-$(CONFIG_MACH_RPI_CM3) += barebox-raspberry-pi-cm3.img + +pblb-$(CONFIG_MACH_RPI_COMMON) += start_raspberry_pi_generic +FILE_barebox-raspberry-pi.img = start_raspberry_pi_generic.pblb +image-$(CONFIG_MACH_RPI_COMMON) += barebox-raspberry-pi.img |