You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support all Raspberry Pi models, what would be the best naming convention for defines?
Any other considerations?
We need to different memory barriers based on RPi model. The same for the GPIO base address.
The text was updated successfully, but these errors were encountered:
I have actually completed the port for all the Pi models there is no requirement for any additional defines you can detect them all and correct for them in platformint.c. For example for the GPIO address just first check if address 0x20980040 has the value 0x4F54280A (that is the USB vendor ID) .. if you don't see it then the IOBase is 0x3F000000 and you can confirm it by reading 0x3F980040 and it should have that value. From there you have access to the Pi mailbox and you can request memory split etc. You load all the stuff you need into your drivers usually using the csr pointer and when initialize.c does an open on the drivers they have the right settings.
In order to support all Raspberry Pi models, what would be the best naming convention for defines?
Any other considerations?
We need to different memory barriers based on RPi model. The same for the GPIO base address.
The text was updated successfully, but these errors were encountered: