AnsweredAssumed Answered

LS1021A SDK 2.0 : Reboot command issue

Question asked by AMOL SHROTRI on Jul 19, 2016
Latest reply on Sep 27, 2016 by hwei



I have LS1021A rev2 board, and build the kernel 4.1.8 from SDK 2.0, It is booting without any issue. I am loading the kernel zImage (integrated with RootFS) and dtb over tftp. It boots find but when i am give reboot command it gets stuck and fail to reboot the board. Just to confirmed i tried the same with pre-build  images (uImage--4.1-r0-ls1021atwr-20160514210242.bin, uImage--4.1-r0-ls1021a-twr-20160514210242.dtb, fsl-image-core-ls1021atwr-20160514210716.rootfs.ext2.gz.u-boot) from SDK 2.0. But observed the same issue. Please find the log for the same.


I am booting with bank 1 and console on LPUART. Switch settings are as

SW2[1:8] - 10001111

SW3[1:8] - 01101001

J19 : 1 - 2

J20 : 1 - 2




U-boot Log:


U-Boot 2015.01+ls1+g3281947 (Jul 30 2015 - 18:38:28)



CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)

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: 70000000 00007900 e0025a00 21046000

       00000020: 00000000 00000000 00000000 10000000

       00000030: 00080000 881b7340 00000000 00000000

Board: LS1021ATWR

CPLD:  V2.0

PCBA:  V1.0

VBank: 1

I2C:   ready

DRAM:  1 GiB

Using SERDES1 Protocol: 112 (0x70)

Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0

QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1

Flash: 128 MiB



PCIe1: Root Complex x1 gen1, regs @ 0x3400000

     01:00.0    - 10ec:8168 - Network controller

PCIe1: Bus 00 - 01

PCIe2: Root Complex no link, regs @ 0x3500000

In:    serial

Out:   serial

Err:   serial

SEC0: RNG instantiated

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).

SCSI:  Net:   eTSEC2 is in sgmii mode.


Hit any key to stop autoboot:  0



Kernel Log:


root@ls1021atwr:~# reboot



INIT: Sending processes the TERM signalroot@ls1021atwr:~# logouStopping OpenBSD Secure Shell server: sshdstopped /usr/sbin/sshd (pid 803)


hwclock: can't open '/dev/misc/rtc': No such file or directory

Stopping network benchmark server: netserverstopped /usr/sbin/netserver (pid 814)


Stopping system log daemon...0

Stopping kernel log daemon...0

Stopping internet superserver: xinetd.

Deconfiguring network interfaces... done.

Sending all processes the TERM signal...

Sending all processes the KILL signal...

Unmounting remote filesystems...

Deactivating swap...

Unmounting local filesystems...

Rebooting... kvm: exiting hardware virtualization


Is there any issue with RCW that I have with my board?


Thanks & Regards,

Amol M Shrotri