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
FS#3049 - sunxi / lamobo-r1: switch not working with kernel 5.4 #7817
Comments
Hauke: I think the device tree is probably not compatible with kernel 5.4 any more. I tried to fix it here: But I would prefer to switch to the B53 DSA driver: Could you please test both patches and report back if it works again. |
qwertz123: I'll try to do so, starting with the DTS patch, since it seems like I only need to compile the dts and not the whole of openwrt. Supplying a custom DTB to imagebuilder seems doable to me. Your tree with the patches will be my next priority, but it has been quite a while since I've done any compiling of openwrt... |
qwertz123: Okay, I was unable to compile the new dts file from the imagebuilder, so I compiled your tree. This is a minimal image, I hope I've got the configuration correct - i used an checkout at d38b7c40... and the config from [[https://downloads.openwrt.org/snapshots/targets/sunxi/cortexa7/config.buildinfo|here]], modified to build only lamobo r1 (attached to this comment). The screenlog is also attached, the device was unable to get and IP via WAN Port and did not hand out IPs via DHCP either. Since the switch error messages are still present in the log I assume the new dts did not work. I've also attached the dts, as far as i can see the patch was applied correctly. Next I'll try your tree with the new driver. |
qwertz123: Testing with your tree also resulted in an non-working network.
So maybe there is just something wrong with the switch/vlan configuration? |
qwertz123: So, I tried to get the switch to work manually, without success: I did everything according to [[https://www.kernel.org/doc/html/latest/networking/dsa/b53.html#bridge|kernel DSA bridge]] configuration, but i could not get any traffic to flow. I had some errors though:
Also, dmesg shows some strangeness:
|
qwertz123: Progress! On a hunch I've tried
... and this combination networking works. I assume the solution was commited as I'm attaching my dmesg, but at the moment everything looks good - I copied my old config to the new image and the R1 came up with the expected configuration. |
qwertz123:
Supply the following if possible:
Lamobo-R1 BananaPI Router
OpenWRT Snapshots (Imagebuilder) sometime after r12688-46d0ce19f1
Write any recent image to SD card, it boots but networking does not work.
Hello,
I'm doing regular updates with imagebuilder (about once per week) for Lamobo-R1. Some time after r12688-46d0ce19f1 the networking configuration broke.
I'm assuming the cause is kernel 5.4, because my last working image is from 2020-03-22 and it stopped working the week after, around 2020-03-29.
As far as I can tell the problem lies in the switch configuration: The switch is not found, the bootlog of kernel 5.4 contains no reference to "b53".
I'm attaching screenlogs of both old and new kernel boot and the corresponding device tree files (taken from the sdcard).
Please advise, thank you.
The text was updated successfully, but these errors were encountered: