Hello,
I am trying to change the start address of M4 application to be different from the examples.
I use the following command:
flash_norimage: $(MKIMG) mx8qx-ahab-container.img scfw_tcm.bin u-boot-atf.bin m4_image.bin
./$(MKIMG) -soc QX -rev B0 -dev flexspi -append mx8qx-ahab-container.img -c -flags 0x00200000 -scfw scfw_tcm.bin -fileoff 0xBA0000 -p3 -m4 m4_image.bin 0 0x08BA1000 -ap u-boot-atf.bin a35 0x80000000 -out flash_norimage.bin
But the application does not start. If I use the following there is no problem:
flash_norimage: $(MKIMG) mx8qx-ahab-container.img scfw_tcm.bin u-boot-atf.bin m4_image.bin
./$(MKIMG) -soc QX -rev B0 -dev flexspi -append mx8qx-ahab-container.img -c -flags 0x00200000 -scfw scfw_tcm.bin -fileoff 0x80000 -p3 -m4 m4_image.bin 0 0x08081000 -ap u-boot-atf.bin a35 0x80000000 -out flash_norimage.bin
There is NOR flash memory connected to FlexSPI0 and the execution shall be from there. The .ld file and SCFW are updated for the desired addresses.
Do you have any idea why this is happenig?
Thank you in advance!