Question, i.MX6SL boot image

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

Question, i.MX6SL boot image

342 Views
Aemj
Contributor IV

Dear team,

I would like to ask on how one should make boot image for i.MX6SoloLite.

My customer wants to create own boot loader image on eMMC.

My customer found the following written in previous revision of AP4581 application note(AN4581 Rev.0).

“The first step of the boot process is to copy 1 kB, 2 kB, or 4 kB from the boot device into the OCRAM. The size copied depends on the boot device.”

(Q1)

Can I understand that the fixed sized(4KB for eMMC case) image from the top of the boot device will be copied to OCRAM in unconditionally?

Will the above behavior be executed also in the case of non-secure boot?

(Q2)

Could you show me the exact address of OCRAM which the image will be copied to?

Is it top 4KB of the OCRAM?

(Q3)

After the custom boot loader started, is it possible for user to use the 4KB area of OCRAM which has been copied from eMMC? Or should the 4KB area be remained as is?

(Q4)

Which of the below is correct as for the source area of the copy?

A. The source area is 4KB from the top of eMMC.

B. The source area is 4KB from the address of 0x400 of eMMC.

Thanks,

Miyamoto

Labels (1)
0 Kudos
1 Reply

264 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Please look at my comments below.

1.
  Yes, “MMC/SD/eSD/SDXC/eMMC can be connected to any of the USDHC blocks

and can be booted by copying 4Kbyte of data from MMC/SD/eSD/eMMC device

to internal RAM”.

2., 3.

  Using OCRAM by internal boot ROM is not specified and may depend on boot ROM version,

but customers can use only the memory area, named as “OCRAM Free Area (68KB)” on

Figure 8-3 (Internal ROM and RAM memory map for i.MX 6SoloLite) of the Reference Manual (RM).

4.

4KB from the eMMC beginning is used as copy source.


  Also, please refer to section 8.5.2 (Expansion Device) of the RM.

Have a great day,
Yuri

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

0 Kudos