-
Notifications
You must be signed in to change notification settings - Fork 12
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
NanoPi R2S: traffic LEDs on eth1 (LAN) not working #274
Comments
Is this on the LAN and/or WAN port? Had a quick look at the schematic: the LEDs on both ports are controlled by the respective PHY. The WAN port's PHY driver does not have any support for controlling the chip's LEDs, so it ought to run with the default settings. The USB-to-Ethernet controller on the LAN port, messes about with some LED registers, by the looks of it, but that code hasn't changed since 5.13 🤷♂️ Are you running the original bootloader or the one you built? Sometimes vendors will configure things like LEDs in U-Boot and then trust Linux not to mess with them. Maybe you're missing some vendor patch to U-Boot? |
You guessed it, the LAN port LEDs. I've used the same U-Boot as is in the Buildroot default recipe. Dunno of any vendor specific U-Boot, the device can only boot from SD-card (no NOR flash or eMMC available onboard). Only major difference I can think of: I did the initial bringup and testing on myLinux, which uses a much newer Buildroot base than Infix currently does. So we can table this one until we've bumped Buildroot (and the kernel?). Like @minexn says in #271, the port still works, so just an annoyance atm. |
Found it, the driver was not setting up the LED register. Fixed in kkit-linux-6.10-y @ daba70e7. Patch ported to upcoming |
Only the most important bridge and usb fixes have been ported in this commit, and a new patch for the r8153 link/traffic LEDs, ported from the FriendlyELEC/Rockchip kernel tree. Fixes #274 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Only the most important bridge and usb fixes have been ported in this commit, and a new patch for the r8153 link/traffic LEDs, ported from the FriendlyELEC/Rockchip kernel tree. Fixes #274 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
While porting to Infix I'm sure I had the LEDs on both ports working fine at some point. Went from Linux 5.16, and while trying out various WiFi USB plugs, I went as high as 6.7.1 before landing on 6.5.11, which Infix is currently is on. So current
linux_defconfig
works on that newer kernels, but we have some patches that don't apply, so no way of testing before relocating them to a subdirectory.From discussion in #271 (comment)
The text was updated successfully, but these errors were encountered: