diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-09-30 18:21:58 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2022-10-02 10:44:33 +0200 |
commit | ae5b35986593310c419bc33eebd9ae7a06de3ffa (patch) | |
tree | 474af675743c00319e8ac115b7dc3e0181ba53f9 /configs/platform-v7a | |
parent | bf4557cfd4a9c298e0b85bdfa845b5fdd667b4aa (diff) | |
download | DistroKit-ae5b35986593310c419bc33eebd9ae7a06de3ffa.tar.gz DistroKit-ae5b35986593310c419bc33eebd9ae7a06de3ffa.tar.xz |
v7a: rpi4: place DT into /boot for VideoCore consumption
This is a somewhat ugly hack. The VideoCore will pass this device tree
to barebox, which doesn't care much for it. As a side effect of the
device tree passing, the VideoCore parses the device tree and will
detect that the mini-uart is enabled and take care not to scale clock
rate on the VideoCore, which the mini-uart is sourced from as that would
upset the baudrate.
There may be some config.txt entry we can use to avoid this, but for
now, just place the device tree into the boot partition.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220930162159.814389-10-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a')
-rw-r--r-- | configs/platform-v7a/config/images/rpi2.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/platform-v7a/config/images/rpi2.config b/configs/platform-v7a/config/images/rpi2.config index 08bb33b..3dc404d 100644 --- a/configs/platform-v7a/config/images/rpi2.config +++ b/configs/platform-v7a/config/images/rpi2.config @@ -2,6 +2,7 @@ image rpi2-boot.vfat { vfat { files = { @FIRMWARE_RPI2@ } file barebox.img { image = barebox-raspberry-pi.img } + file bcm2711-rpi-4-b.dtb { image = barebox-bcm2711-rpi-4.dtb } } size = 32M } |