SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
MMCSD/eMMC Boot Parameter Table shows the boot parameter table for eMMC, MMC or SD card boot. Must be preceded with the common boot parameters described in Table 4-38.
Byte Offset | Size (bytes) | Name | Default Value | Description |
---|---|---|---|---|
256 | 1 | Port | From Pins | Physical port number |
257 | 1 | eMMC | From Pins | 0 = SD/MMC, else eMMC |
258 | 1 | bootAck | 1 for eMMC 0 for SD/MMC | If 1 and in eMMC mode the controller expects a boot ack from the eMMC |
259 | 1 | Media | 1 for eMMC 0 for SD/MMC | 0 = auto detect card type
1 = MMC 2 = SD |
260 | 1 | busWidth | 8 for eMMC From Pins for SD/MMC | Number of data pins (1, 4, or 8). If 0, max supported pins of the port are used. |
261 | 1 | bootAlt | 1 for eMMC 0 for SD/MMC | If 1 and in eMMC mode, the controller uses the alt boot method (CMD1 with arg 0xFFFF_FFFA) to initiate data transfer |
262 | 1 | sigVolt | 0x18 for port0 0x33 for port1 | Sets the signal voltage for the controller. 0x18 = 1.8V 0x33 = 3.3V |
263 | 1 | Reserved | 0 | Reserved |
264 | 4 | Max Bus Freq | 0 | Max bus frequency in kHz. If 0, the value is determined by reading the CSD register from the card (still maxes out at 25 MHz) |
268 | 4 | refClkkHz | 0 | Module reference clock frequency, in kHz. If 0, the ROM code computes the value. |
272 | 4 | respTimeout | 40000 | The timeout period on initial card read, in milli-seconds, Q3 number format |
276 | 128 | Filename | "\tiboot3.bin" | For SD/MMC, boot filename in 16-bit Unicode characters (max 64) |
404 | 4 | Mode | 0x1144D091 | 0x1144D091 = file system boot
0x1144C180 = raw image boot |
408 | 4 | CardIsInit | 0 | 0 = card not yet initialized
1 = card has been initialized |
412 | 4 | Rsvd | 0 | Reserved |
416 | 4 | RawIndex | 0 | Current active read offset (0 or 1) |
420 | 4 | Rsvd | 0 | Reserved |
424 | 4 | Raw Offset 0 | 0x000000 | Raw read offset |
428 | 4 | Raw Offset 1 | 0x400000 | Backup raw read offset |
432 | 4 | Rsvd | 0 | Reserved |
436 | 4 | Rsvd | 0 | Reserved |