Running FreeRTOS from start of DDR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Running FreeRTOS from start of DDR

588件の閲覧回数
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

ラベル(1)
0 件の賞賛
1 返信

491件の閲覧回数
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 件の賞賛