From: Prabhakar Kushwaha Date: Mon, 16 Sep 2013 21:35:03 +0530 Subject: [U-Boot] [RFC 0/5] powerpc: Add support 2 stage boot loader for corenet platform Message-ID: <1379347503-20762-1-git-send-email-prabhakar@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Prabhakar Kushwaha --- 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 -- 1.7.9.5