Hello srikanth krishnakar,
Regarding your problem for LPUART boot from BANK 1, I have verified the prebuilt image on my target without any problem, please refer to my following steps.
1. Please check default switch setting.
LS1021A TWR X3
Switch 1 2 3 4 5 6 7 8
SW2 ON [1] OFF [0] OFF [0] OFF [0] ON [1] ON [1] ON [1] ON [1]
SW3 OFF ON ON OFF OFF OFF OFF ON
LS1021A TWR X2 Switch Setting
Switch 1 2 3 4 5 6 7 8
SW2 OFF [0] OFF [0] ON [1] OFF [0] OFF [0] ON [1] OFF [0] ON [1]
SW3 OFF ON ON OFF ON OFF OFF OFF
2. Boot the system from BANK 0, and flash lpuart image, I have attached for you, since I suspect there is problem with u-boot which you are using.
tftp 81000000 u-boot-ls1021atwr_lpuart.bin
tftp 82000000 rcw_1000_lpuart.bin
protect off all;erase 63f80000 63ffffff;cp.b 81000000 63f80000 80000
protect off all;erase 64000000 6401ffff;cp.b 82000000 64000000 100
3. Shorted the jumpers J19 & J20 to 1-2, and configure SW[3.5]: ON Bank1.
4. Power on the board, please refer to my log
U-Boot 2014.01Layerscape-SDK-V1.3+g50d6848 (Oct 24 2014 - 19:22:06)
CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)
Clock Configuration:
CPU0(ARMV7):1000 MHz,
Bus:300 MHz, DDR:800 MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
00000000: 0608000a 00000000 00000000 00000000
00000010: 20000000 00407900 e0025a00 21046000
00000020: 00000000 00000000 00000000 08038000
00000030: 00080000 881b7340 00000000 00000000
Board: LS1021ATWR
CPLD: V2.3
PCBA: V4.0
VBank: 1
I2C: ready
DRAM: 1 GiB (DDR3, 32-bit, CL=10.5, ECC off)
Using SERDES1 Protocol: 32 (0x20)
Flash: 128 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
Firmware 'Microcode version 0.0.0 for T1040 r1.0' for 1040 V1.0
QE: uploading microcode 'Microcode for T1040 r1.0'
In: serial
Out: serial
Err: serial
SATA link 0 timeout.
AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc
scanning bus for devices...
Found 0 device(s).
Net: eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
eTSEC1 [PRIME], eTSEC2, eTSEC3
Hit any key to stop autoboot: 0
Actually I suspect you built u-boot with DCU enabled.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------