Accepting request 784240 from home:nsaenzjulienne:branches:hardware:boot

- Add uboot-bcm2835-pl011-overlay.dts which fixes booting in RPi, RPi2, RPi0 (bsc#1166414)

OBS-URL: https://build.opensuse.org/request/show/784240
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/raspberrypi-firmware-dt?expand=0&rev=46
This commit is contained in:
Guillaume GARDET 2020-03-12 11:46:39 +00:00 committed by Git OBS Bridge
parent 04982e207b
commit 989ba681d2
3 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 11 17:17:54 UTC 2020 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
- Add uboot-bcm2835-pl011-overlay.dts which fixes booting in RPi, RPi2, RPi0 (bsc#1166414)
-------------------------------------------------------------------
Wed Mar 4 18:13:12 UTC 2020 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>

View File

@ -28,6 +28,7 @@ Source1: disable-vc4-overlay.dts
Source2: rpi4-cma-overlay.dts
Source3: rpi4-thermal.dts
Source4: rpi4-gpio-names-overlay.dts
Source5: uboot-bcm2835-pl011-overlay.dts
Source100: get-from-git.sh
Patch0: remove-vmmc-emmc2.patch
Patch1: pcie-dma-ranges.patch
@ -61,7 +62,7 @@ for dts in arch/arm/boot/dts/bcm27*dts arch/arm64/boot/dts/broadcom/bcm27*dts; d
done
export DTC_FLAGS="-R 0 -p 0 -@ -H epapr"
for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}; do
for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5}; do
target=$(basename ${dts%*.dts})
target=${target%*-overlay}
mkdir -p $PPDIR/overlays

View File

@ -0,0 +1,20 @@
/*
* As opposed to the upstream/downstream kernel, u-boot needs a special
* compatible string to access RPi, RPi2 and RPi0's serial consoles. This was
* removed from both upstream and downstream Linux's device-trees as there is
* no existing binding or use for it. While we fix this in upstream u-boot,
* this overlay fixes booting on those platforms.
*/
/dts-v1/;
/plugin/;
/{
compatible = "brcm,bcm2835";
fragment@0 {
target = <&uart0>;
__overlay__ {
compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
};
};
};