Hi Indkrek,

Il giorno 18 mar 2023, alle ore 22:46, Indrek Kruusa <indrek.kruusa@gmail.com> ha scritto:


Hi!
I'm trying to prepare a patch for MangoPi MQ (Allwinner D1s RISC-V). I'm almost there - Samuel Holland managed to mainline initial support for this board, so vanilla linux kernel 6.3-rc2 boots fine (with proper/modified u-boot version).
The WiFi module is based on rtl8189ftv chip (SDIO connection) and its driver seems to be problematic.
First, buildroot's package/rtl8189fs is currently broken; it points to the wrong commit (seems to be copy paste error, inherited from package/rtl8189es). The result is unusable.

as Thomas already pointed the commit works ok for me too.

I updated it to the correct commit (on the correct branch) and the driver builds fine and loads fine.

Which branch and commit have you used? Take care that the commit actually used has not the support for Linux 6.3 that has been added later.

There are couple of issues though:
- for some reason the debug mode in driver is set
-  driver seems to constantly restart the module, and it emits endless debug messages

This could be bound to the branch/commit of the driver, if it includes Linux 6.3 support or not.
But it should, otherwise it should not build.
Anyway I don’t know that much about other branches.
Maybe you mean that master branch is for rtl8189es and rtl8189fs branch is for rtl8189fs?

Also, how do you determine that rtl8189ftv is compatible with rtl8189fs?


So, is there anybody for whom the rtl8189fs linux driver works fine with kernel 6.3-rcX?

PS. I can prepare a patch to fix the package/rtl8189fs but I expect Giulio to bump the version again for both package/rtl8189es and package/rtl8189fs soon.

Sure I can do that, there is already a pending patch for rtl8189es but it’s already superseded at this point. 
By Monday I’ll send the 2 patches or feel free to do it instead.

Best regards
Giulio


Best regards,
Indrek

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot