build an M4 image in ddr

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

build an M4 image in ddr

ソリューションへジャンプ
1,029件の閲覧回数
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)
タグ(1)
0 件の賞賛
1 解決策
937件の閲覧回数
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 返答(返信)
713件の閲覧回数
_angelo_
Contributor III

but 0x7e0000 is not a ddr address

0 件の賞賛
937件の閲覧回数
yabinzhang
Contributor I

Hi Victor Linnik,

thanks for your help, i got it

0 件の賞賛
938件の閲覧回数
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 件の賞賛