Unable to change start address of application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unable to change start address of application

772 次查看
apetrov
Contributor I

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!

0 项奖励
回复
1 回复

740 次查看
b36401
NXP Employee
NXP Employee

Did you change the address in u-boot (in "bootaux <addr>" option) as well?

0 项奖励
回复