Hi again,

(Thank you, Lup, for these excellent articles. They are a very
valuable resource! :-)

Now at a computer, I can actually find the links to some relevant articles...

These two are an excellent starting point to understand how to get
NuttX to boot on these "bigger" embedded systems...

https://lupyuen.codeberg.page/articles/arm.html#will-nuttx-boot-on-pinephone

https://lupyuen.codeberg.page/articles/uboot.html

Now, I seem to recall that one of Lup's articles showed step-by-step
how to study the details of the Linux boot process to learn how to
initialize the CPU properly, and then apply that knowledge to boot
NuttX. I can't seem to find it right now, but definitely look through
the blog because you'll find a lot of helpful techniques there.

Cheers,
Nathan

On Thu, Jul 25, 2024 at 10:14 AM Lee, Lup Yuen <lu...@appkaki.com> wrote:
>
> Hi Matteo: Please lemme know if you have any questions about NuttX on
> PinePhone (Arm64 Cortex-A53)
>
> (Thanks Nathan :-)
>
> Lup
>
> On Thu, Jul 25, 2024 at 9:34 PM 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
> > >
> >

Reply via email to