build an M4 image in ddr

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

build an M4 image in ddr

跳至解决方案
2,094 次查看
yabinzhang
Contributor I

dear all:

         We are developing the linux system and M4 of imx8qxp,We have compiled an M4 program and run successfully in tcm。We hope to M4 program running in ddr,it can be compiled successfuly,but after downloading to the board,it

cannot run normally。Hope to get help how to modify compilatio parameters。

thanks!!!

标记 (1)
0 项奖励
回复
1 解答
2,002 次查看
b36401
NXP Employee
NXP Employee

Using u-boot you can load the binary to the memory using a command like this:
=> fatload mmc 1:1 0x7e0000 hello_world.bin
And then you can use such command to run M4:
=> bootaux 0x7e0000

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,778 次查看
_angelo_
Contributor III

but 0x7e0000 is not a ddr address

0 项奖励
回复
2,002 次查看
yabinzhang
Contributor I

Hi Victor Linnik,

thanks for your help, i got it

0 项奖励
回复
2,003 次查看
b36401
NXP Employee
NXP Employee

Using u-boot you can load the binary to the memory using a command like this:
=> fatload mmc 1:1 0x7e0000 hello_world.bin
And then you can use such command to run M4:
=> bootaux 0x7e0000

0 项奖励
回复