Table of Contents
PBL -> load RCW (64 bytes/512 bits) -> write to RCWSRn
cfg_rcw_src [0]_[1:4]_[5:8] -> 0_0100_0000
- cfg_rcw_src用以决定RCW配置字的来源
- RCW[PBI_SRC]用以决定PBL初始化控制器的类别
SD启动,起始地址为0x0000_1000,SD Card block size 512KB
| Type | Offset addr(in blocks) | Size |
|---|---|---|
| U-Boot | 0x8 | - |
| U-Boot ENV | 0x800 | 0x2000 |
| FMAN | 0x820 | 32k |
| QE | 0x920 | - |
| Mode | SW1[1:8] | SW2[1:8] | SW3[1:8] |
|---|---|---|---|
| NOR | 0001 0011 | 1011 1011 | 1110 0001 |
| SD | 0010 0000 | 0011 1011 | 1110 0001 |
Useful macros:
CONFIG_SYS_FSL_PBL_RCW
CONFIG_SYS_FSL_PBL_PBI
Reference
- https://pagure.io/u-boot/raw/2015-07/f/board/freescale/t104xrdb/README
- u-boot:board/freescale/t104xrdb/README