bouffalolab / bl808_linux

Apache License 2.0
129 stars 41 forks source link

is bluetooth and wifi supported? #9

Open iceberg1369 opened 2 years ago

iceberg1369 commented 2 years ago

I would like to know if BT and WiFi drivers are working in linux version?

gamelaster commented 2 years ago

No

iceberg1369 commented 2 years ago

Any plan for implementation?

danielbarry commented 1 year ago

@gamelaster I had a look in the processor manual and couldn't find any information about the RF block. Do BL provide any information about this at all?

gamelaster commented 1 year ago

@danielbarry no, as all RF stuff is mostly under NDA

danielbarry commented 1 year ago

@gamelaster Not a Rust dev, but this may be a start: https://github.com/bouffalolab/bl808-pac

Don't we have anybody over at BL that can help? Surely this work benefits them too?

gamelaster commented 1 year ago

@danielbarry Bouffalo watch those chats, but AFAIK they can't release those information due NDA.

danielbarry commented 1 year ago

@gamelaster Hmm, it's difficult to see how we will make forward progress on this. It looks like a proper reverse engineering effort is needed - which is a hell of a lot of work.

gamelaster commented 1 year ago

@danielbarry sadly, there is no other way, due NDAs and other certification issues. Although, there are sometimes symbols and stuffs, and they're helpful.

Actually, I'm reversing BL70X RF core for BLE, and it going quite nice, I already reversed some important registers, which I will share at some point.

danielbarry commented 1 year ago

@gamelaster Given how little is documented, can you share somewhere your process for doing this? How for example for you know some given register has anything to do with BLE at all?

I would be very interested with your process so that I can potentially help. For example, I am quite interested in getting WiFi up and running.

daanpape commented 1 year ago

Is there any way we can get USB OTG working on this kernel? This way I could install a generic WiFi/ethernet adapter and work from there.

gustavo-nramires commented 1 year ago

@danielbarry I am not a lawyer, this is not legal advice.

I believe it is legal to acquire a (closed source or proprietary driver), and decompile it or debug it by watching what registers it accesses, as long as you're not stealing private data or copying the source code. The Electronic Frontier Foundation may be of assistance, they have an FAQ on reverse engineering: https://www.eff.org/issues/coders/reverse-engineering-faq#faq2