Pandaboard: DT Boot fails when initramfs is loaded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I try to boot the mainline omap kernel (I tried current mainline
kernel from git and mainline 3.10-rc1+) on my Pandaboard using
U-Boot as follows:

mmcinfo
ext2load mmc 0:2 0x80000000 /boot/uImage
ext2load mmc 0:2 0x81600000 /boot/uInitrd
ext2load mmc 0:2 0x90000000 /boot/omap4-panda.dtb
bootm 0x80000000 0x81600000 0x90000000

The kernel does start booting, but it fails once it should load the
initramfs (dmesg attached below). I can boot the 3.10 kernel when
not booting with DT:

mmcinfo
ext2load mmc 0:2 0x80000000 /boot/uImage
ext2load mmc 0:2 0x81600000 /boot/uInitrd
ext2load mmc 0:2 0x90000000 /boot/omap4-panda.dtb
bootm 0x80000000 0x81600000

Can somebody tell me what I'm doing wrong?

Here's the dmesg of the DT boot:

[    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-rc1+ (sre@earth) (gcc version 4.7.1 (Debian 4.7.1-7) ) #27 SMP Sat May 25 17:55:27 CEST 2013
[    0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Generic OMAP4 (Flattened Device Tree), model: TI OMAP4 PandaBoard
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: dma_contiguous_reserve(limit af800000)
[    0.000000] cma: dma_contiguous_reserve: reserving 16 MiB for global area
[    0.000000] cma: dma_declare_contiguous(size 1000000, base 00000000, limit af800000)
[    0.000000] cma: CMA: reserved 16 MiB at ae800000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 261888
[    0.000000] free_area_init_node: node 0, pgdat c05ada80, node_mem_map c0625000
[    0.000000]   Normal zone: 1520 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 528 pages used for memmap
[    0.000000]   HighMem zone: 67328 pages, LIFO batch:15
[    0.000000] OMAP4430 ES2.2
[    0.000000] PERCPU: Embedded 9 pages/cpu @c0e34000 s13120 r8192 d15552 u36864
[    0.000000] pcpu-alloc: s13120 r8192 d15552 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260368
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait vram=32M omapfb.vram=0:16M,1:16M omapdss.def_disp=hdmi loglevel=8 earlyprintk
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1017MB 6MB = 1023MB total
[    0.000000] Memory: 1010708k/1010708k available, 37868k reserved, 264324K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04e49cc   (4979 kB)
[    0.000000]       .init : 0xc04e5000 - 0xc0534340   ( 317 kB)
[    0.000000]       .data : 0xc0536000 - 0xc05aff20   ( 488 kB)
[    0.000000]        .bss : 0xc05aff20 - 0xc0624014   ( 465 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] OMAP clockevent source: timer1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000000] smp_twd: clock not found -2
[    0.000000] Console: colour dummy device 80x30
[    0.014617] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.109130] pid_max: default: 32768 minimum: 301
[    0.114135] Security Framework initialized
[    0.118560] Mount-cache hash table entries: 512
[    0.127990] Initializing cgroup subsys devices
[    0.132659] Initializing cgroup subsys freezer
[    0.137390] Initializing cgroup subsys net_cls
[    0.142028] Initializing cgroup subsys blkio
[    0.146545] Initializing cgroup subsys perf_event
[    0.151611] CPU: Testing write buffer coherency: ok
[    0.157257] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.163146] Calibrating local timer... 399.11MHz.
[    0.227325] Setting up static identity map for 0xc036e158 - 0xc036e1b0
[    0.234191] L310 cache controller enabled
[    0.238464] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x7e470000, Cache size: 1048576 B
[    0.248535] CPU1: Booted secondary processor
[    0.337036] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.337158] Brought up 2 CPUs
[    0.350677] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[    0.357299] CPU: All CPU(s) started in SVC mode.
[    0.362823] devtmpfs: initialized
[    0.425354] pinctrl core: initialized pinctrl subsystem
[    0.431152] regulator-dummy: no parameters
[    0.435516] cma: cma_init_reserved_areas()
[    0.439819] cma: cma_create_area(base 000ae800, count 1000)
[    0.446868] cma: cma_create_area: returned ed8ee240
[    0.452178] NET: Registered protocol family 16
[    0.456970] cma: dma_alloc_from_contiguous(cma ed8ee240, count 64, align 6)
[    0.465972] cma: dma_alloc_from_contiguous(): returned c0bf5000
[    0.473144] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.492858] OMAP GPIO hardware version 0.1
[    0.500976] omap-gpmc 50000000.gpmc: error: clk_get
[    0.506103] omap-gpmc: probe of 50000000.gpmc failed with error -2
[    0.519836] No ATAGs?
[    0.522003] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.530578] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.537719] OMAP DMA hardware revision 0.0
[    0.543151] ARM PMU: not yet supported on OMAP4430 due to missing CTI driver
[    0.553436] bio: create slab <bio-0> at 0
[    0.569732] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[    0.577484] hsusb1_reset: 3300 mV 
[    0.581298] hsusb1_vbus: 3300 mV 
[    0.586425] usbcore: registered new interface driver usbfs
[    0.592193] usbcore: registered new interface driver hub
[    0.597869] usbcore: registered new device driver usb
[    0.603424] omap_i2c 48070000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c1_pins, deferring probe
[    0.614776] platform 48070000.i2c: Driver omap_i2c requests probe deferral
[    0.621948] omap_i2c 48072000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c2_pins, deferring probe
[    0.633300] platform 48072000.i2c: Driver omap_i2c requests probe deferral
[    0.640472] omap_i2c 48060000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c3_pins, deferring probe
[    0.651824] platform 48060000.i2c: Driver omap_i2c requests probe deferral
[    0.658996] omap_i2c 48350000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c4_pins, deferring probe
[    0.670349] platform 48350000.i2c: Driver omap_i2c requests probe deferral
[    0.678436] Switching to clocksource 32k_counter
[    0.700286] NET: Registered protocol family 2
[    0.705566] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.713012] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.719879] TCP: Hash tables configured (established 8192 bind 8192)
[    0.726593] TCP: reno registered
[    0.730010] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.736267] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.743225] NET: Registered protocol family 1
[    0.748992] Unpacking initramfs...
[    0.752593] Unable to handle kernel paging request at virtual address ffa23000
[    0.760101] pgd = c0004000
[    0.762939] [ffa23000] *pgd=00000000
[    0.766723] Internal error: Oops: 5 [#1] SMP ARM
[    0.771545] Modules linked in:
[    0.774749] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc1+ #27
[    0.781463] task: ed8639c0 ti: ed864000 task.ti: ed864000
[    0.787109] PC is at unpack_to_rootfs+0x9c/0x294
[    0.791931] LR is at kmem_cache_alloc_trace+0x2c/0x154
[    0.797302] pc : [<c04e63fc>]    lr : [<c00f97dc>]    psr: 20000113
[    0.797302] sp : ed865f00  ip : ed80dc44  fp : 00000000
[    0.809265] r10: c051e4f0  r9 : c04e5278  r8 : c051e4f0
[    0.814727] r7 : ffa23000  r6 : 004def90  r5 : c051e464  r4 : c060e024
[    0.821502] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : eda36000
[    0.828277] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    0.835876] Control: 10c5387d  Table: 8000404a  DAC: 00000015
[    0.841857] Process swapper/0 (pid: 1, stack limit = 0xed864240)
[    0.848114] Stack: (0xed865f00 to 0xed866000)
[    0.852691] 5f00: c04e5278 00000000 00000000 c0366d8c c04436d0 ed865f2c c05affb4 c051e464
[    0.861175] 5f20: c0530330 c05aff40 c04e6ad4 c04e5278 00000000 c04e6b20 00000005 c051e464
[    0.869659] 5f40: c0530330 c0008788 c04e6ad4 00000000 c0530330 00000006 00000005 c051e464
[    0.878143] 5f60: c0530330 c05aff40 0000005e c04e5278 c051e474 c04e5984 00000005 00000005
[    0.886627] 5f80: c04e5278 00000000 00000000 c0361d30 00000000 00000000 00000000 00000000
[    0.895111] 5fa0: 00000000 c0361d38 00000000 c000dd18 00000000 00000000 00000000 00000000
[    0.903594] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.912078] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 aa9aa2aa aaaaaaaa
[    0.920562] [<c04e63fc>] (unpack_to_rootfs+0x9c/0x294) from [<c04e6b20>] (populate_rootfs+0x4c/0x124)
[    0.930145] [<c04e6b20>] (populate_rootfs+0x4c/0x124) from [<c0008788>] (do_one_initcall+0x90/0x140)
[    0.939605] [<c0008788>] (do_one_initcall+0x90/0x140) from [<c04e5984>] (kernel_init_freeable+0x160/0x22c)
[    0.949645] [<c04e5984>] (kernel_init_freeable+0x160/0x22c) from [<c0361d38>] (kernel_init+0x8/0xe4)
[    0.959106] [<c0361d38>] (kernel_init+0x8/0xe4) from [<c000dd18>] (ret_from_fork+0x14/0x3c)
[    0.967773] Code: e1c821f0 e1a0a008 e5881000 ea00004c (e5d73000) 
[    0.974151] ---[ end trace 68be233e8ca937ac ]---
[    0.979095] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    0.979095] 
[    0.988647] CPU1: stopping
[    0.991516] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D      3.10.0-rc1+ #27
[    0.999206] [<c0014a20>] (unwind_backtrace+0x0/0xe0) from [<c0011950>] (show_stack+0x10/0x14)
[    1.008056] [<c0011950>] (show_stack+0x10/0x14) from [<c0012e10>] (handle_IPI+0xc0/0x124)
[    1.016540] [<c0012e10>] (handle_IPI+0xc0/0x124) from [<c0008668>] (gic_handle_irq+0x58/0x60)
[    1.025390] [<c0008668>] (gic_handle_irq+0x58/0x60) from [<c000d8c0>] (__irq_svc+0x40/0x50)
[    1.034057] Exception stack(0xed8a3fa0 to 0xed8a3fe8)
[    1.039337] 3fa0: ffffffed 00000000 0090c000 00000000 ed8a2000 ed8a2000 c0372958 c05b0284
[    1.047821] 3fc0: 8000406a 411fc092 00000000 00000000 00000001 ed8a3fe8 c000ee68 c000ee6c
[    1.056304] 3fe0: 60000113 ffffffff
[    1.059967] [<c000d8c0>] (__irq_svc+0x40/0x50) from [<c000ee6c>] (arch_cpu_idle+0x30/0x38)
[    1.068572] [<c000ee6c>] (arch_cpu_idle+0x30/0x38) from [<c0074778>] (cpu_startup_entry+0x134/0x1cc)
[    1.078033] [<c0074778>] (cpu_startup_entry+0x134/0x1cc) from [<80362c44>] (0x80362c44)

-- Sebastian

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux