Hi Nathan, Good point, although his port is not for a new architecture, there are a low of useful information that could help Matteo in his test.
BR, Alan On Thu, Jul 25, 2024 at 10:34 AM Nathan Hartman <hartman.nat...@gmail.com> wrote: > Hi Matteo, > > The blog of Lup Yuen LEE is a very valuable resource. Lup did a port of > NuttX to PinePhone, which is a 64-bit architecture that could be said to be > on a similar level to RPi 4B. > > There are many other articles that you will likely find helpful: > > https://lupyuen.codeberg.page/ > > I recommend to start by finding the PinePhone-related articles first. > > Cheers > Nathan > > > On Wed, Jul 24, 2024 at 9:15 PM Matteo Golin <matteo.go...@gmail.com> > wrote: > > > Hello all, > > > > I am working on a port for NuttX to the Raspberry Pi 4 Model B, for > which I > > am using Gregory's previous port to the BCM2708 as a reference. > > > > I've read through the documentation available here > > <https://nuttx.apache.org/docs/latest/> to get a better grasp of how > NuttX > > works "under the hood", but I'd still like to know more. The port started > > out rosy with copying register addresses and bitmasks from the datasheet > to > > header files, and now that I've completed that, I'm not sure of where to > > start. There seem to be a number of interfaces that need implementing in > > order to make a pretty minimal boot of NuttX, but I'm not sure where (if > > anywhere) I can determine a list of what needs to be implemented or if > > there's a general process to it. > > > > So far my best idea is to re-review the documentation to see if I can get > > more to stick, and in the meanwhile also try to read through and > understand > > an existing port's implementation for one of the simpler MCUs. > > > > If there are any suggestions as to what steps I should take to facilitate > > porting NuttX or understanding more about the OS, I would be eager to > hear > > them! > > > > Thanks, > > Matteo > > >