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.
...
You might be able to use J-link with U-boot too. Put a breakpoint at
0x200
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
... 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/sama
I got my Giant Board yesterday and worked on it for about an hour last
night. I got the DBGU serial terminal working with U-Boot, and was able to
make an SDCard that will boot to the U-Boot that comes with the Giant
Board. I can fatload nuttx.bin. But when I run (go 0x20008040) nuttx
doesn't boot.