Hello everyone. I have some issues booting 2.6.32.rc2 davinci kernel on my DM355EVM
Here is the output of booting process:
DM355 EVM > tftp uImage dm9000 i/o: 0x4014000, id: 0x90000a46 DM9000: running in 16 bit modeMAC: 00:0e:99:02:cd:4aoperating at 100M full duplex modeTFTP from server 10.0.2.15; our IP address is 10.0.2.17Filename 'uImage'.Load address: 0x80700000Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###########################################################doneBytes transferred = 2963240 (2d3728 hex)DM355 EVM > bootm## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.32-rc2-davinci1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2963176 Bytes = 2.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OKOKStarting kernel ...Uncompressing Linux............................................................................................................................................................................................... done, booting the kernel.[ 0.000000] Initializing cgroup subsys cpuset[ 0.000000] Linux version 2.6.32-rc2-davinci1 (root@chapel) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #15 Sat Apr 28 15:56:04 MSK 2012[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177[ 0.000000] CPU: VIVT data cache, VIVT instruction cache[ 0.000000] Machine: DaVinci DM355 EVM[ 0.000000] Memory policy: ECC disabled, Data cache writeback[ 0.000000] DaVinci dm355 variant 0x0[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384[ 0.000000] Kernel command line: mem=96M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=10.0.2.15:/home/spl/filesys ip=dhcp[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)[ 0.000000] allocated 491520 bytes of page_cgroup[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups[ 0.000000] Memory: 96MB = 96MB total[ 0.000000] Memory: 90232KB available (5600K code, 863K data, 160K init, 0K highmem)[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1[ 0.000000] Hierarchical RCU implementation.[ 0.000000] NR_IRQS:245[ 0.000000] Console: colour dummy device 80x30[ 0.000000] Calibrating delay loop... 107.31 BogoMIPS (lpj=536576)[ 0.230000] Security Framework initialized[ 0.230000] SELinux: Disabled at boot.[ 0.230000] Mount-cache hash table entries: 512[ 0.230000] Initializing cgroup subsys ns[ 0.230000] Initializing cgroup subsys cpuacct[ 0.230000] Initializing cgroup subsys memory[ 0.230000] Initializing cgroup subsys devices[ 0.230000] Initializing cgroup subsys freezer[ 0.230000] CPU: Testing write buffer coherency: ok[ 0.240000] DaVinci: 104 gpio irqs[ 0.240000] regulator: core version 0.5[ 0.240000] NET: Registered protocol family 16[ 0.310000] bio: create slab <bio-0> at 0[ 0.310000] DM355 IPIPE intialized in Single Shot mode[ 0.320000] SCSI subsystem initialized[ 0.320000] vpss vpss: dm355_vpss vpss probed[ 0.320000] vpss vpss: dm355_vpss vpss probe success[ 0.320000] ch0 default output "COMPOSITE", mode "NTSC"[ 0.320000] ch1 default output "", mode ""[ 0.320000] VPBE Encoder Initialized[ 0.320000] NetLabel: Initializing[ 0.320000] NetLabel: domain hash size = 128[ 0.320000] NetLabel: protocols = UNLABELED CIPSOv4[ 0.330000] NetLabel: unlabeled traffic allowed by default[ 0.330000] LogicPD encoder initialized[ 0.330000] Avnetlcd encoder initialized[ 0.330000] Switching to clocksource timer0_1[ 0.360000] musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0[ 0.380000] musb_hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12[ 0.380000] NET: Registered protocol family 2[ 0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)[ 0.390000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)[ 0.390000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)[ 0.390000] TCP: Hash tables configured (established 4096 bind 4096)[ 0.390000] TCP reno registered[ 0.390000] NET: Registered protocol family 1[ 0.390000] RPC: Registered udp transport module.[ 0.390000] RPC: Registered tcp transport module.[ 0.390000] RPC: Registered tcp NFSv4.1 backchannel transport module.[ 0.390000] audit: initializing netlink socket (disabled)[ 0.390000] type=2000 audit(0.390:1): initialized[ 0.550000] VFS: Disk quotas dquot_6.5.2[ 0.550000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)[ 0.590000] NTFS driver 2.1.29 [Flags: R/W].[ 0.590000] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.[ 0.600000] ROMFS MTD (C) 2007 Red Hat, Inc.[ 0.600000] fuse init (API version 7.13)[ 0.600000] msgmni has been set to 176[ 0.610000] alg: No test for stdrng (krng)[ 0.620000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)[ 0.620000] io scheduler noop registered[ 0.620000] io scheduler anticipatory registered[ 0.620000] io scheduler deadline registered[ 0.620000] io scheduler cfq registered (default)[ 0.670000] imp serializer initialized[ 0.670000] davinci_previewer initialized[ 0.670000] davinci_resizer initialized[ 0.670000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled[ 0.670000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A[ 1.080000] console [ttyS0] enabled[ 1.090000] serial8250.0: ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A[ 1.100000] serial8250.0: ttyS2 at MMIO 0x1e06000 (irq = 14) is a 16550A[ 1.110000] nbd: registered device at major 43[ 1.150000] SCSI Media Changer driver v0.25 [ 1.160000] slram: not enough parameters.[ 1.180000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)[ 1.190000] 2 NAND chips detected[ 1.200000] Creating 5 MTD partitions on "davinci_nand.0":[ 1.210000] 0x000000000000-0x000000f00000 : "bootloader"[ 1.210000] 0x000000f00000-0x000001000000 : "params"[ 1.220000] 0x000001000000-0x000001400000 : "kernel"[ 1.220000] 0x000001400000-0x000021400000 : "filesystem1"[ 1.230000] 0x000021400000-0x000080000000 : "filesystem2"[ 1.250000] davinci_nand davinci_nand.0: controller rev. 2.3[ 1.270000] Fixed MDIO Bus: probed[ 1.270000] PPP generic driver version 2.4.2[ 1.280000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).[ 1.290000] CSLIP: code copyright 1989 Regents of the University of California.[ 1.290000] SLIP linefill/keepalive option.[ 1.300000] tun: Universal TUN/TAP device driver, 1.6[ 1.300000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>[ 1.310000] dm9000 Ethernet Driver, V1.31[ 1.440000] eth0: dm9000a at c6ca6000,c6caa002 IRQ 65 MAC: 00:0e:99:02:cd:4a (eeprom)[ 1.450000] console [netcon0] enabled[ 1.450000] netconsole: network logging started[ 1.460000] g_file_storage gadget: no file given for LUN0[ 1.470000] mice: PS/2 mouse device common for all mice[ 1.470000] i2c /dev entries driver[ 1.480000] Linux video capture interface: v2.00[ 1.480000] af major#: 250, minor# 0[ 1.490000] aew major#: 249, minor# 0[ 1.490000] watchdog watchdog: heartbeat 60 sec[ 1.500000] cpuidle: using governor ladder[ 1.500000] cpuidle: using governor menu[ 1.520000] TCP cubic registered[ 1.520000] Initializing XFRM netlink socket[ 1.530000] NET: Registered protocol family 17[ 1.530000] NET: Registered protocol family 33[ 1.540000] registered taskstats version 1[ 1.550000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)[ 2.100000] eth0: link down[ 2.460000] eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1[ 3.110000] Sending DHCP requests ., OK[ 3.340000] IP-Config: Got DHCP answer from 10.0.2.15, my address is 10.0.2.17[ 3.340000] IP-Config: Complete:[ 3.350000] device=eth0, addr=10.0.2.17, mask=255.0.0.0, gw=255.255.255.255,[ 3.350000] host=10.0.2.17, domain=example.org, nis-domain=(none),[ 3.360000] bootserver=10.0.2.15, rootserver=10.0.2.15, rootpath=[ 3.370000] Looking up port of RPC 100003/2 on 10.0.2.15[ 3.390000] Looking up port of RPC 100005/1 on 10.0.2.15[ 3.410000] VFS: Mounted root (nfs filesystem) on device 0:14.[ 3.420000] Freeing init memory: 160K[ 3.520000] Kernel panic - not syncing: Attempted to kill init![ 3.520000] Backtrace: [ 3.530000] [<c00346c0>] (dump_backtrace+0x0/0x114) from [<c0458b78>] (dump_stack+0x20/0x24)[ 3.540000] r6:c05e12dc r5:c05b26b0 r4:c05b26b0[ 3.540000] [<c0458b58>] (dump_stack+0x0/0x24) from [<c0458bd0>] (panic+0x54/0x134)[ 3.550000] [<c0458b7c>] (panic+0x0/0x134) from [<c004f634>] (do_exit+0x6cc/0x700)[ 3.560000] r3:60000013 r2:c4023e38 r1:c4023c0c r0:c0522cf4[ 3.560000] [<c004ef68>] (do_exit+0x0/0x700) from [<c004f6b4>] (do_group_exit+0x4c/0xcc)[ 3.570000] [<c004f668>] (do_group_exit+0x0/0xcc) from [<c005e888>] (get_signal_to_deliver+0x1c8/0x380)[ 3.580000] r4:c4022000[ 3.580000] [<c005e6c0>] (get_signal_to_deliver+0x0/0x380) from [<c0032f24>] (do_notify_resume+0xc8/0x5c0)[ 3.590000] [<c0032e5c>] (do_notify_resume+0x0/0x5c0) from [<c0030a68>] (work_pending+0x1c/0x20)
So everything goes fine before userspace attachment. Any suggestions?
Im using filesystem from dvsdk 3.10 "arago-demo-image-dm355-evm.tar.gz" , is it right?
Best regards. Pavel Goryunov.
So, problem was in this option "Kernel Features ->Use the ARM EABI to compile the kernel".