Why not develop a nuttx based bootloader?
We have produced more than ten million devices, all run nuttx with
different configurations in the different phases(bootloader, ota, gui app),
cores(sensor hub, audio dsp), even security mode(tee).
The benefit of this approach include:

   1. You just need write driver once and reuse in all possible scenario
   2. Don't need learn and switch the development environment


On Sat, Jul 1, 2023 at 5:56 PM Tim Hardisty <t...@hardisty.co.uk> wrote:

> Not directly related to NuttX but I hope you don't mind me asking here.
>
> Bottom line: has anyone used any bootloader other than u-boot to allow usb
> dfu or RNDIS-type firmware updates, and that easily boot NuttX?
>
> My board uses the usual SAMA5 methodology of AT91
> bootstrap->u-boot->NuttX. It all works as expected, as far as running code
> is concerned, but I simply cannot get u-boot to enable the USB port for DFU
> or RNDIS functions and I need the product to have user-friendly in-field
> updates, ideally without me having to write any PC update software.
>
> U-boot has defeated me for over 2 weeks now, and simply refuses to even
> "activate" the USB (i.e. a PC never even sees the connect let alone any
> functionality: yes, the USB port does work for NuttX and sam-ba code
> flashing); device trees are the invention of the devil; and an unholy
> apparent mish mash of driver model and "legacy" modes; no SAM boards in the
> u-boot trees appearing to have relevant config options I can copy. Add to
> that: using latest u-boot rather than the 2020 version I currently have
> "working"means it won't even find a console serial port any more, the lack
> of response on the relevant AT91 u-boot github to questions, and I am just
> about ready to give up :(
>
> But I need a bootloader!
>
>

Reply via email to