I try to understand how to build bootable image for
As I see there are 2 approaches:
1. The linker in MCUXpresso IDE adds it to header of compiled image code, as done in example hello_world_xip.
2. using elftosb , so that it adds image header, to make it a bootable image, is that Right ?
Using elftosb approach, I found the following tutotirals:
Yet, I don't understand how flexSPI configuration paramaters are added to hello_world example in these tutorials (not the same as hello_world_xip !)
Essentially, the example says to do the following:
elftosb.exe -f imx -V -c ../../bd_file/imx10xx/imx-flexspinor-normal-unsigned.bd -o ivt_flexspi_nor_hello_world.bin hello_world.srec
elftosb.exe -f kinetis -V -c ../../bd_file/imx10xx/program_flexspinor_image_HyperFlash.bd -o
Is it that the steps above add flexSPI configuration paramaters to image header ? Which command adds these parameters to image ? If not - where is it added to image header ?
I also don't find in "MCU Bootloader v2.5.0 Reference" documentation that flexSPI is mentioned as one of the device used for flash programming. So how is it that the tool can be used for flexSPI programming ?
Thank you ,