[U-Boot] [PATCH 0/0] powerpc: Add support 2 stage boot loader for corenet platform

Prabhakar Kushwaha prabhakar at freescale.com
Mon Mar 31 12:03:16 CEST 2014


Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
---

Add support of 2 stage boot loader in cornet platforms using SPL framework.
B4860QDS: NAND boot
T1040RDB: NAND, SD, SPI boot
T1042RDB_PI: NAND, SD, SPI boot

In current secenrio size of u-boot can become >=512KB. So This patch set will be 
helpful for those SoC which has less internal SRAM(512KB).

here, PBL initialise the internal SRAM and copy SPL(160KB) in SRAM.
SPL further initialise DDR using SPD and environment variables and copy
u-boot(768 KB) from flash to DDR.
Finally SPL transer control to u-boot for futher booting.

SPL has following features:
 - Executes within 256K
 - No relocation required

 Run time view of SPL framework :-
 Run time view of SPL framework during NAND boot :-
 -----------------------------------------------
 Area        | Address                         |
-----------------------------------------------
 Reserve     | 0xFFFC0000 (32KB)               |
 -----------------------------------------------
 GD, BD      | 0xFFFC8000 (4KB)                |
 -----------------------------------------------
 ENV         | 0xFFFC9000 (6KB)                |
 -----------------------------------------------
 HEAP        | 0xFFFCA800 (34KB)               |
 -----------------------------------------------
 STACK       | 0xFFFD8000 (20KB)               |
 -----------------------------------------------
 U-boot SPL  | 0xFFFD8000 (160KB)              |
 -----------------------------------------------

 Run time view of SPL framework during SD, SPI boot :-
 -----------------------------------------------
 Area        | Address                         |
-----------------------------------------------
 Reserve     | 0xFFFC0000 (32KB)               |
 -----------------------------------------------
 GD, BD      | 0xFFFC8000 (4KB)                |
 -----------------------------------------------
 HEAP        | 0xFFFC9000 (40KB)               |
 -----------------------------------------------
 STACK       | 0xFFFD8000 (20KB)               |
 -----------------------------------------------
 U-boot SPL  | 0xFFFD8000 (160KB)              |
 -----------------------------------------------

NAND Flash memory Map on T104xRDB
------------------------------------------
 Start		 End		Definition			Size
0x000000	0x0FFFFF	u-boot                          1MB
0x180000	0x19FFFF	u-boot env                      128KB
0x200000	0x21FFFF	FMAN Ucode                      128KB

SD Card memory Map on T104xRDB
------------------------------------------
 Block		#blocks		Definition			Size
0x008		2048		u-boot                          1MB
0x800		0024		u-boot env                      8KB
0x820		0256		FMAN Ucode                      128KB

SPI Flash memory Map on T104xRDB
------------------------------------------
 Start		 End		Definition			Size
0x000000	0x0FFFFF	u-boot                          1MB
0x100000	0x101FFF	u-boot env                      8KB
0x110000	0x12FFFF	FMAN Ucode                      128KB
---
 This patch set contains:-

 [PATCH 1/10] powerpc/mpc85xx: Move LAW_EN define outside of config

 [PATCH 2/10] powerpc/mpc85xx: Avoid hardcoding in SPL linker script
 
 [PATCH 3/10] powerpc:Add support of SPL non-relocation
 
 [PATCH 4/10] powerpc/mpc85xx:Disable non DDR LAWs before init_law
 
 [PATCH 5/10] common/env: Point default environment for GD

 [PATCH 6/10] driver/ifc: define nand_spl_load_image() for SPL

 [PATCH 7/10] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL

 [PATCH 8/10] Makefile: Add support of RAMBOOT_SPLPBL

 [PATCH 9/10] board/b4qds:Add support of 2 stage NAND boot-loader

 [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB
-- 
1.7.9.5





More information about the U-Boot mailing list