Hello everyone,
I'm trying run my FreeRTOS app from the beginning of DDR (address 0x40000000). I changed the .ld script to link the app to this address and start the app as follows in U-Boot:
fatload mmc 0 0x40000000 /myapp.bin
dcache flush
bootaux 0x40000000
The app doesn't seem to start.
If I link and run the app at 0x80000000 as in the samples in the FreeRTOS BSP, the app starts successfully.
Is there anything else besides the linker script and the load and bootaux address needs to be changed in order to run a FreeRTOS app from address 0x40000000?
Regards,
Dmitry
Hi Dmitry
one can also pay attention to "reserved-memory" in fsl-imx8mq-evk-m4.dts
fsl-imx8mq-evk-m4.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------