Shengzhou Liu | f13321d | 2014-03-05 15:04:48 +0800 | [diff] [blame] | 1 | T2080PCIe-RDB is a Freescale Reference Design Board that hosts the T2080 SoC. |
| 2 | It can work in two mode: standalone mode and PCIe endpoint mode. |
| 3 | |
| 4 | T2080 SoC Overview |
| 5 | ------------------ |
| 6 | The T2080 QorIQ multicore processor combines four dual-threaded e6500 Power |
| 7 | Architecture processor cores with high-performance datapath acceleration |
| 8 | logic and network and peripheral bus interfaces required for networking, |
| 9 | telecom/datacom, wireless infrastructure, and mil/aerospace applications. |
| 10 | |
| 11 | T2080 includes the following functions and features: |
| 12 | - Four dual-threads 64-bit Power architecture e6500 cores, up to 1.8GHz |
| 13 | - 2MB L2 cache and 512KB CoreNet platform cache (CPC) |
| 14 | - Hierarchical interconnect fabric |
| 15 | - One 32-/64-bit DDR3/3L SDRAM memory controllers with ECC and interleaving |
| 16 | - Data Path Acceleration Architecture (DPAA) incorporating acceleration |
| 17 | - 16 SerDes lanes up to 10.3125 GHz |
| 18 | - 8 Ethernet interfaces, supporting combinations of the following: |
| 19 | - Up to four 10 Gbps Ethernet MACs |
| 20 | - Up to eight 1 Gbps Ethernet MACs |
| 21 | - Up to four 2.5 Gbps Ethernet MACs |
| 22 | - High-speed peripheral interfaces |
| 23 | - Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0 with SR-IOV) |
| 24 | - Two Serial RapidIO 2.0 controllers/ports running at up to 5 GHz |
| 25 | - Additional peripheral interfaces |
| 26 | - Two serial ATA (SATA 2.0) controllers |
| 27 | - Two high-speed USB 2.0 controllers with integrated PHY |
| 28 | - Enhanced secure digital host controller (SD/SDHC/SDXC/eMMC) |
| 29 | - Enhanced serial peripheral interface (eSPI) |
| 30 | - Four I2C controllers |
| 31 | - Four 2-pin UARTs or two 4-pin UARTs |
| 32 | - Integrated Flash Controller supporting NAND and NOR flash |
| 33 | - Three eight-channel DMA engines |
| 34 | - Support for hardware virtualization and partitioning enforcement |
| 35 | - QorIQ Platform's Trust Architecture 2.0 |
| 36 | |
| 37 | Differences between T2080 and T2081 |
| 38 | ----------------------------------- |
| 39 | Feature T2080 T2081 |
| 40 | 1G Ethernet numbers: 8 6 |
| 41 | 10G Ethernet numbers: 4 2 |
| 42 | SerDes lanes: 16 8 |
| 43 | Serial RapidIO,RMan: 2 no |
| 44 | SATA Controller: 2 no |
| 45 | Aurora: yes no |
| 46 | SoC Package: 896-pins 780-pins |
| 47 | |
| 48 | |
| 49 | T2080PCIe-RDB board Overview |
| 50 | ---------------------------- |
| 51 | - SERDES Configuration |
| 52 | - SerDes-1 Lane A-B: to two 10G XFI fiber (MAC9 & MAC10) |
| 53 | - SerDes-1 Lane C-D: to two 10G Base-T (MAC1 & MAC2) |
| 54 | - SerDes-1 Lane E-H: to PCIe Goldfinger (PCIe4 x4, Gen3) |
| 55 | - SerDes-2 Lane A-D: to PCIe Slot (PCIe1 x4, Gen2) |
| 56 | - SerDes-2 Lane E-F: to C293 secure co-processor (PCIe2 x2) |
| 57 | - SerDes-2 Lane G-H: to SATA1 & SATA2 |
| 58 | - Ethernet |
| 59 | - Two on-board 10M/100M/1G RGMII ethernet ports |
| 60 | - Two on-board 10Gbps XFI fiber ports |
| 61 | - Two on-board 10Gbps Base-T copper ports |
| 62 | - DDR Memory |
| 63 | - Supports 72bit 4GB DDR3-LP SODIMM |
| 64 | - PCIe |
| 65 | - One PCIe x4 gold-finger |
| 66 | - One PCIe x4 connector |
| 67 | - One PCIe x2 end-point device (C293 Crypto co-processor) |
| 68 | - IFC/Local Bus |
| 69 | - NOR: 128MB 16-bit NOR Flash |
| 70 | - NAND: 512MB 8-bit NAND flash |
| 71 | - CPLD: for system controlling with programable header on-board |
| 72 | - SATA |
| 73 | - Two SATA 2.0 onnectors on-board |
| 74 | - USB |
| 75 | - Supports two USB 2.0 ports with integrated PHYs |
| 76 | - Two type A ports with 5V@1.5A per port. |
| 77 | - SDHC |
| 78 | - one TF-card connector on-board |
| 79 | - SPI |
| 80 | - On-board 64MB SPI flash |
| 81 | - Other |
| 82 | - Two Serial ports |
| 83 | - Four I2C ports |
| 84 | |
| 85 | |
| 86 | System Memory map |
| 87 | ----------------- |
| 88 | Start Address End Address Description Size |
| 89 | 0xF_FFDF_0000 0xF_FFDF_0FFF IFC - CPLD 4KB |
| 90 | 0xF_FF80_0000 0xF_FF80_FFFF IFC - NAND Flash 64KB |
| 91 | 0xF_FE00_0000 0xF_FEFF_FFFF CCSRBAR 16MB |
| 92 | 0xF_F803_0000 0xF_F803_FFFF PCI Express 4 I/O Space 64KB |
| 93 | 0xF_F802_0000 0xF_F802_FFFF PCI Express 3 I/O Space 64KB |
| 94 | 0xF_F801_0000 0xF_F801_FFFF PCI Express 2 I/O Space 64KB |
| 95 | 0xF_F800_0000 0xF_F800_FFFF PCI Express 1 I/O Space 64KB |
| 96 | 0xF_F600_0000 0xF_F7FF_FFFF Queue manager software portal 32MB |
| 97 | 0xF_F400_0000 0xF_F5FF_FFFF Buffer manager software portal 32MB |
| 98 | 0xF_E800_0000 0xF_EFFF_FFFF IFC - NOR Flash 128MB |
| 99 | 0xF_0000_0000 0xF_003F_FFFF DCSR 4MB |
| 100 | 0xC_4000_0000 0xC_4FFF_FFFF PCI Express 4 Mem Space 256MB |
| 101 | 0xC_3000_0000 0xC_3FFF_FFFF PCI Express 3 Mem Space 256MB |
| 102 | 0xC_2000_0000 0xC_2FFF_FFFF PCI Express 2 Mem Space 256MB |
| 103 | 0xC_0000_0000 0xC_1FFF_FFFF PCI Express 1 Mem Space 512MB |
| 104 | 0x0_0000_0000 0x0_ffff_ffff DDR 4GB |
| 105 | |
| 106 | |
| 107 | 128M NOR Flash memory Map |
| 108 | ------------------------- |
| 109 | Start Address End Address Definition Max size |
| 110 | 0xEFF40000 0xEFFFFFFF u-boot (current bank) 768KB |
| 111 | 0xEFF20000 0xEFF3FFFF u-boot env (current bank) 128KB |
| 112 | 0xEFF00000 0xEFF1FFFF FMAN Ucode (current bank) 128KB |
| 113 | 0xEFE00000 0xEFE3FFFF PHY CS4315 firmware 256KB |
| 114 | 0xED300000 0xEFEFFFFF rootfs (alt bank) 44MB |
| 115 | 0xEC800000 0xEC8FFFFF Hardware device tree (alt bank) 1MB |
| 116 | 0xEC020000 0xEC7FFFFF Linux.uImage (alt bank) 7MB + 875KB |
| 117 | 0xEC000000 0xEC01FFFF RCW (alt bank) 128KB |
| 118 | 0xEBF40000 0xEBFFFFFF u-boot (alt bank) 768KB |
| 119 | 0xEBF20000 0xEBF3FFFF u-boot env (alt bank) 128KB |
| 120 | 0xEBF00000 0xEBF1FFFF FMAN ucode (alt bank) 128KB |
| 121 | 0xEBE00000 0xEBE3FFFF PHY CS4315 firmware (alt bank) 256KB |
| 122 | 0xE9300000 0xEBEFFFFF rootfs (current bank) 44MB |
| 123 | 0xE8800000 0xE88FFFFF Hardware device tree (cur bank) 11MB + 512KB |
| 124 | 0xE8020000 0xE86FFFFF Linux.uImage (current bank) 7MB + 875KB |
| 125 | 0xE8000000 0xE801FFFF RCW (current bank) 128KB |
| 126 | |
| 127 | |
| 128 | T2080PCIe-RDB Ethernet Port Map |
| 129 | ------------------------------- |
| 130 | Label In Uboot In Linux FMan Address Comments PHY |
| 131 | ETH0 FM1@GTEC1 fm1-mac9 0xfe4f0000 10G SFP+ (CS4315) |
| 132 | ETH1 FM1@GTEC2 fm1-mac10 0xfe4f2000 10G SFP+ (CS4315) |
| 133 | ETH2 FM1@GTEC3 fm1-mac1 0xfe4e0000 10G Base-T (AQ1202) |
| 134 | ETH3 FM1@GTEC4 fm1-mac2 0xfe4e2000 10G Base-T (AQ1202) |
| 135 | ETH4 FM1@DTSEC3 fm1-mac3 0xfe4e4000 1G RGMII (RTL8211E) |
| 136 | ETH5 FM1@DTSEC4 fm1-mac4 0xfe4e6000 1G RGMII (RTL8211E) |
| 137 | |
| 138 | |
| 139 | T2080PCIe-RDB Default DIP-Switch setting |
| 140 | ---------------------------------------- |
| 141 | SW1[1:8] = '00010011' |
| 142 | SW2[1:8] = '10111111' |
| 143 | SW3[1:8] = '11100001' |
| 144 | |
| 145 | Software configurations and board settings |
| 146 | ------------------------------------------ |
| 147 | 1. NOR boot: |
| 148 | a. build NOR boot image |
| 149 | $ make T2080RDB |
| 150 | b. program u-boot.bin image to NOR flash |
| 151 | => tftp 1000000 u-boot.bin |
| 152 | => pro off all;era eff40000 efffffff;cp.b 1000000 eff40000 $filesize |
| 153 | set SW1[1:8] = '00010011', SW2[1] = '1', SW3[4] = '0' for NOR boot |
| 154 | |
| 155 | Switching between default bank and alternate bank on NOR flash |
| 156 | To change boot source to vbank4: |
| 157 | via software: run command 'cpld reset altbank' in u-boot. |
| 158 | via DIP-switch: set SW3[5:7] = '011' |
| 159 | |
| 160 | To change boot source to vbank0: |
| 161 | via software: run command 'cpld reset' in u-boot. |
| 162 | via DIP-Switch: set SW3[5:7] = '111' |
| 163 | |
| 164 | 2. NAND Boot: |
| 165 | a. build PBL image for NAND boot |
| 166 | $ make T2080RDB_NAND_config |
| 167 | $ make u-boot.pbl |
| 168 | b. program u-boot.pbl to NAND flash |
| 169 | => tftp 1000000 u-boot.pbl |
| 170 | => nand erase 0 d0000 |
| 171 | => nand write 1000000 0 $filesize |
| 172 | set SW1[1:8] = '10000010', SW2[1] = '1', SW3[4] = '1' for NAND boot |
| 173 | |
| 174 | 3. SPI Boot: |
| 175 | a. build PBL image for SPI boot |
| 176 | $ make T2080RDB_SPIFLASH_config |
| 177 | $ make u-boot.pbl |
| 178 | b. program u-boot.pbl to SPI flash |
| 179 | => tftp 1000000 u-boot.pbl |
| 180 | => sf probe 0 |
| 181 | => sf erase 0 d0000 |
| 182 | => sf write 1000000 0 $filesize |
| 183 | set SW1[1:8] = '00100010', SW2[1] ='1' for SPI boot |
| 184 | |
| 185 | 4. SD Boot: |
| 186 | a. build PBL image for SD boot |
| 187 | $ make T2080RDB_SDCARD_config |
| 188 | $ make u-boot.pbl |
| 189 | b. program u-boot.pbl to TF card |
| 190 | => tftp 1000000 u-boot.pbl |
| 191 | => mmc write 1000000 8 1650 |
| 192 | set SW1[1:8] = '00100000', SW2[1] = '0' for SD boot |
| 193 | |
| 194 | |
| 195 | How to update the ucode of Cortina CS4315/CS4340 10G PHY |
| 196 | -------------------------------------------------------- |
| 197 | => tftp 1000000 CS4315-CS4340-PHY-ucode.txt |
| 198 | => pro off all;era 0xefe00000 0xefefffff;cp.b 1000000 0xefe00000 $filesize |
| 199 | |
| 200 | |
| 201 | How to update the ucode of Freescale FMAN |
| 202 | ----------------------------------------- |
| 203 | => tftp 1000000 fsl_fman_ucode_t2080_r1.0.bin |
| 204 | => pro off all;erase 0xeff00000 0xeff1ffff;cp 1000000 0xeff00000 $filesize |
| 205 | |
| 206 | |
| 207 | For more details, please refer to T2080PCIe-RDB User Guide and access |
| 208 | website www.freescale.com and Freescale QorIQ SDK Infocenter document. |