You might have to write a tiny bootloader. For example like
boards/arm/sama5d4-ek/src/at25_main.c that boots from AT35 serial FLASH
on a SAMA5D4 board.
On 12/15/2020 10:55 AM, Вадим Ястребов wrote:
Hello,
I am trying to create a bootable image using Secure Provisioning Tools by NXP to boot NuttX from SD Card. I would like to have everything copied to internal RAM. I am using flash.ld from nsh configuration for RT1060 where I changed every section to reside in sram.
Secure Provisioning Tools program is showing me that the starting address is 0x20202000 which sounds about right according to manual. Unfortunately, after flashing, NuttX doesn’t boot (no LEDs blinkinging, nothing).
I have a working blinky LED example from MCUXpresso which boots from the SDCard.
Also, I have working NuttX which boots off the internal flash.
Does anyone have any suggestions on how this can be achieved?
Also, do I need the .boot_hdr section in the NuttX linker script? I am asking
because I am not planning to boot from QSPI flash.
Thank you for your time!
Regards,
Vadim Yastrebov