grant-olson / buildroot_ext_lichee_rv

Buildroot support for RISC-V Lichee RV hardware
GNU General Public License v2.0
7 stars 3 forks source link

RTL8723DS is not in buildroot 2022.05 #1

Open ikruusa opened 1 year ago

ikruusa commented 1 year ago

Hi! First, thank you for working on the Lichee RV support! I've just received my Lichee RV dock. To be honest, I purchased it just for fun :) For some reason this RISC-V stuff reminds me the times of ZX Spectrum (yes, I'm that old). After building the buildroot using your instructions I did expect to have wlan0 interface but that wasn't the case. As it turned out the driver for this chip is not in 2022.05. Btw, I did not expect to have working HDMI framebuffer :) So, no need for serial terminal! I tried with buildroot's snapshot (09.july) but I didn't get output on the screen anymore. So I decided to manually merge RTL8723DS driver from snapshot to 2022.05 and it worked. Also it may help someone to know that for nano editor its needed to have Toolchain->"Enable WCHAR support" selected. Also, with only keyboard and no mouse available its easier to get your hashed key for wpa_supplicant by: $ wpa_passphrase [ ssid ] [ passphrase ] > my.conf $ cat my.conf >> /etc/wpa_supplicant.conf .. and then edit with nano. But its maybe matter of taste. Also, just for the information, I have linux machines around but this time I was using WSL2 on windows and ubuntu 20.04. I happened to have Rasperry Pi Imager installed and I was using that to write .img to sd card. Btw, what it takes to have working mouse on Lichee RV dock? Just selecting gpm and using /dev/input/event2 (wireless mouse in my case) didn't work. Thanks, Indrek

grant-olson commented 1 year ago

I just moved last weekend from working of the 22.02 LTS version to the master branch in github. At that point I removed the local copy of the RTL8723DS driver. Once there's a new stable release of buildroot I'll start creating maintenance branches for the proper buildroot releases.

Mouse support I would expect to work, but I haven't yet gotten TWM working so I wasn't too concerned with it working on a the HDMI console. Been a while since I've had a straight text console on an X86 machine but I don't think I've used a mouse with just a console before.

I've been focusing on getting the LCD screens and network on the Lichee RV Panel and the Clockwork PI, but might switch gears to have better support on the Dock.

On 7/9/22 10:49 AM, ikruusa wrote:

Hi! First, thank you for working on the Lichee RV support! I've just received my Lichee RV dock. To be honest, I purchased it just for fun :) For some reason this RISC-V stuff reminds me the times of ZX Spectrum (yes, I'm that old). After building the buildroot using your instructions I did expect to have wlan0 interface but that wasn't the case. As it turned out the driver for this chip is not in 2022.05. Btw, I did not expect to have working HDMI framebuffer :) So, no need for serial terminal! I tried with buildroot's snapshot (09.july) but I didn't get output on the screen anymore. So I decided to manually merge RTL8723DS driver from snapshot to 2022.05 and it worked. Also it may help someone to know that for nano editor its needed to have Toolchain->"Enable WCHAR support" selected. Also, with only keyboard and no mouse available its easier to get your hashed key for wpa_supplicant by: $ wpa_passphrase [ ssid ] [ passphrase ] > my.conf $ cat my.conf >> /etc/wpa_supplicant.conf .. and then edit with nano. But its maybe matter of taste. Also, just for the information, I have linux machines around but this time I was using WSL2 on windows and ubuntu 20.04. I happened to have Rasperry Pi Imager installed and I was using that to write .img to sd card. Btw, what it takes to have working mouse on Lichee RV dock? Just selecting gpm and using /dev/input/event2 (wireless mouse in my case) didn't work. Thanks, Indrek

— Reply to this email directly, view it on GitHub https://github.com/grant-olson/buildroot_ext_lichee_rv/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB6OIHWMBX4HC5JFWPRTMDVTGGPFANCNFSM53DPOUJA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

paralin commented 9 months ago

We have it working with Buildroot here: https://github.com/skiffos/SkiffOS/tree/master/configs/allwinner/licheerv

Hope this helps!

ikruusa commented 9 months ago

Hi!

Thanks for mentioning it! Lichee RV/Dock is also natively supported by buildroot starting from version 2023.02. It's using the linux kernel and u-boot repos from Samuel Holland. These repos provide the most support but actually vanilla linux kernel gets better with every release. I'm actually running one board with Allwinner D1 CPU with vanilla kernel v6.4.16 (built with buildroot) and its OK.

Best regards, Indrek

Kontakt Christian Stewart @.***>) kirjutas kuupäeval E, 25. september 2023 kell 07:55:

We have it working with Buildroot here: https://github.com/skiffos/SkiffOS/tree/master/configs/allwinner/licheerv

Hope this helps!

— Reply to this email directly, view it on GitHub https://github.com/grant-olson/buildroot_ext_lichee_rv/issues/1#issuecomment-1732906946, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGCEHBJFY5Y7TRXM265GCTX4EFCLANCNFSM53DPOUJA . You are receiving this because you authored the thread.Message ID: @.***>