Skip to content

RFC powerpc: Add support 2 stage boot loader for corenet platform

Prabhakar Kushwaha u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc:Add support of SPL non-relocationarch/powerpc/cpu/mpc85xx/u-boot-spl.lds+24 -10 replies
2/5powerpc/SPL:Allow Parsing of LAW table in both SPL & non SPLarch/powerpc/cpu/mpc8xxx/law.c+0 -90 replies
3/5common/env: Point default envirenoment for GDcommon/env_common.c+3 -00 replies
4/5SPL:Defines function required to env read for IFC & env_nandcommon/env_nand.c drivers/mtd/nand/Makefile drivers/mtd/nand/fsl_ifc_spl.c+27 -41 reply
4/5SPL:Defines function required to env read for IFC & env_nand+0 -01 reply
4/5SPL:Defines function required to env read for IFC & env_nand+0 -01 reply
5/5B4860QDS: Add support of 2 stage NAND boot loaderboard/freescale/b4860qds/Makefile board/freescale/b4860qds/ddr.c board/freescale/b4860qds/spl.c +3 more+203 -81 reply
5/5B4860QDS: Add support of 2 stage NAND boot loader+0 -01 reply
5/5B4860QDS: Add support of 2 stage NAND boot loader+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC 0/5] powerpc: Add support 2 stage boot loader for corenet platform

---

Add support of 2 stage NAND boot loader in cornet platforms using SPL framework. This will be helpful for those SoC which has less internal SRAM(128K).

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

SPL has following features:
- Executes within 128K
- SPL size 96K
- No relocation required

Run time view of SPL framework
==============================
-----------------------------------------------
Area | Address |
-----------------------------------------------
GD, BD | 0xFFFE0000 (1K) |
-----------------------------------------------
HEAP | 0xFFFE0400 (26K) grow downwards |
-----------------------------------------------
STACK | 0xFFFE8000 (5K) grow upwards |
-----------------------------------------------
U-boot SPL | 0xfffe8000 ??? 0xfffffffc (96K) |
-----------------------------------------------

96K + 5K + 26K + 1K = 128K
---
This patch set contains:-

[RFC 1/5] powerpc:Add support of SPL non-relocation

[RFC 2/5] powerpc/SPL:Allow Parsing of LAW table in both SPL & non SPL

[RFC 3/5] common/env: Point default envirenoment for GD

[RFC 4/5] SPL:Defines function required to env read for IFC & env_nand

[RFC 5/5] B4860QDS: Add support of 2 stage NAND boot loader

Signature · 1 line
1.7.9.5