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
Firmware 0f315f8 regressed (garbled) serial output in u-boot #833
Comments
Are you sure about that last known good firmware hash? I see three commits between your LKG and the breaking commit you list: 73f44c6 - LKG Looking at the corresponding source commit history for the firmware I don't see anything that would obviously have caused a UART issue, so narrowing this down further would help. Can you also include an indication of which platform you are using, and any relevant (uncommented) |
While there were a number of commits between the good and the bad they were all kernel updates/changes. 89ec375 - Pure kernel - vc4 fix So yes, if you check there was no firmware updates between the two commits I mentioned above. |
|
Fedora 26. The only config.txt options we use are: These options haven't changed (for probably a year), the only thing that changed between the two was the firmware, I tested it backwards and forwards through all firmware commits from May 15th to the latest (4b29d95 - June 26th) |
And which model of Pi? |
Pi 2 and Pi 3 |
the ARMv7 version of the Pi 2 for reference (2836) |
The firmware chooses which UART to configure based on the combined (.dtb + overlays) Device Tree. Which .dtb are you using on the Pi 3? I'm asking because using the standard RPi configurations Pi 2 configures UART0 while Pi 3 configures UART1, making a regression on both less likely. |
This has worked just fine in u-boot for well over a year, if breaks with that firmware. This has regressed in the firmware, there is nothing else that has changed. |
Yes, of course. I was gathering more information to help pin it down. Anyway, I've found the cause and it will be fixed in the next firmware release. Until then |
rpi-update firmware should now have the fix |
I can confirm init_uart_baud=115200 fixes the issue for me on a bcm2836 RPi2 on the "2017-06-13 14:50" firmware. I'll test the lastest firmware now. |
Confirmed the new firmware fixes the issue for me (removing the work around from config.txt) on the bcm2836 RPi2 I've been testing on,will test the RPi3 shortly too but this look good. Thanks! |
@popcornmix Could you please explain your change? |
The firmware does set up the uart divisors to match "init_uart_baud" and that got unintentionally changed on the firmware side. |
Thanks |
The 0f315f8 firmware (build date: 2017-05-30 15:24) regressed serial output when using u-boot. You just get a series of "�����������������������������" until the kernel starts to boot. This continues right through to the latest firmware 4b29d95. The last good firmware for u-boot output was 73f44c6
The text was updated successfully, but these errors were encountered: