Re: iMXRT1064-EVK booting off SD card

2020-12-15 Thread Gregory Nutt
at25_main.c is probably not such a good example: It writes a hex file to AT25 FLASH and the ROM bootloader will boot from the AT25 on the next reset. boards/arm/sama5d4-ek/src/dram_main.c is another little bootloader: It loads a hex file from serial in SDRAM and executes it. You need to load fr

Re: iMXRT1064-EVK booting off SD card

2020-12-15 Thread Gregory Nutt
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

iMXRT1064-EVK booting off SD card

2020-12-15 Thread Вадим Ястребов
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