AM67A: SDK11 user guide dropped setting eMMC boot partition section

Part Number: AM67A
Other Parts Discussed in Thread: CSD

Tool/software:

This section is dropped in SDK11 on line user guide, it is very important.

Booting Linux from SD card or eMMC

To give the ROM access to the boot partition, the following commands must be used for the first time:

=> mmc partconf 0 1 1 1
=> mmc bootbus 0 2 0 0
  • eMMC layout:

           boot0 partition (8 MB)                        user partition
   0x0+----------------------------------+      0x0+-------------------------+
      |     tiboot3.bin (512 KB)         |         |                         |
 0x400+----------------------------------+         |                         |
      |       tispl.bin (2 MB)           |         |                         |
0x1400+----------------------------------+         |        rootfs           |
      |       u-boot.img (4 MB)          |         |                         |
0x3400+----------------------------------+         |                         |
      |      environment (128 KB)        |         |                         |
0x3500+----------------------------------+         |                         |
      |   backup environment (128 KB)    |         |                         |
0x3600+----------------------------------+         |                         |
      |          sysfw (1 MB)            |         |                         |
0x3E00+----------------------------------+         +-------------------------+

To boot from UDA parition of eMMC. Please set following

=> mmc partconf 0 1 7 1
=> mmc bootbus 0 2 0 0

Enable warm reset

On eMMC devices, warm reset will not work if EXT_CSD[162] bit is unset since the reset input signal will be ignored. Warm reset is required to be enabled in order to the eMMC to be in a “clean state” on power on reset so that ROM can do clean enumeration.

To set the EXT_CSD[162] bit, stop at U-boot prompt and execute the following command:

=> mmc rst-function 0 1