README 9.8 KB

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