iMX8M: Copy from eMMC to TCML

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

iMX8M: Copy from eMMC to TCML

796 Views
bharatkumarbach
Contributor III

I understand from the documentation that Boot ROM initially loads 4K region starting from 0x8400 in eMMC to TCML and starts executing the code. I am writing a boot loader which exceeds 4K size. 

Is there any possibility that I can make Boot ROM copy remaining code?

Or should I include eMMC driver in the first 4K region and make it fetch remaining code for me?

Thanks,

Bharat 

Labels (1)
Tags (3)
0 Kudos
1 Reply

624 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bharat

boot ROM uses ivt for loading custom application as described in

Figure 6-18. Image Vector Table i.MX8MDQ Reference Manual
https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf

In general yes, recommended way is to implement eMMC custom

driver in small OCRAM region and make it fetch remaining code for custom application.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos