We use "mcsdk_1_01_00_02" for OMAPL138's SDK. In this SDK, the linux kernel is 3.3.0, when we use linux 3.10.0+
kernel download from "git@gitorious.org:linux-davinci/linux-davinci.git". when i boot the kernel, it stopped at :
"Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b"
Loading from NAND 256MiB 3,3V 8-bit, offset 0x300000 Image Name: Linux-3.10.0+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4181792 Bytes = 4 MB Load Address: c0008000 Entry Point: c0008000 ## Booting kernel from Legacy Image at c0700000 ... Image Name: Linux-3.10.0+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4181792 Bytes = 4 MB Load Address: c0008000 Entry Point: c0008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.0+ (root@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #4 Thu Oct 16 11:30:23 HKT 2014 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: DaVinci DA850/OMAP-L138/AM18x EVM [ 0.000000] cma: CMA: reserved 16 MiB at c3000000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] DaVinci da850/omap-l138/am18x variant 0x1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS2,115200n8 noinitrd rw ip=off root=/dev/mmcblk0p2 mem=64M [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] allocated 131072 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 64MB = 64MB total [ 0.000000] Memory: 38688k/38688k available, 26848k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc07cf3e4 (7965 kB) [ 0.000000] .init : 0xc07d0000 - 0xc0828f64 ( 356 kB) [ 0.000000] .data : 0xc082a000 - 0xc0898628 ( 442 kB) [ 0.000000] .bss : 0xc0898628 - 0xc0977044 ( 891 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:245 [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000424] Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640) [ 0.080067] pid_max: default: 32768 minimum: 301 [ 0.080484] Security Framework initialized [ 0.080699] AppArmor: AppArmor initialized [ 0.080738] Yama: becoming mindful. [ 0.081398] Mount-cache hash table entries: 512 [ 0.082954] Initializing cgroup subsys memory [ 0.083090] Initializing cgroup subsys devices [ 0.083126] Initializing cgroup subsys freezer [ 0.083153] Initializing cgroup subsys blkio [ 0.083177] Initializing cgroup subsys perf_event [ 0.083522] CPU: Testing write buffer coherency: ok [ 0.083754] ftrace: allocating 21381 entries in 63 pages [ 0.184326] Setting up static identity map for 0xc0558878 - 0xc05588d0 [ 0.215685] devtmpfs: initialized [ 0.219233] EVM: security.selinux [ 0.219274] EVM: security.SMACK64 [ 0.219291] EVM: security.ima [ 0.219308] EVM: security.capability [ 0.219824] DaVinci: 144 gpio irqs [ 0.238794] regulator-dummy: no parameters [ 0.243587] NET: Registered protocol family 16 [ 0.247364] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.303528] bio: create slab <bio-0> at 0 [ 0.310513] SCSI subsystem initialized [ 0.312271] usbcore: registered new interface driver usbfs [ 0.312501] usbcore: registered new interface driver hub [ 0.313164] usbcore: registered new device driver usb [ 0.316723] NetLabel: Initializing [ 0.316769] NetLabel: domain hash size = 128 [ 0.316790] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.316994] NetLabel: unlabeled traffic allowed by default [ 0.318182] Switching to clocksource timer0_1 [ 0.395654] AppArmor: AppArmor Filesystem Enabled [ 0.443270] NET: Registered protocol family 2 [ 0.445092] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.445174] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.445218] TCP: Hash tables configured (established 512 bind 512) [ 0.445391] TCP: reno registered [ 0.445453] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.445521] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.446293] NET: Registered protocol family 1 [ 0.447633] RPC: Registered named UNIX socket transport module. [ 0.447685] RPC: Registered udp transport module. [ 0.447710] RPC: Registered tcp transport module. [ 0.447730] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.449133] EMAC: RMII PHY configured, MII PHY will not be functional [ 0.451994] Initialise module verification [ 0.452552] audit: initializing netlink socket (disabled) [ 0.452741] type=2000 audit(0.410:1): initialized [ 0.781503] bounce pool size: 64 pages [ 0.808348] VFS: Disk quotas dquot_6.5.2 [ 0.809040] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.819300] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.821128] fuse init (API version 7.22) [ 0.822894] msgmni has been set to 107 [ 0.831560] Key type asymmetric registered [ 0.831612] Asymmetric key parser 'x509' registered [ 0.832352] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.833232] io scheduler noop registered [ 0.833281] io scheduler deadline registered (default) [ 0.833991] io scheduler cfq registered [ 0.834708] ipmi message handler version 39.2 [ 0.835308] davinci_mmc da830-mmc.0: Can't get dma_tx channel [ 0.870558] davinci_mmc da830-mmc.0: Using PIO, 4-bit mode [ 0.871830] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.908088] mmc0: host does not support reading read-only switch. assuming write-enable. [ 0.910192] mmc0: new high speed SDHC card at address 1234 [ 0.933368] serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A [ 0.933596] mmcblk0: mmc0:1234 SA04G 3.63 GiB [ 0.937463] mmcblk0: p1 p2 [ 0.960598] serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A [ 0.982436] serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A [ 1.540759] console [ttyS2] enabled [ 1.575085] brd: module loaded [ 1.593581] loop: module loaded [ 1.604398] libphy: Fixed MDIO Bus: probed [ 1.610678] tun: Universal TUN/TAP device driver, 1.6 [ 1.615769] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 1.623013] PPP generic driver version 2.4.2 [ 1.629453] mousedev: PS/2 mouse device common for all mice [ 1.637602] device-mapper: uevent: version 1.0.3 [ 1.643771] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com [ 1.652593] cpuidle: using governor ladder [ 1.656745] ledtrig-cpu: registered to indicate activity on CPUs [ 1.663889] TCP: cubic registered [ 1.669658] NET: Registered protocol family 10 [ 1.676644] NET: Registered protocol family 17 [ 1.681562] Key type dns_resolver registered [ 1.688684] Loading module verification certificates [ 1.694011] X.509: Cert 0bd723a1b3cdb7e4691b3fd18755ef48b029a457 is not yet valid [ 1.701612] MODSIGN: Problem loading in-kernel X.509 certificate (-129) [ 1.708430] registered taskstats version 1 [ 1.716232] Key type trusted registered [ 1.724404] Key type encrypted registered [ 1.732679] IMA: No TPM chip found, activating TPM-bypass! [ 1.739836] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 1.748106] md: Waiting for all devices to be available before autodetect [ 1.755028] md: If you don't use raid, use raid=noautodetect [ 1.763218] md: Autodetecting RAID arrays. [ 1.767359] md: Scanned 0 and added 0 devices. [ 1.771912] md: autorun ... [ 1.774727] md: ... autorun DONE. [ 1.787729] kjournald starting. Commit interval 5 seconds [ 1.797377] EXT3-fs (mmcblk0p2): using internal journal [ 1.802748] EXT3-fs (mmcblk0p2): recovery complete [ 1.807575] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 1.814636] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 1.824931] devtmpfs: mounted [ 1.829266] Freeing unused kernel memory: 352K (c07d0000 - c0828000) /sbin/init: error while loading shared libraries: /sbin/init: unsupported version 8320 of Verneed record [ 1.940487] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 [ 1.940487] [ 1.949684] CPU: 0 PID: 1 Comm: init Not tainted 3.10.0+ #4 [ 1.955372] [<c0010068>] (unwind_backtrace+0x0/0x13c) from [<c000cb60>] (show_stack+0x20/0x24) [ 1.964050] [<c000cb60>] (show_stack+0x20/0x24) from [<c0550838>] (dump_stack+0x20/0x28) [ 1.972188] [<c0550838>] (dump_stack+0x20/0x28) from [<c055049c>] (panic+0x90/0x1f8) [ 1.979984] [<c055049c>] (panic+0x90/0x1f8) from [<c00257a8>] (do_exit+0x85c/0x910) [ 1.987691] [<c00257a8>] (do_exit+0x85c/0x910) from [<c00258f8>] (do_group_exit+0x50/0xbc) [ 1.996001] [<c00258f8>] (do_group_exit+0x50/0xbc) from [<c0025984>] (SyS_exit_group+0x20/0x28) [ 2.004745] [<c0025984>] (SyS_exit_group+0x20/0x28) from [<c0009000>] (ret_fast_syscall+0x0/0x2c)