Reading file would overwrite reserved memory ** Failed to load 'hello_world.bin

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

Reading file would overwrite reserved memory ** Failed to load 'hello_world.bin

1,046 Views
neuberfran
Contributor IV

Since I am getting this error:https://community.nxp.com/t5/NXP-Designs/Reading-file-would-overwrite-...

Hi,

Unfortunately this problem came back on mine. Only now in yocto Kirkstone and uboot 2022.04 (from technexion that blocked me on github)

I'm 11 days into this issue. Any help here is welcome.

With uboot 2021.04 I don't have this error: Reading file would overwrite reserved memory ** Failed to load 'hello_world.bin

For example, in the topic below the guy talks about hard-coded in imx_rpmsg.c. I ask: how to put rpdev->vring[0] = 0x9FFF0000; rpdev->vring[1] = 0x9FFF8000; in the new version of imx_rpmsg.c?

Since I am getting this error:

imx-rpmsg: probe of 30800000.bus:rpmsg failed with error -12

https://community.nxp.com/t5/i-MX-Processors/iMX6sx-rpmsg-problem-between-A9-and-M4-on-DDR-memory/m-...

 

Note: I've already done several analyzes on the result of bdinfo and cat/proc/iomem and made several changes to uboot 2022.04 files, but I still haven't solved my issue

Labels (1)
Tags (1)
0 Kudos
6 Replies

953 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @neuberfran

Unfortunately, it seems this is a problem for this version, but we can only try with the fixes recommended in the other thread and, you could try updating the Yocto version.

Have a great day!

0 Kudos

949 Views
neuberfran
Contributor IV

@brian14

Thanks. But your information is not complete. I'm still trying to resolve this. In the last few days I have been trying U-boot 2021.04 also from technexion and several changes (Remember that I mentioned on stackoverflow that U-boot 2021.04 worked) and now U-boot 2021.04 does not work either and causes the same error: Reading file would overwrite reserved memory ** Failed to load 'hello_world.bin

 

Note.: The text at the beginning of the photo below is in Portuguese: errado = wrong and correto = correct.

 

Captura de tela de 2023-04-25 15-15-43.png

0 Kudos

912 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @neuberfran,

Thank you for sharing, I will look at that thread.

Have a great day!

 

0 Kudos

904 Views
neuberfran
Contributor IV

@brian14

 

Hey,

Please help-me to answer SR. sawdust in StackOverFlow issue:

1) Where in memory are you loading this hello_world.bin program?

 

2) I have many CONFIG_STANDALONE_LOAD_ADDR in U-boot 2021.04 folder

https://stackoverflow.com/questions/76104673/reading-file-would-overwrite-reserved-memory-failed-to-...

0 Kudos