Open alanwli opened 4 years ago
Hi! Thanks for the diffs and build errors. I think I know what your problem is - if you didn't explicitly re-enable CONFIG_NET
that I have disabled for my tiny kernel build, CONFIG_WIRELESS_EXT
won't get enabled either, since NET is a dependency. (make linux-menuconfig
helps visualize these dependencies.)
Hi George,
Thanks for the pointer! I finally got a chance to try it out this weekend and finally got things compiled correctly. I am even able to insert the module but it doesn't do anything...I'm wondering if it's because board/businesscard/v1/dts/businesscard.dts isn't configured to support the sdio wifi adapter? Thanks in advance for any pointers on this!
# lsmod -a
Module Size Used by Tainted: G
r8723bs 428352 0
# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Glad you got it built. So, two things: first, my kernel is built without networking support... You can turn all of it back on. I guess you have if you're seeing the loopback adapter.
Second, yes, the device tree needs to be modified to add your Wi-Fi card. Probably there's an example in the Documentation/device-tree/bindings docs.
Hi George,
I finally got around this week to figure out what my issue was above. Turned out that I was building the rtl8723bs for the wrong wifi sdio adapter...I had assumed that rtl8723bs was the adapter that the Lichee Pi Nano came with because that's the standard one with Lichee Pi Zero, but it was actually esp8089.
I saw that you made a reference to esp8089 here (https://github.com/thirtythreeforty/businesscard-linux/issues/13#issuecomment-600127910). I was wondering if you ever got that working with your Lichee Pi Nano?
Thanks.
I have not tried to get it working, because I don't have the ESP8089 hardware. However given that SPI, MMC, and (nearly) mainline Linux already run on the Nano, I expect that it will work if you compile the out of tree driver I linked in that thread.
@alanwli @thirtythreeforty I tried to get hands-on the ESP8089 and I got the module driver working by using this guide but from what I understand there is a reset pin on the chip which is NC with the WiFi expansion board (I'm not sure because I couldn't find the expansion schematics). I think this pin is floating somehow because the driver doesn't work each time you boot the board but anyway when it boots the wpa_cli
only found one or two APs so I can't connect to my AP which is weird. I also tried to solder an external antenna but didn't work either. I'm not sure if this is a hardware issue or driver issue but it didn't work for me and it was quite disappointing.
Hi George,
Firstly, thanks for putting your project on github. I bought the Lichee Nano Pi that you have pointed out, but have not been able to get to work with the TF wifi card (RTL8723). Were you able to?
Thanks
Here's my current diff that shows that I've set CONFIG_WIRELESS_EXT and BR2_PACKAGE_RTL8723BS:
But I am still getting the same build errors: