bl602-re icon indicating copy to clipboard operation
bl602-re copied to clipboard

Can we have a TODO List

Open VedantParanjape opened this issue 5 years ago • 6 comments

Can there be a TODO List to get new people onboarded.

VedantParanjape avatar Oct 30 '20 21:10 VedantParanjape

I think there can be two things.. one is that we can rewrite these low-level libraries. This should be relatively easy since all symbols are preserved.

Another thing is that we can reverse-engineering the reg table. Which seems to be hard, I already compared the regs from bl602 with bk7231. It turns out that they have different reg maps, and might even have different values for regs that shared same funcationality... at least from what I'm reading for phy and modem.

Yangff avatar Oct 31 '20 03:10 Yangff

Hi, how can you rewrite low-level libraries without register map.

Can you link a WIP rewrite of any of these libraries just for reference.

VedantParanjape avatar Nov 01 '20 10:11 VedantParanjape

Hi, how can you rewrite low-level libraries without register map.

Can you link a WIP rewrite of any of these libraries just for reference.

I' doing phy_ functions now. That's easy because you know all the addresses and what's bing written to these addresses. The only thing you don't know is the meaning of them. But that doesn't stop you from writing exactly same code..

I assume there might be some legal problem, so the next step might be trying to figure out the reg map by playing with the values and see what happens to the hardware..

Yangff avatar Nov 01 '20 11:11 Yangff

' doing phy_ functions now. That's easy because you know all the addresses and what's bing written to these addresses. The only thing you don't know is the meaning of them. But that doesn't stop you from writing exactly same code..

Makes sense, I'll take a look at this, and ask you any queries if that's okay

I assume there might be some legal problem, so the next step might be trying to figure out the reg map by playing with the values and see what happens to the hardware..

I don't have the hardware yet :(

VedantParanjape avatar Nov 03 '20 05:11 VedantParanjape

@VedantParanjape please, can you contact me at gamiee (at) pine64.dev ? Thank you 😊

gamelaster avatar Nov 03 '20 08:11 gamelaster

IMO a github project/issues board would be more appropriate as it would enable transparency and tracking.

AshUK avatar Nov 16 '20 19:11 AshUK