Priyanka Jain | 062ef1a | 2013-10-18 17:19:06 +0530 | [diff] [blame] | 1 | Overview |
| 2 | -------- |
| 3 | The T1040RDB is a Freescale reference board that hosts the T1040 SoC |
| 4 | (and variants). Variants inclued T1042 presonality of T1040, in which |
| 5 | case T1040RDB can also be called T1042RDB. |
| 6 | |
vijay rai | 363fb32 | 2014-08-19 12:46:53 +0530 | [diff] [blame^] | 7 | The T1042RDB is a Freescale reference board that hosts the T1042 SoC |
| 8 | (and variants). The board is similar to T1040RDB, T1040 is a reduced |
| 9 | personality of T1040 SoC without Integrated 8-port Gigabit(L2 Switch). |
| 10 | |
Priyanka Jain | 0d7ba2e | 2013-10-18 17:19:23 +0530 | [diff] [blame] | 11 | The T1042RDB_PI is a Freescale reference board that hosts the T1042 SoC. |
| 12 | (a personality of T1040 SoC). The board is similar to T1040RDB but is |
| 13 | designed specially with low power features targeted for Printing Image Market. |
| 14 | |
vijay rai | 363fb32 | 2014-08-19 12:46:53 +0530 | [diff] [blame^] | 15 | Basic difference's among T1040RDB, T1042RDB_PI, T1042RDB |
| 16 | ------------------------------------------------------------------------- |
| 17 | Board Si Protocol Targeted Market |
| 18 | ------------------------------------------------------------------------- |
| 19 | T1040RDB T1040 0x66 Networking |
| 20 | T1040RDB T1042 0x86 Networking |
| 21 | T1042RDB_PI T1042 0x06 Printing & Imaging |
| 22 | |
| 23 | |
Priyanka Jain | 062ef1a | 2013-10-18 17:19:06 +0530 | [diff] [blame] | 24 | T1040 SoC Overview |
| 25 | ------------------ |
| 26 | The QorIQ T1040/T1042 processor support four integrated 64-bit e5500 PA |
| 27 | processor cores with high-performance data path acceleration architecture |
| 28 | and network peripheral interfaces required for networking & telecommunications. |
| 29 | |
| 30 | The T1040/T1042 SoC includes the following function and features: |
| 31 | |
| 32 | - Four e5500 cores, each with a private 256 KB L2 cache |
| 33 | - 256 KB shared L3 CoreNet platform cache (CPC) |
| 34 | - Interconnect CoreNet platform |
| 35 | - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving |
| 36 | support |
| 37 | - Data Path Acceleration Architecture (DPAA) incorporating acceleration |
| 38 | for the following functions: |
| 39 | - Packet parsing, classification, and distribution |
| 40 | - Queue management for scheduling, packet sequencing, and congestion |
| 41 | management |
| 42 | - Cryptography Acceleration (SEC 5.0) |
| 43 | - RegEx Pattern Matching Acceleration (PME 2.2) |
| 44 | - IEEE Std 1588 support |
| 45 | - Hardware buffer management for buffer allocation and deallocation |
| 46 | - Ethernet interfaces |
| 47 | - Integrated 8-port Gigabit Ethernet switch (T1040 only) |
| 48 | - Four 1 Gbps Ethernet controllers |
| 49 | - Two RGMII interfaces or one RGMII and one MII interfaces |
| 50 | - High speed peripheral interfaces |
| 51 | - Four PCI Express 2.0 controllers running at up to 5 GHz |
| 52 | - Two SATA controllers supporting 1.5 and 3.0 Gb/s operation |
| 53 | - Upto two QSGMII interface |
| 54 | - Upto six SGMII interface supporting 1000 Mbps |
| 55 | - One SGMII interface supporting upto 2500 Mbps |
| 56 | - Additional peripheral interfaces |
| 57 | - Two USB 2.0 controllers with integrated PHY |
| 58 | - SD/eSDHC/eMMC |
| 59 | - eSPI controller |
| 60 | - Four I2C controllers |
| 61 | - Four UARTs |
| 62 | - Four GPIO controllers |
| 63 | - Integrated flash controller (IFC) |
| 64 | - LCD and HDMI interface (DIU) with 12 bit dual data rate |
| 65 | - TDM interface |
| 66 | - Multicore programmable interrupt controller (PIC) |
| 67 | - Two 8-channel DMA engines |
| 68 | - Single source clocking implementation |
| 69 | - Deep Sleep power implementaion (wakeup from GPIO/Timer/Ethernet/USB) |
| 70 | |
| 71 | T1040 SoC Personalities |
| 72 | ------------------------- |
| 73 | |
| 74 | T1022 Personality: |
| 75 | T1022 is a reduced personality of T1040 with less core/clusters. |
| 76 | |
| 77 | T1042 Personality: |
| 78 | T1042 is a reduced personality of T1040 without Integrated 8-port Gigabit |
| 79 | Ethernet switch. Rest of the blocks are same as T1040 |
| 80 | |
| 81 | |
| 82 | T1040RDB board Overview |
| 83 | ------------------------- |
| 84 | - SERDES Connections, 8 lanes information: |
| 85 | 1: None |
| 86 | 2: SGMII |
| 87 | 3: QSGMII |
| 88 | 4: QSGMII |
| 89 | 5: PCIe1 x1 slot |
| 90 | 6: mini PCIe connector |
| 91 | 7: mini PCIe connector |
| 92 | 8: SATA connector |
| 93 | - DDR Controller |
| 94 | - Supports rates of up to 1600 MHz data-rate |
| 95 | - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types. |
| 96 | - IFC/Local Bus |
| 97 | - NAND flash: 1GB 8-bit NAND flash |
| 98 | - NOR: 128MB 16-bit NOR Flash |
| 99 | - Ethernet |
| 100 | - Two on-board RGMII 10/100/1G ethernet ports. |
| 101 | - CPLD |
| 102 | - Clocks |
| 103 | - System and DDR clock (SYSCLK, “DDRCLK”) |
| 104 | - SERDES clocks |
| 105 | - Power Supplies |
| 106 | - USB |
| 107 | - Supports two USB 2.0 ports with integrated PHYs |
| 108 | - Two type A ports with 5V@1.5A per port. |
| 109 | - SDHC |
| 110 | - SDHC/SDXC connector |
| 111 | - SPI |
| 112 | - On-board 64MB SPI flash |
| 113 | - Other IO |
| 114 | - Two Serial ports |
| 115 | - Four I2C ports |
| 116 | |
Priyanka Jain | 0d7ba2e | 2013-10-18 17:19:23 +0530 | [diff] [blame] | 117 | T1042RDB_PI board Overview |
| 118 | ------------------------- |
| 119 | - SERDES Connections, 8 lanes information: |
| 120 | 1, 2, 3, 4 : PCIe x4 slot |
| 121 | 5: mini PCIe connector |
| 122 | 6: mini PCIe connector |
| 123 | 7: NA |
| 124 | 8: SATA connector |
| 125 | - DDR Controller |
| 126 | - Supports rates of up to 1600 MHz data-rate |
| 127 | - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types. |
| 128 | - IFC/Local Bus |
| 129 | - NAND flash: 1GB 8-bit NAND flash |
| 130 | - NOR: 128MB 16-bit NOR Flash |
| 131 | - Ethernet |
| 132 | - Two on-board RGMII 10/100/1G ethernet ports. |
| 133 | - CPLD |
| 134 | - Clocks |
| 135 | - System and DDR clock (SYSCLK, “DDRCLK”) |
| 136 | - SERDES clocks |
| 137 | - Video |
| 138 | - DIU supports video at up to 1280x1024x32bpp |
| 139 | - Power Supplies |
| 140 | - USB |
| 141 | - Supports two USB 2.0 ports with integrated PHYs |
| 142 | - Two type A ports with 5V@1.5A per port. |
| 143 | - SDHC |
| 144 | - SDHC/SDXC connector |
| 145 | - SPI |
| 146 | - On-board 64MB SPI flash |
| 147 | - Other IO |
| 148 | - Two Serial ports |
| 149 | - Four I2C ports |
| 150 | |
Priyanka Jain | 062ef1a | 2013-10-18 17:19:06 +0530 | [diff] [blame] | 151 | Memory map |
| 152 | ----------- |
| 153 | The addresses in brackets are physical addresses. |
| 154 | |
| 155 | Start Address End Address Description Size |
| 156 | 0xF_FFDF_0000 0xF_FFDF_0FFF IFC - CPLD 4KB |
| 157 | 0xF_FF80_0000 0xF_FF80_FFFF IFC - NAND Flash 64KB |
| 158 | 0xF_FE00_0000 0xF_FEFF_FFFF CCSRBAR 16MB |
| 159 | 0xF_F803_0000 0xF_F803_FFFF PCI Express 4 I/O Space 64KB |
| 160 | 0xF_F802_0000 0xF_F802_FFFF PCI Express 3 I/O Space 64KB |
| 161 | 0xF_F801_0000 0xF_F801_FFFF PCI Express 2 I/O Space 64KB |
| 162 | 0xF_F800_0000 0xF_F800_FFFF PCI Express 1 I/O Space 64KB |
| 163 | 0xF_F600_0000 0xF_F7FF_FFFF Queue manager software portal 32MB |
| 164 | 0xF_F400_0000 0xF_F5FF_FFFF Buffer manager software portal 32MB |
| 165 | 0xF_E800_0000 0xF_EFFF_FFFF IFC - NOR Flash 128MB |
| 166 | 0xF_0000_0000 0xF_003F_FFFF DCSR 4MB |
| 167 | 0xC_3000_0000 0xC_3FFF_FFFF PCI Express 4 Mem Space 256MB |
| 168 | 0xC_2000_0000 0xC_2FFF_FFFF PCI Express 3 Mem Space 256MB |
| 169 | 0xC_1000_0000 0xC_1FFF_FFFF PCI Express 2 Mem Space 256MB |
| 170 | 0xC_0000_0000 0xC_0FFF_FFFF PCI Express 1 Mem Space 256MB |
| 171 | 0x0_0000_0000 0x0_ffff_ffff DDR 2GB |
| 172 | |
| 173 | |
| 174 | NOR Flash memory Map |
| 175 | --------------------- |
| 176 | Start End Definition Size |
Prabhakar Kushwaha | e222b1f | 2014-01-14 11:34:26 +0530 | [diff] [blame] | 177 | 0xEFF40000 0xEFFFFFFF u-boot (current bank) 768KB |
| 178 | 0xEFF20000 0xEFF3FFFF u-boot env (current bank) 128KB |
| 179 | 0xEFF00000 0xEFF1FFFF FMAN Ucode (current bank) 128KB |
Prabhakar Kushwaha | e7222b5 | 2014-01-25 12:11:23 +0530 | [diff] [blame] | 180 | 0xED300000 0xEFEFFFFF rootfs (alt bank) 44MB |
| 181 | 0xEC800000 0xEC8FFFFF Hardware device tree (alt bank) 1MB |
Priyanka Jain | 062ef1a | 2013-10-18 17:19:06 +0530 | [diff] [blame] | 182 | 0xEC020000 0xEC7FFFFF Linux.uImage (alt bank) 7MB + 875KB |
| 183 | 0xEC000000 0xEC01FFFF RCW (alt bank) 128KB |
Prabhakar Kushwaha | e222b1f | 2014-01-14 11:34:26 +0530 | [diff] [blame] | 184 | 0xEBF40000 0xEBFFFFFF u-boot (alt bank) 768KB |
| 185 | 0xEBF20000 0xEBF3FFFF u-boot env (alt bank) 128KB |
| 186 | 0xEBF00000 0xEBF1FFFF FMAN ucode (alt bank) 128KB |
Prabhakar Kushwaha | e7222b5 | 2014-01-25 12:11:23 +0530 | [diff] [blame] | 187 | 0xE9300000 0xEBEFFFFF rootfs (current bank) 44MB |
Priyanka Jain | 062ef1a | 2013-10-18 17:19:06 +0530 | [diff] [blame] | 188 | 0xE8800000 0xE88FFFFF Hardware device tree (cur bank) 11MB + 512KB |
| 189 | 0xE8020000 0xE86FFFFF Linux.uImage (current bank) 7MB + 875KB |
| 190 | 0xE8000000 0xE801FFFF RCW (current bank) 128KB |
| 191 | |
| 192 | |
| 193 | Various Software configurations/environment variables/commands |
| 194 | -------------------------------------------------------------- |
| 195 | The below commands apply to the board |
| 196 | |
| 197 | 1. U-boot environment variable hwconfig |
| 198 | The default hwconfig is: |
| 199 | hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1: |
| 200 | dr_mode=host,phy_type=utmi |
| 201 | Note: For USB gadget set "dr_mode=peripheral" |
| 202 | |
| 203 | 2. FMAN Ucode versions |
| 204 | fsl_fman_ucode_t1040.bin |
| 205 | |
| 206 | 3. Switching to alternate bank |
| 207 | Commands for switching to alternate bank. |
| 208 | |
| 209 | 1. To change from vbank0 to vbank4 |
vijay rai | 363fb32 | 2014-08-19 12:46:53 +0530 | [diff] [blame^] | 210 | => cpld reset altbank (it will boot using vbank4) |
Priyanka Jain | 062ef1a | 2013-10-18 17:19:06 +0530 | [diff] [blame] | 211 | |
| 212 | 2.To change from vbank4 to vbank0 |
vijay rai | 363fb32 | 2014-08-19 12:46:53 +0530 | [diff] [blame^] | 213 | => cpld reset (it will boot using vbank0) |
Prabhakar Kushwaha | 18c0144 | 2014-04-08 19:13:56 +0530 | [diff] [blame] | 214 | |
| 215 | NAND boot with 2 Stage boot loader |
| 216 | ---------------------------------- |
| 217 | PBL initialise the internal SRAM and copy SPL(160KB) in SRAM. |
| 218 | SPL further initialise DDR using SPD and environment variables and copy |
| 219 | u-boot(768 KB) from flash to DDR. |
| 220 | Finally SPL transer control to u-boot for futher booting. |
| 221 | |
| 222 | SPL has following features: |
| 223 | - Executes within 256K |
| 224 | - No relocation required |
| 225 | |
| 226 | Run time view of SPL framework during boot :- |
| 227 | ----------------------------------------------- |
| 228 | Area | Address | |
| 229 | ----------------------------------------------- |
| 230 | Secure boot | 0xFFFC0000 (32KB) | |
| 231 | headers | | |
| 232 | ----------------------------------------------- |
| 233 | GD, BD | 0xFFFC8000 (4KB) | |
| 234 | ----------------------------------------------- |
| 235 | ENV | 0xFFFC9000 (8KB) | |
| 236 | ----------------------------------------------- |
| 237 | HEAP | 0xFFFCB000 (30KB) | |
| 238 | ----------------------------------------------- |
| 239 | STACK | 0xFFFD8000 (22KB) | |
| 240 | ----------------------------------------------- |
| 241 | U-boot SPL | 0xFFFD8000 (160KB) | |
| 242 | ----------------------------------------------- |
| 243 | |
| 244 | NAND Flash memory Map on T104xRDB |
| 245 | ------------------------------------------ |
| 246 | Start End Definition Size |
| 247 | 0x000000 0x0FFFFF u-boot 1MB |
| 248 | 0x180000 0x19FFFF u-boot env 128KB |
| 249 | 0x280000 0x29FFFF FMAN Ucode 128KB |
| 250 | 0x380000 0x39FFFF QE Firmware 128KB |
| 251 | |
| 252 | SD Card memory Map on T104xRDB |
| 253 | ------------------------------------------ |
| 254 | Block #blocks Definition Size |
| 255 | 0x008 2048 u-boot 1MB |
| 256 | 0x800 0024 u-boot env 8KB |
| 257 | 0x820 0256 FMAN Ucode 128KB |
| 258 | 0x920 0256 QE Firmware 128KB |
| 259 | |
| 260 | SPI Flash memory Map on T104xRDB |
| 261 | ------------------------------------------ |
| 262 | Start End Definition Size |
| 263 | 0x000000 0x0FFFFF u-boot 1MB |
| 264 | 0x100000 0x101FFF u-boot env 8KB |
| 265 | 0x110000 0x12FFFF FMAN Ucode 128KB |
| 266 | 0x130000 0x14FFFF QE Firmware 128KB |
| 267 | |
| 268 | Please note QE Firmware is only valid for T1040RDB |
| 269 | |
| 270 | |
| 271 | Switch Settings: (ON is 0, OFF is 1) |
| 272 | =============== |
| 273 | NAND boot SW setting: |
| 274 | SW1: 10001000 |
| 275 | SW2: 00111001 |
| 276 | SW3: 11110001 |
| 277 | |
| 278 | SPI boot SW setting: |
| 279 | SW1: 00100010 |
| 280 | SW2: 10111001 |
| 281 | SW3: 11100001 |
| 282 | |
| 283 | SD boot SW setting: |
| 284 | SW1: 00100000 |
| 285 | SW2: 00111001 |
| 286 | SW3: 11100001 |