bl808_linux icon indicating copy to clipboard operation
bl808_linux copied to clipboard

is bluetooth and wifi supported?

Open iceberg1369 opened this issue 3 years ago • 11 comments

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

iceberg1369 avatar Nov 21 '22 13:11 iceberg1369

No

gamelaster avatar Nov 21 '22 13:11 gamelaster

Any plan for implementation?

iceberg1369 avatar Nov 21 '22 15:11 iceberg1369

@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?

danielbarry avatar Dec 04 '22 20:12 danielbarry

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

gamelaster avatar Dec 05 '22 09:12 gamelaster

@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?

danielbarry avatar Dec 05 '22 19:12 danielbarry

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

gamelaster avatar Dec 05 '22 19:12 gamelaster

@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.

danielbarry avatar Dec 05 '22 20:12 danielbarry

@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.

gamelaster avatar Dec 05 '22 21:12 gamelaster

@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.

danielbarry avatar Dec 06 '22 02:12 danielbarry

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.

daanpape avatar Dec 14 '22 15:12 daanpape

@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

gustavo-nramires avatar Mar 03 '23 22:03 gustavo-nramires