AnsweredAssumed Answered

i.MX6Q Sabre SD kernel boot crash

Question asked by Bernard Dautrevaux on Aug 19, 2013
Latest reply on Oct 9, 2013 by Paul Chang

I have a problem with the latest Android JB distribution (jb4.2.2_1.1.0-ga) compiled on Ubuntu 12.04.

I can compiled everything without problem, but when I try to boot the Linux kernel, it crashes and resets the board with an audible "click".

The Android ICS version provided on teh SD-card, of course, works flawlessly.

 

Note however that I got the same behaviour (kernel boot aborting with a "click") when i Use a 5V-1A powersupply instead of the 5V-5A supply provided with the board; I then check and see that the board is using up to about 2A when the kernel is booting, probably when switching on the various peripherals, but I can't reproduce it right now (I don't have the proper poser supply here).

 

I hope someone will have ideas on how I could at least work around this. I've heard someone talking about suppressing kernel power management but

     1) I don't see how (there is very few PM-related config options in menuconfig)

     2) I'm afraid this could break havoc in Android...

 

Here is the log of the kernel boot:

 

## Booting kernel from Legacy Image at 10800000 ...

   Image Name:   Linux-3.0.35-06126-g0f2d6ad-dirt

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4766036 Bytes =  4.5 MB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

 

Starting kernel ...

 

Uncompressing Linux... done, booting the kernel.

Initializing cgroup subsys cpu

Linux version 3.0.35-06126-g0f2d6ad-dirty (dautrevaux@coLinux) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #21 SMP PREEMPT Mon Aug 19 18:06:26 CEST 2013

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board

Ignoring unrecognised tag 0x54410008

Memory policy: ECC disabled, Data cache writealloc

CPU identified as i.MX6Q, silicon rev 1.2

PERCPU: Embedded 7 pages/cpu @c1325000 s6592 r8192 d13888 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 208128

Kernel command line: init=/init androidboot.console=ttymxc0 console=ttymxc0,115200n8 ip=192.168.233.128:192.168.233.1:192.168.233.1:255.255.255.0:sabresd_6dq:eth0:off fbmem=10M vmalloc=400M root=/dev/nfs nfsroot=192.168.233.1:/tftpboot/rootfs-sabresd_6dq

PID hash table entries: 2048 (order: 1, 8192 bytes)

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 767MB 54MB = 821MB total

Memory: 820576k/820576k available, 228000k reserved, 431104K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xfbe00000 - 0xffe00000   (  64 MB)

    vmalloc : 0xd9800000 - 0xf2000000   ( 392 MB)

    lowmem  : 0xc0000000 - 0xd9000000   ( 400 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .init : 0xc0008000 - 0xc0045000   ( 244 kB)

      .text : 0xc0045000 - 0xc08fa938   (8919 kB)

      .data : 0xc08fc000 - 0xc0993be0   ( 607 kB)

       .bss : 0xc0993c04 - 0xc0b1b948   (1568 kB)

Preemptible hierarchical RCU implementation.

NR_IRQS:624

MXC GPIO hardware

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms

arm_max_freq=1GHz

MXC_Early serial console at MMIO 0x2020000 (options '115200n8')

bootconsole [ttymxc0] enabled

Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

Initializing cgroup subsys debug

Initializing cgroup subsys cpuacct

Initializing cgroup subsys freezer

CPU: Testing write buffer coherency: ok

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

CPU1: Booted secondary processor

CPU2: Booted secondary processor

CPU3: Booted secondary processor

Brought up 4 CPUs

SMP: Total of 4 processors activated (6324.22 BogoMIPS).

print_constraints: dummy:

NET: Registered protocol family 16

print_constraints: vddpu: 725 <--> 1300 mV at 1100 mV fast normal

print_constraints: vddcore: 725 <--> 1300 mV at 1100 mV fast normal

print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal

print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal

print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal

print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal

 

 

U-Boot 2009.08-00602-g3f71ed9 (Nov 26 2012 - 17:31:49)

 

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Temperature:   53 C, calibration data 0x5884c57d

Outcomes