Other Parts Discussed in Thread: AM3517, TSC2004
Hi,
I am using zoom AM3517 evm board and DevRocket application to create uImage/jffs2 images. After loading the x-loader,u-boot,uImage and Jffs2 file, I gets the kernel panic error.
My bootenvs are as: *******************
bootcmd=if mmcinit; then if run loadbootscript; then run bootscript; else if run
loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
bootdelay=10
baudrate=115200
loadaddr=0x82000000
console=ttyS2,115200n8
mmcargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rw rootfstype=ext
3 rootwait
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; autoscr ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000
500000; bootm ${loadaddr}
dieid#=3a18000100000000015da3960e01801d
ethaddr=00:08:ee:04:90:f2
filesize=601C344
fileaddr=82000000
ipaddr=10.0.0.2
serverip=10.0.0.1
nandargs=setenv bootargs console=ttyS2,115200n8 root=/dev/mtdblock8 rw rootfstyp
e=jffs2
stdin=serial
stdout=serial
stderr=serial
************************************
and when I boot the board, below is the log which I get:
Texas Instruments X-Loader 1.44 (Jan 3 2012 - 16:55:03)
Thredbo: reading address 0x00180000 from NAND
Thredbo: Starting OS Bootloader...
U-Boot 2009.03 (Jan 03 2012 - 16:57:14)
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 omap3517evm board + LPDDR/NAND
DRAM: 256 MB
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Ethernet PHY: GENERIC @ 0x00
HECC U20: port before = 00000040
HECC U20: programmed CAN_STB low
HECC U20: port after = 00000000
Die ID #3a18000100000000015da3960e01801d
Hit any key to stop autoboot: 0
OMAP3517EVM # boot
No MMC card found
Booting from nand ...
NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
Image Name: MontaVista Linux 6/2.6.32/ti-oma
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3174436 Bytes = 3 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
................................................................................
........................................................................... done
, booting the kernel.
Linux version 2.6.32.8 (mvdev@MVista) (gcc version 4.4.1 (MontaVista Linux Sourc
ery G++ 4.4-312) ) #8 PREEMPT Tue Jan 3 14:49:51 IST 2012
CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3517/AM3517 EVM
Memory policy: ECC disabled, Data cache writeback
AM3517 ES3.1 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Reserving 4194304 bytes SDRAM for VRAM
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock8 rw rootfstype=jf
fs2
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 248448KB available (6128K code, 668K data, 176K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:368
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
mux: Could not set signal i2c2_scl
mux: Could not set signal i2c2_sda
mux: Could not set signal i2c3_scl
mux: Could not set signal i2c3_sda
Display initialized successfully
hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev3.12 at 400 kHz
regulator: VDCDC1: 1200 mV normal
regulator: VDCDC2: 3300 mV normal
regulator: VDCDC3: 1800 mV normal
regulator: LDO1: 1800 mV normal
regulator: LDO2: 3300 mV normal
i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
input: Unspecified device as /class/input/input0
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, cppi4.1-dma, otg (peripheral+host), debug=0
AM3517 OTG revision 4ea41001, PHY f0036a2, control 00
musb_hdrc: USB OTG mode controller at d0810000 using DMA, IRQ 71
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
LTTng will clear ccnt top bit every 274 jiffies.
AM3517 Linux PSP version 03.00.00.05 (AM3517EVM)
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering unionfs 2.5.3 (for 2.6.32-pre)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
SGI XFS with security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
yaffs Dec 27 2011 17:00:01 Installing.
msgmni has been set to 485
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
LTT : ltt-relay init
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bi
t)
Creating 12 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000080000 : "xloader-nand"
0x000000080000-0x000000100000 : "uboot 1-nand"
0x000000100000-0x000000180000 : "uboot 2-nand"
0x000000180000-0x0000001a0000 : "bootdata 1-nand"
0x0000001a0000-0x0000001c0000 : "bootdata 2-nand"
0x0000001c0000-0x000000200000 : "reserved-nand"
0x000000200000-0x000000700000 : "linux kernel 1-nand"
0x000000700000-0x000000c00000 : "linux kernel 2-nand"
0x000000c00000-0x00000d400000 : "jffs2_1 -nand"
0x00000d400000-0x000019c00000 : "jffs2_2-nand"
0x000019c00000-0x00001a000000 : "config-nand"
0x00001a000000-0x000020000000 : "data-nand"
vcan: Virtual CAN interface driver
CAN device driver interface
TI High End CAN Controller Driver 0.7
ti_hecc ti_hecc.1: device registered (reg_base=d0878000, irq=24)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.32.8 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC ae:6b:f8:ff:39:f0
usb0: HOST MAC 4a:11:df:21:47:5c
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.32.8 musb-hcd
usb usb2: SerialNumber: musb_hdrc
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
input: TSC2004 Touchscreen as /class/input/input1
rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic23
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
OMAP3517 / AM3517 EVM SoC init
AIC23 Audio Codec 0.1
asoc: tlv320aic23 <-> omap-mcbsp-dai-0 mapping ok
ALSA device list:
#0: am3517evm (tlv320aic23)
IPv4 over IPv4 tunneling driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
regulator_init_complete: incomplete constraints, leaving LDO2 on
regulator_init_complete: incomplete constraints, leaving LDO1 on
davinci_emac_probe: using random MAC addr: ee:9f:e6:d3:36:3a
emac-mii: probed
rtc-s35390a 1-0030: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
ADDRCONF(NETDEV_UP): usb0: link is not ready
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, id=7c0f1)
ADDRCONF(NETDEV_UP): eth0: link is not ready
Sending DHCP and RARP requests .
PHY: ffffffff:00 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 157.235.207.180
IP-Config: Complete:
device=eth0, addr=157.235.207.180, mask=255.255.255.0, gw=157.235.207.246,
host=157.235.207.180, domain=symbol.com, nis-domain=(none),
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
mtd->read(0x400 bytes from 0x0) returned ECC error
CLEANMARKER node found at 0x00000000 has totlen 0xc != normal 0x0
mtd->read(0x1fc34 bytes from 0x3cc) returned ECC error
mtd->read(0x10000 bytes from 0x10000) returned ECC error
Empty flash at 0x0000fffc ends at 0x00010000
CLEANMARKER node found at 0x00010000 has totlen 0xc != normal 0x0
mtd->read(0x400 bytes from 0x20000) returned ECC error
CLEANMARKER node found at 0x00020000 has totlen 0xc != normal 0x0
mtd->read(0x1f360 bytes from 0x20ca0) returned ECC error
jffs2_scan_inode_node(): CRC failed on node at 0x00024020: Read 0x19ab8468, calc
ulated 0x6f77c5f8
jffs2_scan_inode_node(): CRC failed on node at 0x00024a44: Read 0x7b704544, calc
ulated 0x865a12ee
mtd->read(0x10000 bytes from 0x30000) returned ECC error
Empty flash at 0x0002fffc ends at 0x00030000
CLEANMARKER node found at 0x00030000 has totlen 0xc != normal 0x0
mtd->read(0x2c bytes from 0x3ffd4) returned ECC error
mtd->read(0x400 bytes from 0x40000) returned ECC error
CLEANMARKER node found at 0x00040000 has totlen 0xc != normal 0x0
mtd->read(0x1f538 bytes from 0x40ac8) returned ECC error
mtd->read(0x10000 bytes from 0x50000) returned ECC error
Empty flash at 0x0004fffc ends at 0x00050000
CLEANMARKER node found at 0x00050000 has totlen 0xc != normal 0x0
CLEANMARKER node found at 0x00060000 has totlen 0xc != normal 0x0
mtd->read(0x1fac0 bytes from 0x60540) returned ECC error
mtd->read(0x10000 bytes from 0x70000) returned ECC error
Empty flash at 0x0006fffc ends at 0x00070000
CLEANMARKER node found at 0x00070000 has totlen 0xc != normal 0x0
mtd->read(0x400 bytes from 0x80000) returned ECC error
CLEANMARKER node found at 0x00080000 has totlen 0xc != normal 0x0
mtd->read(0x1f924 bytes from 0x806dc) returned ECC error
jffs2_scan_inode_node(): CRC failed on node at 0x00085b80: Read 0xa1ec845b, calc
ulated 0xdf79af8e
mtd->read(0x10000 bytes from 0x90000) returned ECC error
Empty flash at 0x0008fffc ends at 0x00090000
CLEANMARKER node found at 0x00090000 has totlen 0xc != normal 0x0
jffs2_scan_inode_node(): CRC failed on node at 0x0009ef08: Read 0xb0d21846, calc
ulated 0xb0c21846
mtd->read(0x400 bytes from 0xa0000) returned ECC error
CLEANMARKER node found at 0x000a0000 has totlen 0xc != normal 0x0
mtd->read(0x1fa20 bytes from 0xa05e0) returned ECC error
mtd->read(0x10000 bytes from 0xb0000) returned ECC error
Empty flash at 0x000afffc ends at 0x000b0000
CLEANMARKER node found at 0x000b0000 has totlen 0xc != normal 0x0
jffs2_scan_inode_node(): CRC failed on node at 0x000b2554: Read 0x1788422f, calc
ulated 0x58720664
jffs2_scan_inode_node(): CRC failed on node at 0x000bdda8: Read 0xb2bf8e1e, calc
ulated 0x388f4b4f
mtd->read(0x400 bytes from 0xc0000) returned ECC error
CLEANMARKER node found at 0x000c0000 has totlen 0xc != normal 0x0
.
.
.
.
.
.
.
.
mtd->read(0x717 bytes from 0x9ec690) returned ECC error
mtd->read(0x44 bytes from 0x9ed578) returned ECC error
mtd->read(0xf4 bytes from 0x5d6ef0c) returned ECC error
mtd->read(0x2a3 bytes from 0x9ed5bc) returned ECC error
mtd->read(0x178 bytes from 0x5d6ee88) returned ECC error
mtd->read(0x124 bytes from 0x6dc) returned ECC error
mtd->read(0x44 bytes from 0x9de438) returned ECC error
mtd->read(0x44 bytes from 0x6dc) returned ECC error
mtd->read(0xb13 bytes from 0x9de47c) returned ECC error
mtd->read(0x44 bytes from 0x9dfaf4) returned ECC error
mtd->read(0x44 bytes from 0x9e28a4) returned ECC error
mtd->read(0xb7f bytes from 0x9e28e8) returned ECC error
Kernel panic - not syncing: Attempted to kill init!
Could anybody help me finding whats the mistake I am doing ....
Thanks