-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Beelink-Mini-MX-2G RTL8211F Ethernet TX fix #127
Comments
The source code of dtb is in the kernel source code: https://github.com/unifreq/linux-5.15.y/tree/main/arch/arm64/boot/dts/amlogic flymike shared the available
You can |
Hi, I will upload the dts if you want to compare it. meson-gxbb-vega-s95-telos_fix_MiniMX2GB16GB.dts.txt I provide the data of my system in case it helps. $uname -a P.S.: Sorry, I'm not an expert and I'm not fluent in English. In case I missed something. Translated with www.DeepL.com/Translator (free version) |
@atsdai Thank you for sharing meson-gxbb-beelink-minimx-2g-16g.dtb.zip This is compiled using your dts file, you can test whether it can be used. I have a warn when compiling, but it also compiles. Instead of decompiling dtb, maybe you can make a copy of the standard source code and modify it. Did you just modify 1 place, changing 2 to 4? |
Ok, I'll try it tomorrow.
Yes, 2 to 4. I got the idea for the solution from this post https://lore.kernel.org/linux-arm-kernel/e21320b3-6e99-25a4-20d9-e8c5aa1aff03@gmail.com/T/ I don't know if it's only with my Mini MX board or if it happens with all of them. I don't know if @flymike has tried doing an iperf3 to make sure the transmission (TX) is correct. Apparently the network was working, but it would instantly drop out or its performance was very bad. I repeat, I am not an expert in these matters and I am groping a bit. In this case the flute has sounded :D (I don't know if it has been translated with the same meaning xD). Translated with www.DeepL.com/Translator (free version) |
meson-gxbb-beelink-mini-mx.dts.zip I haven't modified dtb before, and I learned how to create a new dtb under the guidance of flippy in the morning. If you only modify this place, you can create a separate dts file and modify only one line of code, so that other parts of the code will be updated with the upstream for a long time.
I used the source code to change a dtb for you, and the test passed. I will ask flippy to check again to see if this dtb can be added to his kernel. |
Can this device only be used on USB/TF, and can't be written to emmc? |
Now this dtb has been added to the kernel source code of unifreq 5.4/5.10/5.15/5.16, you can use 738d19d |
I have never tried from emmc. I always use USB/TF. I haven't tried WiFi or BT either. The use of the box is as a server. If I can I'll try it tomorrow too (at least the WiFi).
Ok, I got it. Thanks! |
armbian-config |
The dtb fix (There have been a lot of discussions about the RTL8211F on the mailing lists over at patchwork.kernel.org, including the RX/TX delays, but I never saw anything really resolving it for my Ugoos, but this fix apparently did.) |
Ugoos AM6 plus which dtb did you use? |
Yes, from your 5.17.2 kernel build (but I actually run a Manjaro 5.14 kernel, since I mainly run Manjaro on my Ugoos) |
ok. Test if 5.10/5.15 is stable after modification |
I have tested your 5.10.111 (with the 5.17.2 dtb) and it is stable (I can only test up to 200Mbit download; no errors or resets in dmesg). I cannot boot 5.15 from my SD card (it is a common problem I have with newer kernels above, say 5.14, possibly due to my chain loading using (hexdump's) u-boot.ext). |
Ok, thanks for sharing the test results |
I am very glad you found my contribution useful. :) |
@tri-pole unifreq recommends referring to this document to adjust parameters:
|
Sorry, I didn't see your latest post above. I'm running a different distro now with kernel Here is some info about my AM6 plus box with s922 SoC:
When I get time I will try your recommendation from unifreq and add also some |
ok |
Hi, I would like to provide the solution to the problem I had with my Beelink-Mini-MX-2G and help anyone who may have the same problem. The ethernet TX was not working properly.
I managed to fix it by converting the meson-gxbb-vega-s95-telos.dtb file to dts (https://stackoverflow.com/questions/21670967/how-to-compile-dts-linux-device-tree-source-files-to-dtb), changing line 1207
and then converting it back to dtb.
In short, you have to add 2ns to the TX for it to work properly.
Before fixing it
After fixing it
I don't know if this is unique to my device or if all Beelink-Mini-MX-2G have this problem with telos.dtb.
I hope it helps.
@ophub, THANK YOU VERY MUCH for allowing us to continue using our Android TV boxes.
P.S.: I don't know if this was the right place to post the solution. I thought that more people can see it here. If it's not, please move it to the right place.
Translated with www.DeepL.com/Translator (free version)
The text was updated successfully, but these errors were encountered: