Running FreeRTOS from start of DDR

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

Running FreeRTOS from start of DDR

589 Views
dmitrykonyshev
Contributor II

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

Labels (1)
0 Kudos
1 Reply

492 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos