AnsweredAssumed Answered

TWR-LS1021A: kernel crashes while booting from SD Card

Question asked by Chan Park on Feb 19, 2015
Latest reply on Feb 23, 2015 by Akman

Hi,

 

I am seeing kernel crash when booting from SD card.  It happens only when using u-boot built for ls1021atwr_sdcard.

 

1) Using u-boot built for ls1021atwr_nor

 

SW2[1:8]: ON OFF OFF OFF ON ON ON ON

(RCW Source is NOR)

 

It works fine.

 

U-Boot 2014.07+ls1+g659b6a2 (Dec 13 2014 - 22:53:42)

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 0003c000
       00000030: 00080000 901b7540 00000000 00000000
Board: LS1021ATWR
CPLD:  V2.3
PCBA:  V3.0
VBank: 1
I2C:   ready
DRAM:  1 GiB
Using SERDES1 Protocol: 32 (0x20)
Firmware 'Microcode version 0.0.0 for T1040 r1.0' for 1040 V1.0
QE: uploading microcode 'Microcode for T1040 r1.0'
Flash: 128 MiB
MMC:   FSL_SDHC: 0
EEPROM: CRC mismatch (7c782ff9 != ffffffff)
In:    serial
Out:   serial
Err:   serial
Net:   eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
eTSEC1 [PRIME], eTSEC2, eTSEC3
Hit any key to stop autoboot:  3  0
=> setenv ethaddr 00:04:9F:03:5C:1B
=> setenv eth1addr 00:04:9F:03:5C:1C
=> setenv eth2addr 00:04:9F:03:5C:1D
=> setenv bootfile uImage
=> setenv fdtfile uImage.dtb
=> setenv consoledev ttyS0
=> setenv baudrate 115200
=> setenv loadaddr 0x82000000
=> setenv fdtaddr 0x8f000000
=> setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5 console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:2 $loadaddr /boot/$bootfile;ext2load mmc 0:2 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr'
=> boot
Device: FSL_SDHC
Manufacturer ID: 2
OEM: 544d
Name: SA08G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 4-bit
3110416 bytes read in 218 ms (13.6 MiB/s)
20687 bytes read in 83 ms (243.2 KiB/s)
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.12.19-rt30+ls1+g6619b8b
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3110352 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 8f000000
   Booting using the fdt blob at 0x8f000000
   Loading Kernel Image ... OK
   Loading Device Tree to bef29000, end bef310ce ... OK


Starting kernel ...


Booting Linux on physical CPU 0xf00
Linux version 3.12.19-rt30+ls1+g6619b8b (chantaek@0942-Ubuntu1) (gcc version 4.8.3 20140401 (prerelease) (Linaro GCC 4.8-2014.04) ) #120 SMP Wed Feb 18 10:54:17 EST 2015
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=70c73c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale LS1021A, model: LS1021A TWR Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @80d55000 s8384 r8192 d16192 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: root=/dev/mmcblk0p2 rw rootdelay=5 console=ttyS0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1034032K/1048576K available (3253K kernel code, 258K rwdata, 1476K rodata, 184K init, 197K bss, 14544K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f800000 - 0x7fe00000   (   6 MB)
      .text : 0x80008000 - 0x804a6834   (4731 kB)
      .init : 0x804a7000 - 0x804d50c0   ( 185 kB)
      .data : 0x804d6000 - 0x80516a60   ( 259 kB)
       .bss : 0x80516a68 - 0x80547ea4   ( 198 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 12.50MHz (phys).
Switching to timer-based delay loop
sched_clock: ARM arch timer >56 bits at 12500kHz, resolution 80ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: update cpu_power 1024
CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
Setting up static identity map for 0x8030a3d0 - 0x8030a434
CPU1: Booted secondary processor
CPU1: update cpu_power 1024
CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
Brought up 2 CPUs
SMP: Total of 2 processors activated.
CPU: All CPU(s) started in HYP mode.
CPU: Virtualization extensions available.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
syscon 1570000.scfg: regmap [mem 0x01570000-0x0157ffff] registered
irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
bio: create slab <bio-0> at 0
3P3V: 3300 mV
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: of_i2c: modalias failure on /soc/i2c@21a0000/ltc2945@67
i2c i2c-2: IMX I2C adapter registered
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 2019
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:00:00.0: BAR 1: assigned [mem 0x4040000000-0x4043ffffff]
pci 0000:00:00.0: BAR 0: assigned [mem 0x4044000000-0x4044ffffff]
pci 0000:00:00.0: BAR 6: assigned [mem 0x4045000000-0x4045ffffff pref]
pci 0000:00:00.0: BAR 8: assigned [mem 0x4046000000-0x40460fffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x4046000000-0x4046001fff 64bit]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0:   bridge window [mem 0x4046000000-0x40460fffff]
layerscape-pcie 3500000.pcie: phy link never came up
layerscape-pcie 3500000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
pci_bus 0001:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])
pci_bus 0001:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers enabled
pci 0001:00:00.0: BAR 1: assigned [mem 0x4840000000-0x4843ffffff]
pci 0001:00:00.0: BAR 0: assigned [mem 0x4844000000-0x4844ffffff]
pci 0001:00:00.0: BAR 6: assigned [mem 0x4845000000-0x4845ffffff pref]
pci 0001:00:00.0: PCI bridge to [bus 01]
sii902x: probe of 1-0039 failed with error -1
syscon 1570000.scfg: Failed to create debugfs directory
Console: switching to colour frame buffer device 60x34
fb0: fb device registered successfully.
fb1: fb device registered successfully.
fb2: fb device registered successfully.
fb3: fb device registered successfully.
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 118, base_baud = 9375000) is a 16550A_FSL64
console [ttyS0] enabled
21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 118, base_baud = 9375000) is a 16550A_FSL64
of_serial 2402200.ucc: clk or clock-frequency not defined
of_serial: probe of 2402200.ucc failed with error -2
serial: Freescale lpuart driver
2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 112, base_baud = 6250000) is a FSL_LPUART
brd: module loaded
loop: module loaded
60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
8 ofpart partitions found on MTD device 60000000.nor
Creating 8 MTD partitions on "60000000.nor":
0x000000000000-0x000000020000 : "NOR bank0 RCW Image"
0x000000020000-0x000000120000 : "NOR DTB Image"
0x000000120000-0x000000920000 : "NOR Linux Kernel Image"
0x000000920000-0x000003f20000 : "NOR Ramdisk Root File System Image"
0x000003f80000-0x000004000000 : "NOR bank4 u-boot Image"
0x000004000000-0x000004020000 : "NOR bank4 RCW Image"
0x000004020000-0x000007f20000 : "NOR JFFS2 ROOT File System Image"
0x000007f80000-0x000008000000 : "NOR bank0 u-boot Image"
fsl-quadspi 1550000.quadspi: found mr25h256, expected n25q128a13
fsl-quadspi 1550000.quadspi: mr25h256 (32 Kbytes)
fsl-quadspi 1550000.quadspi: Unsupported cmd 0x03
fsl-quadspi 1550000.quadspi: QuadSPI SPI NOR flash driver
CAN device driver interface
libphy: Freescale PowerQUICC MII Bus: probed
fsl-gianfar ethernet.4: enabled errata workarounds, flags: 0x4
fsl-gianfar ethernet.4 eth0: mac: 00:04:9f:03:5c:1b
fsl-gianfar ethernet.4 eth0: Running with NAPI enabled
fsl-gianfar ethernet.4 eth0: RX BD ring size for Q[0]: 256
fsl-gianfar ethernet.4 eth0: TX BD ring size for Q[0]: 256
fsl-gianfar ethernet.5: enabled errata workarounds, flags: 0x4
fsl-gianfar ethernet.5 eth1: mac: 00:04:9f:03:5c:1c
fsl-gianfar ethernet.5 eth1: Running with NAPI enabled
fsl-gianfar ethernet.5 eth1: RX BD ring size for Q[0]: 256
fsl-gianfar ethernet.5 eth1: TX BD ring size for Q[0]: 256
fsl-gianfar ethernet.6: enabled errata workarounds, flags: 0x4
fsl-gianfar ethernet.6 eth2: mac: 00:04:9f:03:5c:1d
fsl-gianfar ethernet.6 eth2: Running with NAPI enabled
fsl-gianfar ethernet.6 eth2: RX BD ring size for Q[0]: 256
fsl-gianfar ethernet.6 eth2: TX BD ring size for Q[0]: 256
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.0.auto: irq 125, io mem 0x03100000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
printer gadget: Printer Gadget, version: 2007 OCT 06
printer gadget: printer ready
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)
qoriq_cpufreq: Freescale PowerPC qoriq CPU frequency scaling driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: no vmmc regulator found
mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA
caam 1700000.crypto: Entropy delay = 3200
caam 1700000.crypto: Instantiated RNG4 SH0
caam 1700000.crypto: Instantiated RNG4 SH1
caam 1700000.crypto: device ID = 0x0a14030000000000 (Era 7)
caam 1700000.crypto: job rings = 4, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 1710000.jr: registering rng-caam
caam 1700000.crypto: fsl,sec-v5.3 algorithms registered in /proc/crypto
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
sgtl5000 1-000a: sgtl5000 revision 0x11
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA08G 7.28 GiB
sgtl5000 1-000a: Failed to get supply 'VDDD': -19
1-000a: 1200 mV normal
sgtl5000 1-000a: Using internal LDO instead of VDDD
mmcblk0: p1 p2
vf610-sgtl5000 sound.9:  sgtl5000 <-> 2b50000.sai mapping ok
oprofile: using timer interrupt.
TCP: cubic registered
printer gadget: high-speed config #1: printer
printer gadget: Using interface 0
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
Key type dns_resolver registered
regulator-dummy: disabling
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
  #0: FSL-VF610-TWR-BOARD
Waiting 5 sec before mounting root device...
usb 1-1: new high-speed USB device number 2 using xhci-hcd
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
usb 1-1.3: new full-speed USB device number 3 using xhci-hcd
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 184K (804a7000 - 804d5000)
INIT: version 2.88 booting
Starting udev
udevd[131]: starting version 182
cfg80211: Calling CRDA to update world regulatory domain
Intel(R) Wireless WiFi driver for Linux, in-tree:
Copyright(c) 2003-2013 Intel Corporation
PCI: enabling device 0000:01:00.0 (0140 -> 0142)
iwlwifi 0000:01:00.0: loaded firmware version 22.1.7.0 op_mode iwlmvm
iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
Starting Bootlog daemon: bootlogd.
Populating dev cache
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
hwclock: can't open '/dev/misc/rtc': No such file or directory
Tue Feb 10 21:56:00 UTC 2015
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Configuring network interfaces... udhcpc (v1.22.1) started
Sending discover...
libphy: mdio@2d24000:02 - Link is Down
libphy: mdio@2d24000:02 - Link is Up - 100/Full
Sending discover...
Sending select for 172.16.41.3...
Lease of 172.16.41.3 obtained, lease time 604800
/etc/udhcpc.d/50default: Adding DNS 172.16.40.13
/etc/udhcpc.d/50default: Adding DNS 172.16.40.12
done.
Starting system message bus: dbus.
Starting Dropbear SSH server: dropbear.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting network benchmark server: netserver.
Starting system log daemon...0
Starting kernel log daemon...0
Starting internet superserver: xinetd.
Stopping Bootlog daemon: bootlogd.


Poky (Yocto Project Reference Distro) 1.6.1 ls1021atwr /dev/ttyS0


ls1021atwr login: root


root@ls1021atwr:~#
root@ls1021atwr:~# mount
/dev/mmcblk0p2 on / type ext3 (rw,relatime,errors=continue,user_xattr,barrier=1,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=517016k,nr_inodes=129254,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
root@ls1021atwr:~#
root@ls1021atwr:~# df
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/root        7390424 211364   6803644   4% /
devtmpfs          517016      4    517012   1% /dev
tmpfs             517108    152    516956   1% /run
tmpfs             517108    124    516984   1% /var/volatile
root@ls1021atwr:~#
root@ls1021atwr:~# cat /proc/cmdline
root=/dev/mmcblk0p2 rw rootdelay=5 console=ttyS0,115200
root@ls1021atwr:~#
root@ls1021atwr:~#





 

 

2) Using u-boot built for ls1021atwr_sdcard

 

SW2[1:8]: OFF OFF ON OFF ON ON ON ON

(RCW Source is SDHC)

 

I'm using the same uImage and dtb file in the same SD card, but it crashes.   Am I missing anything?

 

U-Boot SPL 2014.07+ls1+g659b6a2 (Feb 19 2015 - 15:11:22)


U-Boot 2014.07+ls1+g659b6a2 (Feb 19 2015 - 15:11:22)

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 0003c000
       00000030: 00080000 901b7540 00000000 00000000
Board: LS1021ATWR
I2C:   ready
DRAM:  1 GiB
Using SERDES1 Protocol: 32 (0x20)
MMC:   FSL_SDHC: 0
*** Warning - bad CRC, using default environment


In:    serial
Out:   serial
Err:   serial
Net:   eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
eTSEC1 [PRIME], eTSEC2, eTSEC3
=>
=> setenv ethaddr 00:04:9F:03:5C:1B
=> setenv eth1addr 00:04:9F:03:5C:1C
=> setenv eth2addr 00:04:9F:03:5C:1D
=> setenv bootfile uImage
=> setenv fdtfile uImage.dtb
=> setenv consoledev ttyS0
=> setenv baudrate 115200
=> setenv loadaddr 0x82000000
=> setenv fdtaddr 0x8f000000
=> setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5 console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:2 $loadaddr /boot/$bootfile;ext2load mmc 0:2 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr'
=> boot
Device: FSL_SDHC
Manufacturer ID: 2
OEM: 544d
Name: SA08G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 4-bit
3110416 bytes read in 217 ms (13.7 MiB/s)
20687 bytes read in 83 ms (243.2 KiB/s)
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.12.19-rt30+ls1+g6619b8b
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3110352 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 8f000000
   Booting using the fdt blob at 0x8f000000
   Loading Kernel Image ... OK
   Loading Device Tree to bef10000, end bef180ce ... OK


Starting kernel ...


Booting Linux on physical CPU 0xf00
Linux version 3.12.19-rt30+ls1+g6619b8b (chantaek@0942-Ubuntu1) (gcc version 4.8.3 20140401 (prerelease) (Linaro GCC 4.8-2014.04) ) #120 SMP Wed Feb 18 10:54:17 EST 2015
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=70c73c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale LS1021A, model: LS1021A TWR Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @80d55000 s8384 r8192 d16192 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: root=/dev/mmcblk0p2 rw rootdelay=5 console=ttyS0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1034032K/1048576K available (3253K kernel code, 258K rwdata, 1476K rodata, 184K init, 197K bss, 14544K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f800000 - 0x7fe00000   (   6 MB)
      .text : 0x80008000 - 0x804a6834   (4731 kB)
      .init : 0x804a7000 - 0x804d50c0   ( 185 kB)
      .data : 0x804d6000 - 0x80516a60   ( 259 kB)
       .bss : 0x80516a68 - 0x80547ea4   ( 198 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 12.50MHz (phys).
Switching to timer-based delay loop
sched_clock: ARM arch timer >56 bits at 12500kHz, resolution 80ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: update cpu_power 1024
CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
Setting up static identity map for 0x8030a3d0 - 0x8030a434
CPU1: Booted secondary processor
CPU1: update cpu_power 1024
CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
Brought up 2 CPUs
SMP: Total of 2 processors activated.
CPU: All CPU(s) started in HYP mode.
CPU: Virtualization extensions available.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
syscon 1570000.scfg: regmap [mem 0x01570000-0x0157ffff] registered
irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
bio: create slab <bio-0> at 0
3P3V: 3300 mV
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: of_i2c: modalias failure on /soc/i2c@21a0000/ltc2945@67
i2c i2c-2: IMX I2C adapter registered
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 2019
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:00:00.0: BAR 1: assigned [mem 0x4040000000-0x4043ffffff]
pci 0000:00:00.0: BAR 0: assigned [mem 0x4044000000-0x4044ffffff]
pci 0000:00:00.0: BAR 6: assigned [mem 0x4045000000-0x4045ffffff pref]
pci 0000:00:00.0: BAR 8: assigned [mem 0x4046000000-0x40460fffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x4046000000-0x4046001fff 64bit]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0:   bridge window [mem 0x4046000000-0x40460fffff]
layerscape-pcie 3500000.pcie: phy link never came up
layerscape-pcie 3500000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
pci_bus 0001:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])
pci_bus 0001:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers enabled
pci 0001:00:00.0: BAR 1: assigned [mem 0x4840000000-0x4843ffffff]
pci 0001:00:00.0: BAR 0: assigned [mem 0x4844000000-0x4844ffffff]
pci 0001:00:00.0: BAR 6: assigned [mem 0x4845000000-0x4845ffffff pref]
pci 0001:00:00.0: PCI bridge to [bus 01]
sii902x: probe of 1-0039 failed with error -1
syscon 1570000.scfg: Failed to create debugfs directory
Console: switching to colour frame buffer device 60x34
fb0: fb device registered successfully.
fb1: fb device registered successfully.
fb2: fb device registered successfully.
fb3: fb device registered successfully.
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 118, base_baud = 9375000) is a 16550A_FSL64
console [ttyS0] enabled
21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 118, base_baud = 9375000) is a 16550A_FSL64
of_serial 2402200.ucc: clk or clock-frequency not defined
of_serial: probe of 2402200.ucc failed with error -2
serial: Freescale lpuart driver
2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 112, base_baud = 6250000) is a FSL_LPUART
brd: module loaded
loop: module loaded
Unhandled fault: synchronous external abort (0x1210) at 0xc1000020
fsl-ifc 1530000.ifc: transaction sent to IFC is not mapped to
fsl-ifc 1530000.ifc:  any memory bank 0x80000000
fsl-ifc 1530000.ifc: Write transaction error
fsl-ifc 1530000.ifc:  CM_ERATTR0 0x00100000
fsl-ifc 1530000.ifc: AXI ID of the erro
fsl-ifc 1530000.ifc:  transaction 0x00000001
fsl-ifc 1530000.ifc: SRC ID of the error
fsl-ifc 1530000.ifc:  transaction 0x00000000
fsl-ifc 1530000.ifc: Transaction Address corresponding to error
fsl-ifc 1530000.ifc:  ERADDR 0x60000000
Internal error: : 1210 [#1] SMP THUMB2
Modules linked in:
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.12.19-rt30+ls1+g6619b8b #120
task: bf87c000 ti: bf880000 task.ti: bf880000
PC is at cfi_qry_present+0x166/0x1e0
LR is at cfi_qry_present+0x27/0x1e0
pc : [<801cd208>]    lr : [<801cd0c9>]    psr: 60000133
sp : bf881cf0  ip : 00000006  fp : 00000001
r10: 00000001  r9 : 00000000  r8 : 00000002
r7 : 00000002  r6 : bf9e9fa0  r5 : 00005151  r4 : 00005900
r3 : 00005959  r2 : 00005252  r1 : 00000020  r0 : c1000020
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment kernel
Control: 70c53c7d  Table: 80003000  DAC: 00400400
Process swapper/0 (pid: 1, stack limit = 0xbf880248)
Stack: (0xbf881cf0 to 0xbf882000)
1ce0:                                     bf9e9fa0 00000000 bf881d64 00009898
1d00: 00000002 00009800 00000002 801cd407 08000000 bf881d64 bf9e9fa0 00000000
1d20: 801ccddd 00000001 804f7938 00000000 00000000 801cce11 bf9e9fa0 00000000
1d40: 00000002 bf9e9fa0 00000001 801ccddd 00000001 804f7938 bf9e9fa0 801da6b1
1d60: 00068000 00000000 00000000 00000002 00000001 00000000 00000000 00000000
1d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1da0: 00000713 804f7940 80426723 bf9e9fa0 80d4bc10 bf805410 bf9e9fa0 bf9e9fa0
1dc0: 00000000 801da82f 801cc789 804f7940 80426723 bf9e9fa0 80d4bc10 bf805410
1de0: 00000000 801cc755 bf9e9fd4 bf9e9f90 bf805400 801dabaf 08000000 00000000
1e00: bf908380 00000000 bf017700 00000000 00000000 bf017740 60000000 00000000
1e20: 80426723 00000000 bf017700 00000001 00000000 00000000 bf017700 bf908440
1e40: 60000000 00000000 67ffffff 00000000 80d4bc4c 00000200 00000000 00000000
1e60: 00000000 00000000 00000000 bf805410 bf805444 8053b9d4 804f7b5c 804b81f1
1e80: 000000b7 00000000 bf880000 801a1601 bf805410 bf805444 804f7b5c 00000000
1ea0: 804b81f1 801a1735 00000000 804f7b5c 801a1701 801a06bd bf85f65c bf907234
1ec0: 804f7b5c 804f5bf0 bf9e9f00 801a10cb 804279ad 804279ae 0000006f 804f7b5c
1ee0: 804c7ac8 804d238c 80516a80 801a1abd 00000000 00000006 804c7ac8 800085f3
1f00: bf901400 bf901680 00000000 bf901680 80310400 80401210 00000000 800ae8f5
1f20: 804e4908 00000113 804a7461 80d52ce3 80d52ceb 80028ef9 00000000 8047c0d0
1f40: 00000000 000000b7 00000006 00000006 00000001 00000006 804c7ac8 804d238c
1f60: 80516a80 80516a80 000000b7 804c7ad4 00000000 804a792d 00000006 00000006
1f80: 804a7461 00000000 00000000 80300841 00000000 00000000 00000000 00000000
1fa0: 00000000 80300847 00000000 8000c1f9 00000000 00000000 00000000 00000000
1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<801cd208>] (cfi_qry_present+0x166/0x1e0) from [<801cd407>] (cfi_qry_mode_on+0x185/0xb5e)
[<801cd407>] (cfi_qry_mode_on+0x185/0xb5e) from [<801cce11>] (cfi_probe_chip+0x35/0x128)
[<801cce11>] (cfi_probe_chip+0x35/0x128) from [<801da6b1>] (genprobe_ident_chips+0x45/0x1b8)
[<801da6b1>] (genprobe_ident_chips+0x45/0x1b8) from [<801da82f>] (mtd_do_chip_probe+0xb/0x7c)
[<801da82f>] (mtd_do_chip_probe+0xb/0x7c) from [<801cc755>] (do_map_probe+0x31/0x40)
[<801cc755>] (do_map_probe+0x31/0x40) from [<801dabaf>] (of_flash_probe+0x2ab/0x38c)
[<801dabaf>] (of_flash_probe+0x2ab/0x38c) from [<801a1601>] (driver_probe_device+0x65/0x140)
[<801a1601>] (driver_probe_device+0x65/0x140) from [<801a1735>] (__driver_attach+0x35/0x48)
[<801a1735>] (__driver_attach+0x35/0x48) from [<801a06bd>] (bus_for_each_dev+0x3b/0x46)
[<801a06bd>] (bus_for_each_dev+0x3b/0x46) from [<801a10cb>] (bus_add_driver+0x8b/0x164)
[<801a10cb>] (bus_add_driver+0x8b/0x164) from [<801a1abd>] (driver_register+0x4b/0x76)
[<801a1abd>] (driver_register+0x4b/0x76) from [<800085f3>] (do_one_initcall+0x63/0xd0)
[<800085f3>] (do_one_initcall+0x63/0xd0) from [<804a792d>] (kernel_init_freeable+0xbd/0x150)
[<804a792d>] (kernel_init_freeable+0xbd/0x150) from [<80300847>] (kernel_init+0x7/0x90)
[<80300847>] (kernel_init+0x7/0x90) from [<8000c1f9>] (ret_from_fork+0x11/0x38)
Code: e009 2f02 d103 4408 (8807) b2bf
---[ end trace 812773835e54c896 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b


CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D      3.12.19-rt30+ls1+g6619b8b #120
[<80010829>] (unwind_backtrace+0x1/0x88) from [<8000e51f>] (show_stack+0xb/0xc)
[<8000e51f>] (show_stack+0xb/0xc) from [<80304af5>] (dump_stack+0x4d/0x60)
[<80304af5>] (dump_stack+0x4d/0x60) from [<8000ff23>] (handle_IPI+0x7f/0xd0)
[<8000ff23>] (handle_IPI+0x7f/0xd0) from [<800083ef>] (gic_handle_irq+0x3b/0x44)
[<800083ef>] (gic_handle_irq+0x3b/0x44) from [<80307a9b>] (__irq_svc+0x3b/0x5c)
Exception stack(0x804d7f70 to 0x804d7fb8)
7f60:                                     ffffffed 00000000 00882000 00000000
7f80: 804d6000 804d6000 80000000 804de7c0 80003010 410fc075 00000000 00000000
7fa0: 00000008 804d7fb8 8000cc01 8000cc02 60000133 ffffffff
[<80307a9b>] (__irq_svc+0x3b/0x5c) from [<8000cc02>] (arch_cpu_idle+0x1a/0x20)
[<8000cc02>] (arch_cpu_idle+0x1a/0x20) from [<8003b355>] (cpu_startup_entry+0x7d/0xc4)
[<8003b355>] (cpu_startup_entry+0x7d/0xc4) from [<804a781b>] (start_kernel+0x213/0x268)
[<804a781b>] (start_kernel+0x213/0x268) from [<8000808d>] (0x8000808d)




Outcomes