Thanks Greg. You mentioned running from SDRAM before. I read the dramboot
section, now I understand this a little better.

My .config for the SAMA5D27-XULT has these two settings:

CONFIG_SAMA5_BOOT_SDRAM=y
CONFIG_BOOT_RUNFROM_SDRAM=y

So I think I am doing this already on the SAMA5D27-XULT, but it's using
U-Boot directly, not using the dramboot.

I'll see if I can adapt the dramboot config for the SAMA5D27. I'll probably
have to set up SWD debugging... for that I need an adapter for my JLink,
and I'll need to solder some wires onto the GiantBoard SWD pads.

cheers
adam

On Tue, Mar 10, 2020 at 9:23 AM Gregory Nutt <spudan...@gmail.com> wrote:

>
> > ... I can fatload nuttx.bin. But when I run (go 0x20008040) nuttx
> > doesn't boot. Doing the same sequence on the SAMA5D2-XULT results in
> nuttx
> > booting...
>
> When I worked with the SAMA5D4-EK, I used a tiny bootloader that I wrote
> called dramboot.  It make debug a lot easier.  See
> boards/arm/sama5d4-ek/README.txt
>
> You might be able to use J-link with U-boot too.  Put a breakpoint at
> 0x20008040 and see what happens.
>
> NOTE:  I see that the Giant board in now in stock at Mouser US for $62.50
>
>

-- 
Adam Feuer <a...@starcat.io>

Reply via email to