build an M4 image in ddr

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

build an M4 image in ddr

Jump to solution
1,017 Views
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!!!

Tags (1)
0 Kudos
1 Solution
925 Views
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

View solution in original post

0 Kudos
3 Replies
701 Views
_angelo_
Contributor III

but 0x7e0000 is not a ddr address

0 Kudos
925 Views
yabinzhang
Contributor I

Hi Victor Linnik,

thanks for your help, i got it

0 Kudos
926 Views
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 Kudos