-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[raspberrypi-bootloader 20190904] Rpi3 broken ethernet interface #1250
Comments
|
I got that at first with 20190904 on my Pi3 running Arch, but when I started trying to narrow down which commit broke it, it started working and I haven't had any ethernet problems since then on 20190904 or the current 20190909. |
|
20190904 does modify the loading logic - the order of file loading and some addresses have changed. Can someone post the content of config.txt from a broken Arch system (or a working one if it is the same? |
|
Confirmed, boot broken (set MAC to zero values). |
|
nothing specific (ArchLinuxArm): |
|
What does "sudo vcdbg log msg" report? |
|
While booting, normal boot: There is no complete vc userspace on aarch64, only part of it, sorry... |
|
default /boot/config.txt The config does not change between working/broken versions on my system. Also, tried 20190909 (kernel aarch64 5.2.13-1-ARCH), problem still persists (for me) on that revision as well. Downgrading to 20190828 (most recent working package in my cache), or running a post-boot shell script to manually configure the eth0 interface resolves the issues. |
which one? I'll can do some kind of mac spoofing, it's not a problem. |
#!/bin/sh HW_ADDR=b8:27:eb:ce:cb:c6 ip link set eth0 down is the script I'm using (with sudo) to get the network up while testing these packages. |
|
If you have a serial port connected, try with dtoverlay=disable-bt and uart_2ndstage=1. |
got it, i'll did with systemd-networkd via link file. |
${usbethaddr} lost somewhere... |
You should have pi3-disable-bt instead.
You've missed the point, which is to learn more about the failure before trying to fix it. If you had a serial port connected then the commands I mentioned would output messages from the firmware to any connected terminal app. |
|
Only hdmi console right now... |
|
What I try:
I'll try to get console access to rpi, but there is zero information before u-boot started (as I expect). |
|
Adding
into /boot/boot.txt also work (this distro specific, not the root cause). |
https://gist.github.com/hayatofujii/a17bf0401e7d15565cb76bdcb98f7c06 $ uname -a Using raspberrypi-bootloader-20190909 on a Raspberry Pi 3B. |
|
Thanks - that confirms a suspicion I had. Can you see if this test firmware (just start.elf and fixup.dat) fixes the issue? https://drive.google.com/file/d/1c979p43rBjC8hZe8d0-WNp1iwzsk1-s8/view?usp=sharing |
See: raspberrypi/linux#3224 kernel: drm/vc4: Fix for margins in composite/SDTV mode See: raspberrypi/linux#3223 firmware: Fixups for composite output mode See: #1223 firmware: platform: Allow display_power to be queried from gencmd See: #1224 firmware: arm_loader: Fix no-DT and upstream handling See: #1250
See: raspberrypi/linux#3224 kernel: drm/vc4: Fix for margins in composite/SDTV mode See: raspberrypi/linux#3223 firmware: Fixups for composite output mode See: raspberrypi/firmware#1223 firmware: platform: Allow display_power to be queried from gencmd See: raspberrypi/firmware#1224 firmware: arm_loader: Fix no-DT and upstream handling See: raspberrypi/firmware#1250
|
A firmware containing this fix is now in this repo and available via |
Just for sake of completeness, yes, the test firmware works, Edit: Ok, DT wasn't being loaded. |
|
The clue was the line |
raspberrypi-bootloader 20190914 resolves these issues. Everything is now working as expected. |
Many thanks, can confirm. |
Describe the bug
raspberrypi-bootloader 20190904 (commit: e2e17cd)
Sets ethernet adapter MAC address to 00:00:00:00:00:00. eth0 interface cannot be brought up without manually setting a valid MAC.
To reproduce
Install/update raspberrypi-bootloader 20190904.
Expected behaviour
Working network devices.
Actual behaviour
Broken ethernet device.
System
Pi3B+ (aarch64 5.2.11-1-ARCH)
Logs
Output of
ip link:2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ffContext
https://archlinuxarm.org/forum/viewtopic.php?t=13953&p=62093
The text was updated successfully, but these errors were encountered: