TechNexion / freertos-tn

FreeRTOS for NXP i.mx7, i.mx8 and i.mx6sx
7 stars 11 forks source link

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

Open paoloturim opened 2 years ago

paoloturim commented 2 years ago

Hi

I have issue in this tutorial in line:

fatload mmc 0:1 0x7F8000 hello_world.bin

issue is:

fatload mmc 0:1 0x7F8000 hello_world.bin Reading file would overwrite reserved memory Failed to load 'hello_world.bin'

PrintEnv Line 58

https://gist.github.com/paoloturim/bb4a3b82efd9de681431cb46d4b59bab

too three importants files in Yocto imx7d-pico/Hardknott configuration:

pico-imx7.conf

https://gist.github.com/paoloturim/a841a7516ee290456d7583fb601305b6

and imx7d-pico-pi-m4.dts (I'm not sure if this file is being used in the final DTB)

https://gist.github.com/paoloturim/6bc901a50ec2786e346bc1e3866dd970

and local.conf

https://gist.github.com/paoloturim/d1d304225e127c0be3767981cc0ad11c

I stay trying solution based on this site: https://community.element14.com/products/devtools/single-board-computers/warp7/f/forum/30463/linux-dtb-support-to-run-cortex-a7-and-cortex-m4-simultaneously-on-warp-7

User griff0417 tells to include "imx7d-pico-pi-m4.dts". Ok. I include but baseboard_pico_pi.dtsi have issue:

https://gist.github.com/paoloturim/fc80f146fa681116fd24aad19c450287

issue is: (I don't see anything wrong with line 52.) | Error: /home/paoloturim/projects/tn-imx-yocto/build-fsl-imx-xwayland-pico-imx7/tmp/work-shared/pico-imx7/kernel-source/arch/arm/boot/dts/baseboard_pico_pi.dtsi:52.1-18 syntax error:

paoloturim commented 2 years ago

@richard-hu @ray-chang ?