README 13 KB

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