andreiw / RaspberryPiPkg

DEPRECATED - DO NOT USE | Go here instead ->
https://github.com/tianocore/edk2-platforms/tree/master/Platform/RaspberryPi/RPi3
746 stars 143 forks source link

[error] Can not boot from 4.19 on Rpi3b+ #136

Closed aiminickwong closed 4 years ago

aiminickwong commented 4 years ago

When I upgrade Kernel from 4.14 to 4.19, I got the black screen with Rpi3b+, but with kernel at version 4.14 is OK.

andreiw commented 4 years ago

A serial log would help.

malignus commented 4 years ago

Hi, same problem here. Captured a serial log. boot.log

pbatard commented 4 years ago

@malignus,

Do you see the same issue with both the DEBUG an RELEASE firmware or just DEBUG? Also can you try the firmware binary from https://github.com/pbatard/RPi3/releases and report?

This is a slightly different firmware binary from Andrei's, that is generated from the now official sources for the Raspberry Pi 3 UEFI platform in edk2-platforms, and that also contains a handful of fixes that aren't in Andrei's tree, such as for instance some automated patching of the Device Tree at firmware boot time so that USB keyboards properly work with Debian [tianocore/edk2-platforms@5f003136c2bf86620c0caaef0ad146b5e7fd2f6b] as well as other stuff. Oh and this firmware also embeds the latest device tree for the Pi 3 that were updated by the Pi Foundation on the Pi 4 release, which can fix the ability to use the serial port in Linux.

I have no issue running kernel 4.19 using the firmware linked above, on a Debian 10.x environment that I installed by following this guide.

pbatard commented 4 years ago

Interesting... I have just tested the 2019.02.18 firmware release from this repo (latest) with my Debian 10 installation (that is running Debian kernel 4.19.0-6-arm64) and found that it froze on boot as reported above.

But the 2019.01.16 one seems to be okay...

malignus commented 4 years ago

Hi,

tested the firmware from here: https://github.com/pbatard/RPi3/releases and it worked.

andreiw commented 4 years ago

Closing because while it’s a real issue, it won’t be investigated in this repo, now that this UEFI has been upstreamed to official Tiano trees