X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=doc%2FREADME.b4860qds;h=6fcc3bd6e8ae4b4c6a99f9c6b5bcf39ad920c131;hp=f6c5ff8e9c8ba02976d8aea3ccb4b27ad3999480;hb=9d6b51ff1a11b47879e44a83a14c7b49c1893852;hpb=1e362dc3e799fd86722a60f5639e52a67dfc0658 diff --git a/doc/README.b4860qds b/doc/README.b4860qds index f6c5ff8e9c..6fcc3bd6e8 100644 --- a/doc/README.b4860qds +++ b/doc/README.b4860qds @@ -5,7 +5,7 @@ The B4860QDS is a Freescale reference board that hosts the B4860 SoC (and varian B4860 Overview ------------- The B4860 QorIQ Qonverge device is a Freescale high-end, multicore SoC based on -StarCore and Power Architecture® cores. It targets the broadband wireless +StarCore and Power Architecture® cores. It targets the broadband wireless infrastructure and builds upon the proven success of the existing multicore DSPs and Power CPUs. It is designed to bolster the rapidly changing and expanding wireless markets, such as 3GLTE (FDD and TDD), LTE-Advanced, and UMTS. @@ -99,11 +99,11 @@ B4420 Personality B4420 Personality -------------------- B4420 is a reduced personality of B4860 with less core/clusters(both SC3900 and e6500), less DDR -controllers, less serdes lanes, less SGMII interfaces and reduced target frequencies. +controllers, less serdes lanes, less SGMII interfaces and reduced target frequencies. Key differences between B4860 and B4420 ---------------------------------------- - + B4420 has: 1. Less e6500 cores: 1 cluster with 2 e6500 cores 2. Less SC3900 cores/clusters: 1 cluster with 2 SC3900 cores per cluster. @@ -119,7 +119,7 @@ B4860QDS Default Settings Switch Settings ---------------- -SW1 OFF [0] OFF [1] OFF [1] OFF [0] OFF [1] OFF [0] OFF [1] OFF [1] +SW1 OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] SW2 ON ON ON ON ON ON OFF OFF SW3 OFF OFF OFF ON OFF OFF ON OFF SW5 OFF OFF OFF OFF OFF OFF ON ON @@ -130,7 +130,7 @@ Note: Boot location: NOR flash. SysClk/Core(e6500)/CCB/DDR/FMan/DDRCLK/StarCore/CPRI-Maple/eTVPE-Maple/ULB-Maple 66MHz/1.6GHz/667MHz/1.6GHz data rate/667MHz/133MHz/1200MHz/500MHz/800MHz/667MHz -a) NAND boot +a) NAND boot SW1 [1.1] = 0 SW2 [1.1] = 1 SW3 [1:4] = 0001 @@ -155,7 +155,7 @@ Note: Boot location: NOR flash. SysClk/Core(e6500)/CCB/DDR/FMan/DDRCLK/StarCore/CPRI-Maple/eTVPE-Maple/ULB-Maple 66MHz/1.6GHz/667MHz/1.6GHz data rate/667MHz/133MHz/1200MHz/500MHz/800MHz/667MHz -a) NAND boot +a) NAND boot SW1 [1.1] = 0 SW2 [1.1] = 1 SW3 [1:4] = 0001 @@ -185,7 +185,7 @@ Start Address End Address Description Size 0xF_A0C0_0000 0xF_DFFF_FFFF Free 1012 MB 0xF_A000_0000 0xF_A0BF_FFFF MAPLE0/1/2 12 MB 0xF_0040_0000 0xF_9FFF_FFFF Free 12 GB -0xF_0000_0000 0xF_003F_FFFF DCSR 4 MB +0xF_0000_0000 0xF_01FF_FFFF DCSR 32 MB 0xC_4000_0000 0xE_FFFF_FFFF Free 11 GB 0xC_3000_0000 0xC_3FFF_FFFF sRIO-2 I/O 256 MB 0xC_2000_0000 0xC_2FFF_FFFF sRIO-1 I/O 256 MB @@ -215,7 +215,7 @@ Start Address End Address Description Size 0xF_A0C0_0000 0xF_DFFF_FFFF Free 1012 MB 0xF_A000_0000 0xF_A0BF_FFFF MAPLE0/1/2 12 MB 0xF_0040_0000 0xF_9FFF_FFFF Free 12 GB -0xF_0000_0000 0xF_003F_FFFF DCSR 4 MB +0xF_0000_0000 0xF_01FF_FFFF DCSR 32 MB 0xC_4000_0000 0xE_FFFF_FFFF Free 11 GB 0xC_3000_0000 0xC_3FFF_FFFF sRIO-2 I/O 256 MB 0xC_2000_0000 0xC_2FFF_FFFF sRIO-1 I/O 256 MB @@ -227,17 +227,17 @@ Start Address End Address Description Size NOR Flash memory Map on B4860 and B4420QDS ------------------------------------------ Start End Definition Size -0xEFF80000 0xEFFFFFFF u-boot (current bank) 512KB -0xEFF60000 0xEFF7FFFF u-boot env (current bank) 128KB -0xEFF40000 0xEFF5FFFF FMAN Ucode (current bank) 128KB -0xEF300000 0xEFF3FFFF rootfs (alternate bank) 12MB + 256KB +0xEFF40000 0xEFFFFFFF u-boot (current bank) 768KB +0xEFF20000 0xEFF3FFFF u-boot env (current bank) 128KB +0xEFF00000 0xEFF1FFFF FMAN Ucode (current bank) 128KB +0xEF300000 0xEFEFFFFF rootfs (alternate bank) 12MB 0xEE800000 0xEE8FFFFF device tree (alternate bank) 1MB 0xEE020000 0xEE6FFFFF Linux.uImage (alternate bank) 6MB+896KB 0xEE000000 0xEE01FFFF RCW (alternate bank) 128KB -0xEDF80000 0xEDFFFFFF u-boot (alternate bank) 512KB -0xEDF60000 0xEDF7FFFF u-boot env (alternate bank) 128KB -0xEDF40000 0xEDF5FFFF FMAN ucode (alternate bank) 128KB -0xED300000 0xEDF3FFFF rootfs (current bank) 12MB+256MB +0xEDF40000 0xEDFFFFFF u-boot (alternate bank) 768KB +0xEDF20000 0xEDF3FFFF u-boot env (alternate bank) 128KB +0xEDF00000 0xEDF1FFFF FMAN ucode (alternate bank) 128KB +0xED300000 0xEDEFFFFF rootfs (current bank) 12MB 0xEC800000 0xEC8FFFFF device tree (current bank) 1MB 0xEC020000 0xEC6FFFFF Linux.uImage (current bank) 6MB+896KB 0xEC000000 0xEC01FFFF RCW (current bank) 128KB @@ -246,7 +246,7 @@ Various Software configurations/environment variables/commands -------------------------------------------------------------- The below commands apply to both B4860QDS and B4420QDS. -1. U-boot environment variable hwconfig +1. U-boot environment variable hwconfig The default hwconfig is: hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1: dr_mode=host,phy_type=ulpi @@ -258,7 +258,7 @@ The below commands apply to both B4860QDS and B4420QDS. 3. Switching to alternate bank Commands for switching to alternate bank. - 1. To change from vbank0 to vbank2 + 1. To change from vbank0 to vbank2 => qixis_reset altbank (it will boot using vbank2) 2.To change from vbank2 to vbank0 @@ -269,7 +269,7 @@ The below commands apply to both B4860QDS and B4420QDS. 1)Boot from vbank0 2)Flash vbank2 with b4420 rcw and u-boot 3)Give following commands to uboot prompt - => mw.b ffdf0040 0x30; + => mw.b ffdf0040 0x30; => mw.b ffdf0010 0x00; => mw.b ffdf0062 0x02; => mw.b ffdf0050 0x02; @@ -283,32 +283,32 @@ The below commands apply to both B4860QDS and B4420QDS. To change from NOR to NAND boot give following command on uboot prompt => mw.b ffdf0040 0x30 - => mw.b ffdf0010 0x00 + => mw.b ffdf0010 0x00 => mw.b 0xffdf0050 0x08 => mw.b 0xffdf0060 0x82 => mw.b ffdf0061 0x00 - => mw.b ffdf0010 0x30 + => mw.b ffdf0010 0x30 => reset To change from NAND to NOR boot give following command on uboot prompt: => mw.b ffdf0040 0x30 - => mw.b ffdf0010 0x00 + => mw.b ffdf0010 0x00 => mw.b 0xffdf0050 0x00(for vbank0) or (mw.b 0xffdf0050 0x02 for vbank2) => mw.b 0xffdf0060 0x12 => mw.b ffdf0061 0x01 - => mw.b ffdf0010 0x30 + => mw.b ffdf0010 0x30 => reset Note: Power off cycle will lead to default switch settings. Note: 0xffdf0000 is the address of the QIXIS FPGA. -6. Ethernet interfaces for B4860QDS +6. Ethernet interfaces for B4860QDS Serdes protocosl tested: 0x2a, 0x8d (serdes1, serdes2) [DEFAULT] 0x2a, 0xb2 (serdes1, serdes2) When using [DEFAULT] RCW, which including 2 * 1G SGMII on board and 2 * 1G - SGMII on SGMII riser card. + SGMII on SGMII riser card. Under U-boot these network interfaces are recognized as: FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 and FM1@DTSEC6. @@ -318,7 +318,7 @@ The below commands apply to both B4860QDS and B4420QDS. . eth4 -> fm1-gb4 . eth5 -> fm1-gb5 -7. RCW and Ethernet interfaces for B4420QDS +7. RCW and Ethernet interfaces for B4420QDS Serdes protocosl tested: 0x18, 0x9e (serdes1, serdes2) @@ -328,3 +328,39 @@ The below commands apply to both B4860QDS and B4420QDS. On Linux the interfaces are renamed as: . eth2 -> fm1-gb2 . eth3 -> fm1-gb3 + +NAND boot with 2 Stage boot loader +---------------------------------- +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 B4860 and B4420QDS +------------------------------------------ + Start End Definition Size +0x000000 0x0FFFFF u-boot 1MB +0x140000 0x15FFFF u-boot env 128KB +0x1A0000 0x1BFFFF FMAN Ucode 128KB