New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
U-Boot (2020.10) fails to boot without enable_uart=1 after switch to 5.4 (rpi3-b-plus) #1483
Comments
Also reported at https://lists.denx.de/pipermail/u-boot/2020-October/429533.html. |
We pushed a new firmware to the firmware repo yesterday that includes two potentially relevant patches - one fixes a problem when using an explicit armstub file, the other corrects the way clock speeds are reported to the ARM using the mailbox interface. You can grep the new version using |
s/grep/grab/ - you can guess which tool I've been using recently. |
Tried 2d83e2c and while I get a different behavior, it doesn't yet work right. With vc4-fkms-v3d or vc4-kms-v3d I don't get a rainbow screen, but it stays all black (probably u-boot hanging). Without those overlays it stays at the rainbow screen. U-boot file I'm using http://rsalveti.net/tmp/u-boot.bin (standard 2020.10 with CONFIG_OF_BOARD=y instead of CONFIG_OF_EMBED=y). |
Workaround required for raspberrypi/firmware#1483, otherwise u-boot fails to boot. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Workaround required for raspberrypi/firmware#1483, otherwise u-boot fails to boot. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Workaround required for raspberrypi/firmware#1483, otherwise u-boot fails to boot. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Workaround required for raspberrypi/firmware#1483, otherwise u-boot fails to boot. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Workaround required for raspberrypi/firmware#1483, otherwise u-boot fails to boot. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Workaround required for raspberrypi/firmware#1483, otherwise u-boot fails to boot. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
We experience the same behaviour with U-Boot 2020.10 in Home Assistant Operating System on Raspberry Pi 4 (probably on 3 as well, but I did not test that yet). What I noticed is when adding |
|
Upstream U-Boot has a driver which binds to it: https://gitlab.denx.de/u-boot/u-boot/-/blob/v2020.10/drivers/serial/serial_bcm283x_pl011.c ... |
What is |
|
Note that this is currently only a disable - |
That would only work with old downstream DTBs - that compatible string has never appeared upstream AFAIK. |
FYI see patch ba61479e1ee9462 ("ARM: dts: bcm283x: Remove brcm,bcm2835-pl011 compatible") in Linux. |
@pelwell ok thanks for the information. Is absence of |
@vianpl yes, I am aware of the patch and the fact that upstream Linux never made use of it. Still, upstream U-Boot has a driver which uses the compatible string to bind to a device with the |
The absence of |
I'm using U-Boot 2020.10 and I noticed I'm unable to get it to boot unless I set enable_uart=1 when using the device tree files from the 5.4 firmware release (it stays in the rainbow screen).
I'm using CONFIG_OF_BOARD=y so I can rely on the device-tree provided by the firmware. My target device is a rpi3-b-plus.
I get the impression that u-boot might be having issues when parsing or handling the device-tree blob from the firmware, but hard to debug without really having any logs.
If I copy back the latest dtb from the 4.19 release it is able to boot just fine.
The text was updated successfully, but these errors were encountered: