1*4882a593SmuzhiyunOverview 2*4882a593Smuzhiyun-------- 3*4882a593SmuzhiyunThe B4860QDS is a Freescale reference board that hosts the B4860 SoC (and variants). 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunB4860 Overview 6*4882a593Smuzhiyun------------- 7*4882a593SmuzhiyunThe B4860 QorIQ Qonverge device is a Freescale high-end, multicore SoC based on 8*4882a593SmuzhiyunStarCore and Power Architecture® cores. It targets the broadband wireless 9*4882a593Smuzhiyuninfrastructure and builds upon the proven success of the existing multicore 10*4882a593SmuzhiyunDSPs and Power CPUs. It is designed to bolster the rapidly changing and 11*4882a593Smuzhiyunexpanding wireless markets, such as 3GLTE (FDD and TDD), LTE-Advanced, and UMTS. 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunThe B4860 is a highly-integrated StarCore and Power Architecture processor that 14*4882a593Smuzhiyuncontains: 15*4882a593Smuzhiyun. Six fully-programmable StarCore SC3900 FVP subsystems, divided into three 16*4882a593Smuzhiyunclusters-each core runs up to 1.2 GHz, with an architecture highly optimized for 17*4882a593Smuzhiyunwireless base station applications 18*4882a593Smuzhiyun. Four dual-thread e6500 Power Architecture processors organized in one cluster-each 19*4882a593Smuzhiyuncore runs up to 1.8 GHz 20*4882a593Smuzhiyun. Two DDR3/3L controllers for high-speed, industry-standard memory interface each 21*4882a593Smuzhiyunruns at up to 1866.67 MHz 22*4882a593Smuzhiyun. MAPLE-B3 hardware acceleration-for forward error correction schemes including 23*4882a593SmuzhiyunTurbo or Viterbi decoding, Turbo encoding and rate matching, MIMO MMSE 24*4882a593Smuzhiyunequalization scheme, matrix operations, CRC insertion and check, DFT/iDFT and 25*4882a593SmuzhiyunFFT/iFFT calculations, PUSCH/PDSCH acceleration, and UMTS chip rate 26*4882a593Smuzhiyunacceleration 27*4882a593Smuzhiyun. CoreNet fabric that fully supports coherency using MESI protocol between the 28*4882a593Smuzhiyun e6500 cores, SC3900 FVP cores, memories and external interfaces. 29*4882a593Smuzhiyun CoreNet fabric interconnect runs at 667 MHz and supports coherent and 30*4882a593Smuzhiyun non-coherent out of order transactions with prioritization and bandwidth 31*4882a593Smuzhiyun allocation amongst CoreNet endpoints. 32*4882a593Smuzhiyun. Data Path Acceleration Architecture, which includes the following: 33*4882a593Smuzhiyun. Frame Manager (FMan), which supports in-line packet parsing and general 34*4882a593Smuzhiyun classification to enable policing and QoS-based packet distribution 35*4882a593Smuzhiyun. Queue Manager (QMan) and Buffer Manager (BMan), which allow offloading 36*4882a593Smuzhiyun of queue management, task management, load distribution, flow ordering, buffer 37*4882a593Smuzhiyun management, and allocation tasks from the cores 38*4882a593Smuzhiyun. Security engine (SEC 5.3)-crypto-acceleration for protocols such as IPsec, 39*4882a593Smuzhiyun SSL, and 802.16 40*4882a593Smuzhiyun. RapidIO manager (RMAN) - Support SRIO types 8, 9, 10, and 11 (inbound and 41*4882a593Smuzhiyun outbound). Supports types 5, 6 (outbound only) 42*4882a593Smuzhiyun. Large internal cache memory with snooping and stashing capabilities for 43*4882a593Smuzhiyun bandwidth saving and high utilization of processor elements. The 9856-Kbyte 44*4882a593Smuzhiyun internal memory space includes the following: 45*4882a593Smuzhiyun. 32 Kbyte L1 ICache per e6500/SC3900 core 46*4882a593Smuzhiyun. 32 Kbyte L1 DCache per e6500/SC3900 core 47*4882a593Smuzhiyun. 2048 Kbyte unified L2 cache for each SC3900 FVP cluster 48*4882a593Smuzhiyun. 2048 Kbyte unified L2 cache for the e6500 cluster 49*4882a593Smuzhiyun. Two 512 Kbyte shared L3 CoreNet platform caches (CPC) 50*4882a593Smuzhiyun. Sixteen 10-GHz SerDes lanes serving: 51*4882a593Smuzhiyun. Two Serial RapidIO interfaces. 52*4882a593Smuzhiyun - Each supports up to 4 lanes and a total of up to 8 lanes 53*4882a593Smuzhiyun. Up to 8-lanes Common Public Radio Interface (CPRI) controller for glue-less 54*4882a593Smuzhiyun antenna connection 55*4882a593Smuzhiyun. Two 10-Gbit Ethernet controllers (10GEC) 56*4882a593Smuzhiyun. Six 1G/2.5-Gbit Ethernet controllers for network communications 57*4882a593Smuzhiyun. PCI Express controller 58*4882a593Smuzhiyun. Debug (Aurora) 59*4882a593Smuzhiyun. Two OCeaN DMAs 60*4882a593Smuzhiyun. Various system peripherals 61*4882a593Smuzhiyun. 182 32-bit timers 62*4882a593Smuzhiyun 63*4882a593SmuzhiyunB4860QDS Overview 64*4882a593Smuzhiyun------------------ 65*4882a593Smuzhiyun- DDRC1: Ten separate DDR3 parts of 16-bit to support 72-bit (ECC) at 1866MT/s, ECC, 4 GB 66*4882a593Smuzhiyun of memory in two ranks of 2 GB. 67*4882a593Smuzhiyun- DDRC2: Five separate DDR3 parts of 16-bit to support 72-bit (ECC) at 1866MT/s, ECC, 2 GB 68*4882a593Smuzhiyun of memory. Single rank. 69*4882a593Smuzhiyun- SerDes 1 multiplexing: Two Vitesse (transmit and receive path) cross-point 16x16 switch 70*4882a593Smuzhiyun VSC3316 71*4882a593Smuzhiyun- SerDes 2 multiplexing: Two Vitesse (transmit and receive path) cross-point 8x8 switch VSC3308 72*4882a593Smuzhiyun- USB 2.0 ULPI PHY USB3315 by SMSC supports USB port in host mode. 73*4882a593Smuzhiyun B4860 UART port is available over USB-to-UART translator USB2SER or over RS232 flat cable. 74*4882a593Smuzhiyun- A Vitesse dual SGMII phy VSC8662 links the B4860 SGMII lines to 2xRJ-45 copper connectors 75*4882a593Smuzhiyun for Stand-alone mode and to the 1000Base-X over AMC MicroTCA connector ports 0 and 2 for 76*4882a593Smuzhiyun AMC mode. 77*4882a593Smuzhiyun- The B4860 configuration may be loaded from nine bits coded reset configuration reset source. The 78*4882a593Smuzhiyun RCW source is set by appropriate DIP-switches: 79*4882a593Smuzhiyun- 16-bit NOR Flash / PROMJet 80*4882a593Smuzhiyun- QIXIS 8-bit NOR Flash Emulator 81*4882a593Smuzhiyun- 8-bit NAND Flash 82*4882a593Smuzhiyun- 24-bit SPI Flash 83*4882a593Smuzhiyun- Long address I2C EEPROM 84*4882a593Smuzhiyun- Available debug interfaces are: 85*4882a593Smuzhiyun - On-board eCWTAP controller with ETH and USB I/F 86*4882a593Smuzhiyun - JTAG/COP 16-pin header for any external TAP controller 87*4882a593Smuzhiyun - External JTAG source over AMC to support B2B configuration 88*4882a593Smuzhiyun - 70-pin Aurora debug connector 89*4882a593Smuzhiyun- QIXIS (FPGA) logic: 90*4882a593Smuzhiyun - 2 KB internal memory space including 91*4882a593Smuzhiyun- IDT840NT4 clock synthesizer provides B4860 essential clocks : SYSCLK, DDRCLK1,2 and 92*4882a593Smuzhiyun RTCCLK. 93*4882a593Smuzhiyun- Two 8T49N222A SerDes ref clock devices support two SerDes port clock frequency - total four 94*4882a593Smuzhiyun refclk, including CPRI clock scheme. 95*4882a593Smuzhiyun 96*4882a593SmuzhiyunB4420 Personality 97*4882a593Smuzhiyun-------------------- 98*4882a593Smuzhiyun 99*4882a593SmuzhiyunB4420 Personality 100*4882a593Smuzhiyun-------------------- 101*4882a593SmuzhiyunB4420 is a reduced personality of B4860 with less core/clusters(both SC3900 and e6500), less DDR 102*4882a593Smuzhiyuncontrollers, less serdes lanes, less SGMII interfaces and reduced target frequencies. 103*4882a593Smuzhiyun 104*4882a593SmuzhiyunKey differences between B4860 and B4420 105*4882a593Smuzhiyun---------------------------------------- 106*4882a593Smuzhiyun 107*4882a593SmuzhiyunB4420 has: 108*4882a593Smuzhiyun1. Less e6500 cores: 1 cluster with 2 e6500 cores 109*4882a593Smuzhiyun2. Less SC3900 cores/clusters: 1 cluster with 2 SC3900 cores per cluster. 110*4882a593Smuzhiyun3. Single DDRC 111*4882a593Smuzhiyun4. 2X 4 lane serdes 112*4882a593Smuzhiyun5. 3 SGMII interfaces 113*4882a593Smuzhiyun6. no sRIO 114*4882a593Smuzhiyun7. no 10G 115*4882a593Smuzhiyun 116*4882a593SmuzhiyunB4860QDS Default Settings 117*4882a593Smuzhiyun------------------------- 118*4882a593Smuzhiyun 119*4882a593SmuzhiyunSwitch Settings 120*4882a593Smuzhiyun---------------- 121*4882a593Smuzhiyun 122*4882a593SmuzhiyunSW1 OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] 123*4882a593SmuzhiyunSW2 ON ON ON ON ON ON OFF OFF 124*4882a593SmuzhiyunSW3 OFF OFF OFF ON OFF OFF ON OFF 125*4882a593SmuzhiyunSW5 OFF OFF OFF OFF OFF OFF ON ON 126*4882a593Smuzhiyun 127*4882a593SmuzhiyunNote: PCIe slots modes: All the PCIe devices work as Root Complex. 128*4882a593SmuzhiyunNote: Boot location: NOR flash. 129*4882a593Smuzhiyun 130*4882a593SmuzhiyunSysClk/Core(e6500)/CCB/DDR/FMan/DDRCLK/StarCore/CPRI-Maple/eTVPE-Maple/ULB-Maple 131*4882a593Smuzhiyun66MHz/1.6GHz/667MHz/1.6GHz data rate/667MHz/133MHz/1200MHz/500MHz/800MHz/667MHz 132*4882a593Smuzhiyun 133*4882a593Smuzhiyuna) NAND boot 134*4882a593Smuzhiyun SW1 [1.1] = 0 135*4882a593Smuzhiyun SW2 [1.1] = 1 136*4882a593Smuzhiyun SW3 [1:4] = 0001 137*4882a593Smuzhiyunb) NOR boot 138*4882a593Smuzhiyun SW1 [1.1] = 1 139*4882a593Smuzhiyun SW2 [1.1] = 0 140*4882a593Smuzhiyun SW3 [1:4] = 1000. 141*4882a593Smuzhiyun 142*4882a593SmuzhiyunB4420QDS Default Settings 143*4882a593Smuzhiyun------------------------- 144*4882a593Smuzhiyun 145*4882a593SmuzhiyunSwitch Settings 146*4882a593Smuzhiyun---------------- 147*4882a593SmuzhiyunSW1 OFF[0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] OFF [0] 148*4882a593SmuzhiyunSW2 ON OFF ON OFF ON ON OFF OFF 149*4882a593SmuzhiyunSW3 OFF OFF OFF ON OFF OFF ON OFF 150*4882a593SmuzhiyunSW5 OFF OFF OFF OFF OFF OFF ON ON 151*4882a593Smuzhiyun 152*4882a593SmuzhiyunNote: PCIe slots modes: All the PCIe devices work as Root Complex. 153*4882a593SmuzhiyunNote: Boot location: NOR flash. 154*4882a593Smuzhiyun 155*4882a593SmuzhiyunSysClk/Core(e6500)/CCB/DDR/FMan/DDRCLK/StarCore/CPRI-Maple/eTVPE-Maple/ULB-Maple 156*4882a593Smuzhiyun66MHz/1.6GHz/667MHz/1.6GHz data rate/667MHz/133MHz/1200MHz/500MHz/800MHz/667MHz 157*4882a593Smuzhiyun 158*4882a593Smuzhiyuna) NAND boot 159*4882a593Smuzhiyun SW1 [1.1] = 0 160*4882a593Smuzhiyun SW2 [1.1] = 1 161*4882a593Smuzhiyun SW3 [1:4] = 0001 162*4882a593Smuzhiyunb) NOR boot 163*4882a593Smuzhiyun SW1 [1.1] = 1 164*4882a593Smuzhiyun SW2 [1.1] = 0 165*4882a593Smuzhiyun SW3 [1:4] = 1000. 166*4882a593Smuzhiyun 167*4882a593SmuzhiyunMemory map on B4860QDS 168*4882a593Smuzhiyun---------------------- 169*4882a593SmuzhiyunThe addresses in brackets are physical addresses. 170*4882a593Smuzhiyun 171*4882a593SmuzhiyunStart Address End Address Description Size 172*4882a593Smuzhiyun0xF_FFDF_1000 0xF_FFFF_FFFF Free 2 MB 173*4882a593Smuzhiyun0xF_FFDF_0000 0xF_FFDF_0FFF IFC - FPGA 4 KB 174*4882a593Smuzhiyun0xF_FF81_0000 0xF_FFDE_FFFF Free 5 MB 175*4882a593Smuzhiyun0xF_FF80_0000 0xF_FF80_FFFF IFC NAND Flash 64 KB 176*4882a593Smuzhiyun0xF_FF00_0000 0xF_FF7F_FFFF Free 8 MB 177*4882a593Smuzhiyun0xF_FE00_0000 0xF_FEFF_FFFF CCSRBAR 16 MB 178*4882a593Smuzhiyun0xF_F801_0000 0xF_FDFF_FFFF Free 95 MB 179*4882a593Smuzhiyun0xF_F800_0000 0xF_F800_FFFF PCIe I/O Space 64 KB 180*4882a593Smuzhiyun0xF_F600_0000 0xF_F7FF_FFFF QMAN s/w portal 32 MB 181*4882a593Smuzhiyun0xF_F400_0000 0xF_F5FF_FFFF BMAN s/w portal 32 MB 182*4882a593Smuzhiyun0xF_F000_0000 0xF_F3FF_FFFF Free 64 MB 183*4882a593Smuzhiyun0xF_E800_0000 0xF_EFFF_FFFF IFC NOR Flash 128 MB 184*4882a593Smuzhiyun0xF_E000_0000 0xF_E7FF_FFFF Promjet 128 MB 185*4882a593Smuzhiyun0xF_A0C0_0000 0xF_DFFF_FFFF Free 1012 MB 186*4882a593Smuzhiyun0xF_A000_0000 0xF_A0BF_FFFF MAPLE0/1/2 12 MB 187*4882a593Smuzhiyun0xF_0040_0000 0xF_9FFF_FFFF Free 12 GB 188*4882a593Smuzhiyun0xF_0000_0000 0xF_01FF_FFFF DCSR 32 MB 189*4882a593Smuzhiyun0xC_4000_0000 0xE_FFFF_FFFF Free 11 GB 190*4882a593Smuzhiyun0xC_3000_0000 0xC_3FFF_FFFF sRIO-2 I/O 256 MB 191*4882a593Smuzhiyun0xC_2000_0000 0xC_2FFF_FFFF sRIO-1 I/O 256 MB 192*4882a593Smuzhiyun0xC_0000_0000 0xC_1FFF_FFFF PCIe Mem Space 512 MB 193*4882a593Smuzhiyun0x1_0000_0000 0xB_FFFF_FFFF Free 44 GB 194*4882a593Smuzhiyun0x0_8000_0000 0x0_FFFF_FFFF DDRC1 2 GB 195*4882a593Smuzhiyun0x0_0000_0000 0x0_7FFF_FFFF DDRC2 2 GB 196*4882a593Smuzhiyun 197*4882a593SmuzhiyunMemory map on B4420QDS 198*4882a593Smuzhiyun---------------------- 199*4882a593SmuzhiyunThe addresses in brackets are physical addresses. 200*4882a593Smuzhiyun 201*4882a593SmuzhiyunStart Address End Address Description Size 202*4882a593Smuzhiyun0xF_FFDF_1000 0xF_FFFF_FFFF Free 2 MB 203*4882a593Smuzhiyun0xF_FFDF_0000 0xF_FFDF_0FFF IFC - FPGA 4 KB 204*4882a593Smuzhiyun0xF_FF81_0000 0xF_FFDE_FFFF Free 5 MB 205*4882a593Smuzhiyun0xF_FF80_0000 0xF_FF80_FFFF IFC NAND Flash 64 KB 206*4882a593Smuzhiyun0xF_FF00_0000 0xF_FF7F_FFFF Free 8 MB 207*4882a593Smuzhiyun0xF_FE00_0000 0xF_FEFF_FFFF CCSRBAR 16 MB 208*4882a593Smuzhiyun0xF_F801_0000 0xF_FDFF_FFFF Free 95 MB 209*4882a593Smuzhiyun0xF_F800_0000 0xF_F800_FFFF PCIe I/O Space 64 KB 210*4882a593Smuzhiyun0xF_F600_0000 0xF_F7FF_FFFF QMAN s/w portal 32 MB 211*4882a593Smuzhiyun0xF_F400_0000 0xF_F5FF_FFFF BMAN s/w portal 32 MB 212*4882a593Smuzhiyun0xF_F000_0000 0xF_F3FF_FFFF Free 64 MB 213*4882a593Smuzhiyun0xF_E800_0000 0xF_EFFF_FFFF IFC NOR Flash 128 MB 214*4882a593Smuzhiyun0xF_E000_0000 0xF_E7FF_FFFF Promjet 128 MB 215*4882a593Smuzhiyun0xF_A0C0_0000 0xF_DFFF_FFFF Free 1012 MB 216*4882a593Smuzhiyun0xF_A000_0000 0xF_A0BF_FFFF MAPLE0/1/2 12 MB 217*4882a593Smuzhiyun0xF_0040_0000 0xF_9FFF_FFFF Free 12 GB 218*4882a593Smuzhiyun0xF_0000_0000 0xF_01FF_FFFF DCSR 32 MB 219*4882a593Smuzhiyun0xC_4000_0000 0xE_FFFF_FFFF Free 11 GB 220*4882a593Smuzhiyun0xC_3000_0000 0xC_3FFF_FFFF sRIO-2 I/O 256 MB 221*4882a593Smuzhiyun0xC_2000_0000 0xC_2FFF_FFFF sRIO-1 I/O 256 MB 222*4882a593Smuzhiyun0xC_0000_0000 0xC_1FFF_FFFF PCIe Mem Space 512 MB 223*4882a593Smuzhiyun0x1_0000_0000 0xB_FFFF_FFFF Free 44 GB 224*4882a593Smuzhiyun0x0_0000_0000 0x0_FFFF_FFFF DDRC1 4 GB 225*4882a593Smuzhiyun 226*4882a593Smuzhiyun 227*4882a593SmuzhiyunNOR Flash memory Map on B4860 and B4420QDS 228*4882a593Smuzhiyun------------------------------------------ 229*4882a593Smuzhiyun Start End Definition Size 230*4882a593Smuzhiyun0xEFF40000 0xEFFFFFFF U-Boot (current bank) 768KB 231*4882a593Smuzhiyun0xEFF20000 0xEFF3FFFF U-Boot env (current bank) 128KB 232*4882a593Smuzhiyun0xEFF00000 0xEFF1FFFF FMAN Ucode (current bank) 128KB 233*4882a593Smuzhiyun0xEF300000 0xEFEFFFFF rootfs (alternate bank) 12MB 234*4882a593Smuzhiyun0xEE800000 0xEE8FFFFF device tree (alternate bank) 1MB 235*4882a593Smuzhiyun0xEE020000 0xEE6FFFFF Linux.uImage (alternate bank) 6MB+896KB 236*4882a593Smuzhiyun0xEE000000 0xEE01FFFF RCW (alternate bank) 128KB 237*4882a593Smuzhiyun0xEDF40000 0xEDFFFFFF U-Boot (alternate bank) 768KB 238*4882a593Smuzhiyun0xEDF20000 0xEDF3FFFF U-Boot env (alternate bank) 128KB 239*4882a593Smuzhiyun0xEDF00000 0xEDF1FFFF FMAN ucode (alternate bank) 128KB 240*4882a593Smuzhiyun0xED300000 0xEDEFFFFF rootfs (current bank) 12MB 241*4882a593Smuzhiyun0xEC800000 0xEC8FFFFF device tree (current bank) 1MB 242*4882a593Smuzhiyun0xEC020000 0xEC6FFFFF Linux.uImage (current bank) 6MB+896KB 243*4882a593Smuzhiyun0xEC000000 0xEC01FFFF RCW (current bank) 128KB 244*4882a593Smuzhiyun 245*4882a593SmuzhiyunVarious Software configurations/environment variables/commands 246*4882a593Smuzhiyun-------------------------------------------------------------- 247*4882a593SmuzhiyunThe below commands apply to both B4860QDS and B4420QDS. 248*4882a593Smuzhiyun 249*4882a593Smuzhiyun1. U-Boot environment variable hwconfig 250*4882a593Smuzhiyun The default hwconfig is: 251*4882a593Smuzhiyun hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1: 252*4882a593Smuzhiyun dr_mode=host,phy_type=ulpi 253*4882a593Smuzhiyun Note: For USB gadget set "dr_mode=peripheral" 254*4882a593Smuzhiyun 255*4882a593Smuzhiyun2. FMAN Ucode versions 256*4882a593Smuzhiyun fsl_fman_ucode_B4860_106_3_6.bin 257*4882a593Smuzhiyun 258*4882a593Smuzhiyun3. Switching to alternate bank 259*4882a593Smuzhiyun Commands for switching to alternate bank. 260*4882a593Smuzhiyun 261*4882a593Smuzhiyun 1. To change from vbank0 to vbank2 262*4882a593Smuzhiyun => qixis_reset altbank (it will boot using vbank2) 263*4882a593Smuzhiyun 264*4882a593Smuzhiyun 2.To change from vbank2 to vbank0 265*4882a593Smuzhiyun => qixis reset (it will boot using vbank0) 266*4882a593Smuzhiyun 267*4882a593Smuzhiyun4. To change personality of board 268*4882a593Smuzhiyun For changing personality from B4860 to B4420 269*4882a593Smuzhiyun 1)Boot from vbank0 270*4882a593Smuzhiyun 2)Flash vbank2 with b4420 rcw and U-Boot 271*4882a593Smuzhiyun 3)Give following commands to uboot prompt 272*4882a593Smuzhiyun => mw.b ffdf0040 0x30; 273*4882a593Smuzhiyun => mw.b ffdf0010 0x00; 274*4882a593Smuzhiyun => mw.b ffdf0062 0x02; 275*4882a593Smuzhiyun => mw.b ffdf0050 0x02; 276*4882a593Smuzhiyun => mw.b ffdf0010 0x30; 277*4882a593Smuzhiyun => reset 278*4882a593Smuzhiyun 279*4882a593Smuzhiyun Note: Power off cycle will lead to default switch settings. 280*4882a593Smuzhiyun Note: 0xffdf0000 is the address of the QIXIS FPGA. 281*4882a593Smuzhiyun 282*4882a593Smuzhiyun5. Switching between NOR and NAND boot(RCW src changed from NOR <-> NAND) 283*4882a593Smuzhiyun 284*4882a593Smuzhiyun To change from NOR to NAND boot give following command on uboot prompt 285*4882a593Smuzhiyun => mw.b ffdf0040 0x30 286*4882a593Smuzhiyun => mw.b ffdf0010 0x00 287*4882a593Smuzhiyun => mw.b 0xffdf0050 0x08 288*4882a593Smuzhiyun => mw.b 0xffdf0060 0x82 289*4882a593Smuzhiyun => mw.b ffdf0061 0x00 290*4882a593Smuzhiyun => mw.b ffdf0010 0x30 291*4882a593Smuzhiyun => reset 292*4882a593Smuzhiyun 293*4882a593Smuzhiyun To change from NAND to NOR boot give following command on uboot prompt: 294*4882a593Smuzhiyun => mw.b ffdf0040 0x30 295*4882a593Smuzhiyun => mw.b ffdf0010 0x00 296*4882a593Smuzhiyun => mw.b 0xffdf0050 0x00(for vbank0) or (mw.b 0xffdf0050 0x02 for vbank2) 297*4882a593Smuzhiyun => mw.b 0xffdf0060 0x12 298*4882a593Smuzhiyun => mw.b ffdf0061 0x01 299*4882a593Smuzhiyun => mw.b ffdf0010 0x30 300*4882a593Smuzhiyun => reset 301*4882a593Smuzhiyun 302*4882a593Smuzhiyun Note: Power off cycle will lead to default switch settings. 303*4882a593Smuzhiyun Note: 0xffdf0000 is the address of the QIXIS FPGA. 304*4882a593Smuzhiyun 305*4882a593Smuzhiyun6. Ethernet interfaces for B4860QDS 306*4882a593Smuzhiyun Serdes protocosl tested: 307*4882a593Smuzhiyun 0x2a, 0x8d (serdes1, serdes2) [DEFAULT] 308*4882a593Smuzhiyun 0x2a, 0xb2 (serdes1, serdes2) 309*4882a593Smuzhiyun 310*4882a593Smuzhiyun When using [DEFAULT] RCW, which including 2 * 1G SGMII on board and 2 * 1G 311*4882a593Smuzhiyun SGMII on SGMII riser card. 312*4882a593Smuzhiyun Under U-Boot these network interfaces are recognized as: 313*4882a593Smuzhiyun FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 and FM1@DTSEC6. 314*4882a593Smuzhiyun 315*4882a593Smuzhiyun On Linux the interfaces are renamed as: 316*4882a593Smuzhiyun . eth2 -> fm1-gb2 317*4882a593Smuzhiyun . eth3 -> fm1-gb3 318*4882a593Smuzhiyun . eth4 -> fm1-gb4 319*4882a593Smuzhiyun . eth5 -> fm1-gb5 320*4882a593Smuzhiyun 321*4882a593Smuzhiyun7. RCW and Ethernet interfaces for B4420QDS 322*4882a593Smuzhiyun Serdes protocosl tested: 323*4882a593Smuzhiyun 0x18, 0x9e (serdes1, serdes2) 324*4882a593Smuzhiyun 325*4882a593Smuzhiyun Under U-Boot these network interfaces are recognized as: 326*4882a593Smuzhiyun FM1@DTSEC3, FM1@DTSEC4 and e1000#0. 327*4882a593Smuzhiyun 328*4882a593Smuzhiyun On Linux the interfaces are renamed as: 329*4882a593Smuzhiyun . eth2 -> fm1-gb2 330*4882a593Smuzhiyun . eth3 -> fm1-gb3 331*4882a593Smuzhiyun 332*4882a593SmuzhiyunNAND boot with 2 Stage boot loader 333*4882a593Smuzhiyun---------------------------------- 334*4882a593SmuzhiyunPBL initialise the internal SRAM and copy SPL(160KB) in SRAM. 335*4882a593SmuzhiyunSPL further initialise DDR using SPD and environment variables and copy 336*4882a593SmuzhiyunU-Boot(768 KB) from flash to DDR. 337*4882a593SmuzhiyunFinally SPL transer control to U-Boot for futher booting. 338*4882a593Smuzhiyun 339*4882a593SmuzhiyunSPL has following features: 340*4882a593Smuzhiyun - Executes within 256K 341*4882a593Smuzhiyun - No relocation required 342*4882a593Smuzhiyun 343*4882a593Smuzhiyun Run time view of SPL framework during boot :- 344*4882a593Smuzhiyun ----------------------------------------------- 345*4882a593Smuzhiyun Area | Address | 346*4882a593Smuzhiyun----------------------------------------------- 347*4882a593Smuzhiyun Secure boot | 0xFFFC0000 (32KB) | 348*4882a593Smuzhiyun headers | | 349*4882a593Smuzhiyun ----------------------------------------------- 350*4882a593Smuzhiyun GD, BD | 0xFFFC8000 (4KB) | 351*4882a593Smuzhiyun ----------------------------------------------- 352*4882a593Smuzhiyun ENV | 0xFFFC9000 (8KB) | 353*4882a593Smuzhiyun ----------------------------------------------- 354*4882a593Smuzhiyun HEAP | 0xFFFCB000 (30KB) | 355*4882a593Smuzhiyun ----------------------------------------------- 356*4882a593Smuzhiyun STACK | 0xFFFD8000 (22KB) | 357*4882a593Smuzhiyun ----------------------------------------------- 358*4882a593Smuzhiyun U-Boot SPL | 0xFFFD8000 (160KB) | 359*4882a593Smuzhiyun ----------------------------------------------- 360*4882a593Smuzhiyun 361*4882a593SmuzhiyunNAND Flash memory Map on B4860 and B4420QDS 362*4882a593Smuzhiyun------------------------------------------ 363*4882a593Smuzhiyun Start End Definition Size 364*4882a593Smuzhiyun0x000000 0x0FFFFF U-Boot 1MB 365*4882a593Smuzhiyun0x140000 0x15FFFF U-Boot env 128KB 366*4882a593Smuzhiyun0x1A0000 0x1BFFFF FMAN Ucode 128KB 367