public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/0][v2] powerpc: Add support 2 stage boot loader for corenet platform
@ 2014-04-08 13:41 Prabhakar Kushwaha
  2014-04-23 21:49 ` [U-Boot] [u-boot-release] " York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Kushwaha @ 2014-04-08 13:41 UTC (permalink / raw)
  To: u-boot


Signed-off-by: Prabhakar Kushwaha <prabhakar@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 during  boot :-
 -----------------------------------------------
 Area        | Address                         |
-----------------------------------------------
 Secure boot | 0xFFFC0000 (32KB)               |
 headers     |                                 |
 -----------------------------------------------
 GD, BD      | 0xFFFC8000 (4KB)                |
 -----------------------------------------------
 ENV         | 0xFFFC9000 (8KB)                |
 -----------------------------------------------
 HEAP        | 0xFFFCB000 (30KB)               |
 -----------------------------------------------
 STACK       | 0xFFFD8000 (22KB)               |
 -----------------------------------------------
 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] driver/ifc: define nand_spl_load_image() for SPL

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

 [PATCH 7/10] driver: Add support of image load for MMC & SPI 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] [u-boot-release] [PATCH 0/0][v2] powerpc: Add support 2 stage boot loader for corenet platform
  2014-04-08 13:41 [U-Boot] [PATCH 0/0][v2] powerpc: Add support 2 stage boot loader for corenet platform Prabhakar Kushwaha
@ 2014-04-23 21:49 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-04-23 21:49 UTC (permalink / raw)
  To: u-boot

On 04/08/2014 06:41 AM, Prabhakar Kushwaha wrote:
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>

> ---
>  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] driver/ifc: define nand_spl_load_image() for SPL
> 
>  [PATCH 6/10] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL
> 
>  [PATCH 7/10] driver: Add support of image load for MMC & SPI 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
> 

Applied to u-boot-mpc85xx/master, thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-23 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 13:41 [U-Boot] [PATCH 0/0][v2] powerpc: Add support 2 stage boot loader for corenet platform Prabhakar Kushwaha
2014-04-23 21:49 ` [U-Boot] [u-boot-release] " York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox