"if you wanted to try your hands on actual, real world #RISCV hardware, the #VisionFive2 from StarFive is one of the best options"
Fixing the display on #RISCV Lichee Console 4A
https://www.cnx-software.com/2024/01/14/how-i-fixed-the-display-on-lichee-console-4a-terminal/
VirtIO Networking in the Web Browser ... With TinyEMU #RISCV Emulator and WebSocket VPN
Source: https://github.com/lupyuen/nuttx-tinyemu#tinyemu-networking-in-the-web-browser
One thing that really worries me is if the firmware can be accepted into linux-firmware this way ("extracted from array in vendor driver files marked as GPL-2"), and if the driver could be accepted upstream (later, when it supports at least station mode) if not. Reading the README of the linux-firmware repository gives me doubts at least.
Does anyone know how that works? Or even better, has a contact at #Realtek who could see about getting the firmware released directly? Or at least at #Pine64 or some other Realtek customer who could poke them?
I said I'd share code when I have something that doesn't crash, and I do now: https://github.com/airtower-luna/linux/commit/5926d4aa22e6db72a3f7941e297a4b796f5746fb The "rfe 0 isn't supported" error is because data tables with transmit power and regulatory information are missing, so that'll have to be the next thing. Help with that or other parts welcome!
For the required firmware, see here: https://github.com/airtower-luna/rtw8703b-fw-extractor
#rtw8783cs #Pinephone #MobileLinux
What I have so far:
Scaffolding for a driver based on rtw88. Rtw88 already supports a similar SDIO 802.11n chip, so it takes care of the SDIO communication, but I'll have to implement the chip operations and figure out initialization commands and values and similar. Right now it'd crash if you tried to run it because required chip operation function pointers are NULL, but it compiles.
A little tool that creates proper firmware files from the firmware arrays included in #rtl8723cs.
What's interesting is that the old driver calls the wifi chip RTL8703B, as part of the combined wifi/bluetooth RTL8723CS module. I'll probably share code when I have it so far that it doesn't crash and logs something about detecting the chip.
@mobian Fortunately adding the chip to rtw88 looks promising so far (too early to call it yet, though), but that could also be an issue for the firmware (included in that old driver as huge byte arrays). I hope that wouldn't prevent a mainline driver though, I remember the b43 fw extractor…
After a closer look at #rtl8723cs I can say I'm not surprised there's still no upstream driver. That code is a horrible mess, and the options are a) fully untangle and clean up the mess for upstreaming or b) untangle enough to understand what you need to know to write a new, clean driver. Or maybe extend one of the existing mainline drivers? There seem to be some similarities with the rtw88 SDIO parts at least. I think I'll keep trying (leaning towards option b), but help would be very, very welcome.
#MobileLinux #PinePhone
"Framework Computer disclosed a Data Breach exposing the personal information of an undisclosed number of Customers"
"read the ROM data by simply looking at a photo of the chip" (TMS0801)