Hi Nathan,

On 7/13/23, Nathan Hartman <hartman.nat...@gmail.com> wrote:
> Hi Lup,
>
> Excellent article, as always!
>
> On Thu, Jul 13, 2023 at 10:38 AM Alan C. Assis <acas...@gmail.com> wrote:
>> In NuttX case it is easier because we can do it without the bootloader!
>
> There was a recent discussion about using a minimal build of NuttX
> itself as a bootloader, which would load a more full-featured build of
> NuttX.
>
> One of the advantages of doing this would be reduced driver
> development, since the same implementation of network, USB, and/or
> serial drivers, and other board support, could be shared between the
> "bootloader" build of NuttX and the "real" build of NuttX. It is a
> very cool idea and one that I think is very much worth exploring.
>
> Meanwhile, having information about how to do it with u-boot comes in
> very handy, too.
>

Maybe you could that a look in the minnsh PoC, it was running on MCU
with less than 16KB Flash and 8KB RAM. As you can see in the image it
is using less than 2KB RAM:

https://live.staticflickr.com/7659/18013069041_0c570fd40b_h.jpg

But as Mr. Greg noticed it needs to be reimplemented the write way,
with up_getc() using interruptions instead busy wait.

BR,

Alan

Reply via email to