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