Unable to change start address of application

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to change start address of application

775件の閲覧回数
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!

ラベル(1)
0 件の賞賛
返信
1 返信

743件の閲覧回数
b36401
NXP Employee
NXP Employee

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

0 件の賞賛
返信