imx8mq_m4_TCM_hello_world.bin with Thud

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

imx8mq_m4_TCM_hello_world.bin with Thud

4,572 Views
francesco_giust
Contributor II

Release: Yocto-Thud ( kernel 4.19.35 )
Board: i.MX8MQ EVK

Hello,
I am checking Thud release and I would test M4 example, but I have a problem.
When I try to load imx8mq_m4_TCM_hello_world.bin in u-boot, I get this message:

u-boot=> fatload mmc 1:1 0x7E0000 imx8mq_m4_TCM_hello_world.bin
** Reading file would overwrite reserved memory **

should I use another address ?

I already test on Yocto-Sumo and there it works fine.

Best Regards,
Francesco Giusti

7 Replies

2,376 Views
neuberfran
Contributor IV
0 Kudos

3,836 Views
zach890
Contributor I

Have there been any updates to this issue? I'm running into this very same issue on the iMX7D chip. One day I was able to fatload to the TCM and now I can't fatload to any address without getting the reserved memory error.

Even if it's not a solution is there a way to figure out what already has the memory reserved?

0 Kudos

4,024 Views
fawad_nackvi
Contributor I

I am on a mx8m and I got the same issue. "Reading file would overwrite reserved memory" on 4.19.35_1.1.0. I did the following to load the TCM M4 program and it worked :

fatload mmc 1:1 0x48000000 imx8mm_m4_TCM_hello_world.bin

cp.b 0x48000000 0x7e0000 20000

bootaux 0x7e0000

4,023 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Francesco,

Until now, the most recent Linux version included on the supported NXP BSP releases is L4.14.98, so 4.19.35 is not tested/validated yet.

In case of using other Linux versions, you could refer to the Community BSP:

FSL Community BSP 

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

4,024 Views
francesco_giust
Contributor II

Hi Carlos,

I do the same test with imx-yocto-L4.19.35_1.1.0 ( U-Boot 2019.04-4.19.35-1.1.0+g4d377539a1 ), but I get the same result:

u-boot=> fatload mmc 1:1 0x7e0000 imx8mq_m4_TCM_hello_world.bin
** Reading file would overwrite reserved memory **

Should I use an other memory address ?

BR,

Francesco

0 Kudos

4,024 Views
mischo5500
Contributor II

Got same problem on L4.19.35_1.1.0 warrior on imx7sabre board for command:

=> fatload mmc 0:1 0x7F8000 imx7d_sabresd_m4_TCM_helloworld.bin

** Reading file would overwrite reserved memory **

Did you solve it?

Thanks in advance.

0 Kudos