Booting Android SabreAuto DL CPU CARD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Booting Android SabreAuto DL CPU CARD

806 Views
tequilaguru
Contributor I

Hello, I just finished building Android 4.4.2 for the SabreAuto CPU Card, and I'm trying to boot the platform.

I built the image using 'make -j12 PRODUCT-sabreauto_6q-eng BUILD_TARGET_FS=ubifs 2>&1 | tee build_sabreauto_6dq_android.log', I changed the device/fsl/sabreauto_6q/BoardConfig.mk to match my NAND MT29F32G08CFACAWP, I changed the LEB and the block size to 1024KiB.

After getting to 'Freeing init memory: 252K' the system hangs.

The image is built and is flashed (properly I think, I get no errors), u-boot runs and loads the kernel, I also modified init.rc to enable adb, because I needed more info.

I can connect using ADB, but I can't see logcat output, I get the following error:

- exec '/system/bin/sh' failed: No such file or directory (2) -

The /system folder is empty I assume the mounting of the system image is failing but I don't how why or how to debug this.

Any idea where could I be doing something wrong?

Best regards.

Labels (2)
Tags (3)
0 Kudos
1 Reply

400 Views
tequilaguru
Contributor I

Forgot to post Boot Console Output:

U-Boot 2009.08 (sep 17 2014 - 18:48:53)

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

Thermal sensor with ratio = 178

Temperature:   43 C, calibration data 0x5654b87d

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock     : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock     : 132000000Hz

axi clock   : 198000000Hz

emi_slow clock: 99000000Hz

ddr clock     : 396000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock     : 19800000Hz

Board: i.MX6DL/Solo-SABREAUTO: unknown-board Board: 0x61011 [POR]

Boot Device: NAND

I2C:   ready

DRAM:   2 GB

NAND:  ONFI param page 0 valid

ONFI flash detected

Manufacturer ID: 0x2c, Chip ID: 0x48 (Micron MT29F32G08CFACAWP), page size: 4096, OOB size: 224

2048 MiB

*** Warning - bad CRC or NAND, using default environment

In:    serial

Out:   serial

Err:   serial

Net:   got MAC address from IIM: 00:04:9f:03:51:2e

FEC0 [PRIME]

Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x1000000, size 0x800000

8388608 bytes read: OK

kernel   @ 10808000 (4841196)

ramdisk  @ 11800000 (499389)

kernel cmdline:

        use boot.img command line:

        console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M vmalloc=400M androidboot.console=ttymxc3 androidboot.hardware=freescale mtdparts=gpmi-nand:16m(bootloader),16m(bootimg),128m(recovery),-(root) ubi.mtd=3 androidboot.serialno=1f0c61d4df646328

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Initializing cgroup subsys cpu

Linux version 3.0.35-06522-g0a3529b (hanzo@UbuntuHanzo) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #7 SMP PREEMPT Wed Sep 17 18:47:10 CDT 2014

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 Auto Board

Memory policy: ECC disabled, Data cache writealloc

CPU identified as i.MX6DL/SOLO, silicon rev 1.1

PERCPU: Embedded 7 pages/cpu @c2887000 s6528 r8192 d13952 u32768

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

Kernel command line: console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M vmalloc=400M androidboot.console=ttymxc3 androidboot.hardware=freescale mtdparts=gpmi-nand:16m(bootloader),16m(bootimg),128m(recovery),-(root) ubi.mtd=3 androidboot.serialno=1f0c61d4df646328

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: 1590MB 240MB = 1830MB total

Memory: 1845060k/1845060k available, 252092k reserved, 1464320K 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 - 0xc0047000   ( 252 kB)

      .text : 0xc0047000 - 0xc0910548   (8998 kB)

      .data : 0xc0912000 - 0xc09ac438   ( 618 kB)

       .bss : 0xc09ac45c - 0xc0b34f7c   (1571 kB)

Preemptible hierarchical RCU implementation.

NR_IRQS:624

MXC GPIO hardware

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

Set periph_clk's parent to pll2_pfd_400M!

arm_max_freq=800MHz

MXC_Early serial console at MMIO 0x21f0000 (options '115200')

bootconsole [ttymxc3] enabled

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

pid_max: default: 32768 minimum: 301

Security Framework initialized

SELinux:  Initializing.

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

Brought up 2 CPUs

SMP: Total of 2 processors activated (3162.11 BogoMIPS).

print_constraints: dummy:

NET: Registered protocol family 16

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

print_constraints: vddcore: 725 <--> 1300 mV at 1150 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

hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.

hw-breakpoint: maximum watchpoint size is 4 bytes.

L310 cache controller enabled

l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32050000, Cache size: 524288 B

bio: create slab <bio-0> at 0

mxs-dma mxs-dma-apbh: initialized

print_constraints: VA: 2800 mV

print_constraints: VD: 2800 mV

print_constraints: VLS: 2800 mV

print_constraints: VLC: 2800 mV

print_constraints: vmmc: 3300 mV

vgaarb: loaded

SCSI subsystem initialized

spi_imx imx6q-ecspi.0: probed

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Freescale USB OTG Driver loaded, $Revision: 1.55 $

mc_pfuze 1-0008: ID: 0,Full lay: 1 ,Metal lay: 1

mc_pfuze 1-0008: FAB: 0 ,FIN: 0

print_constraints: SW1A: 300 <--> 1875 mV at 1375 mV

print_constraints: SW1B: 300 <--> 1875 mV at 300 mV

print_constraints: SW1C: 300 <--> 1875 mV at 1375 mV

print_constraints: SW2: 800 <--> 3950 mV at 3000 mV

print_constraints: SW3A: 400 <--> 1975 mV at 1500 mV

print_constraints: SW3B: 400 <--> 1975 mV at 1500 mV

print_constraints: SW4: 800 <--> 3950 mV at 3300 mV

print_constraints: SWBST: 5000 <--> 5150 mV at 5000 mV

print_constraints: VSNVS: 1200 <--> 3000 mV at 1800 mV

print_constraints: VREFDDR: at 750 mV

print_constraints: VGEN1: 800 <--> 1550 mV at 800 mV

print_constraints: VGEN2: 800 <--> 1550 mV at 1500 mV

print_constraints: VGEN3: 1800 <--> 3300 mV at 1800 mV

print_constraints: VGEN4: 1800 <--> 3300 mV at 1800 mV

print_constraints: VGEN5: 1800 <--> 3300 mV at 2500 mV

print_constraints: VGEN6: 1800 <--> 3300 mV at 2800 mV

imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Version 1.0.24.

Bluetooth: Core ver 2.16

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

i2c-core: driver [max17135] using legacy suspend method

i2c-core: driver [max17135] using legacy resume method

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

IP route cache hash table entries: 16384 (order: 4, 65536 bytes)

TCP established hash table entries: 65536 (order: 7, 524288 bytes)

TCP bind hash table entries: 65536 (order: 7, 786432 bytes)

TCP: Hash tables configured (established 65536 bind 65536)

TCP reno registered

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

Unpacking initramfs...

Freeing initrd memory: 484K

Static Power Management for Freescale i.MX6

wait mode is enabled for i.MX6

cpaddr = d9820000 suspend_iram_base=d989c000

PM driver module loaded

iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

PCIE: imx_pcie_pltfm_probe start link up.

link up failed, DB_R0:0x00b0e500, DB_R1:0x08200000!

IMX PCIe port: link down with power supply 0!

IMX usb wakeup probe

add wake up source irq 75

IMX usb wakeup probe

cpu regulator mode:ldo_enable

i.MXC CPU frequency driver

audit: initializing netlink socket (disabled)

type=2000 audit(1.590:1): initialized

highmem bounce pool size: 64 pages

ashmem: initialized

NTFS driver 2.1.30 [Flags: R/O].

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

fuse init (API version 7.16)

msgmni has been set to 744

NET: Registered protocol family 38

cryptodev: driver loaded.

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed

MIPI DSI driver module loaded

mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb

_regulator_get: get() with no identifier

imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

mxc_sdc_fb mxc_sdc_fb.1: Can't get fb option for mxcfb1!

imx-sdma imx-sdma: loaded firmware 1.1

imx-sdma imx-sdma: initialized

Serial: IMX driver

imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX

imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX

imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX

console [ttymxc3] enabled, bootconsole disabled

console [ttymxc3] enabled, bootconsole disabled

loop: module loaded

ONFI flash detected

ONFI param page 0 valid

NAND device: Manufacturer ID: 0x2c, Chip ID: 0x48 (Micron MT29F32G08CFACAWP)

gpmi-nand imx6q-gpmi-nand.0: enable asynchronous EDO mode 5

Scanning device for bad blocks

Bad eraseblock 90 at 0x000005a00000

Bad eraseblock 91 at 0x000005b00000

Bad eraseblock 778 at 0x000030a00000

Bad eraseblock 1505 at 0x00005e100000

4 cmdlinepart partitions found on MTD device gpmi-nand

Creating 4 MTD partitions on "gpmi-nand":

0x000000000000-0x000001000000 : "bootloader"

0x000001000000-0x000002000000 : "bootimg"

0x000002000000-0x00000a000000 : "recovery"

0x00000a000000-0x000080000000 : "root"

GPMI NAND driver registered. (IMX)

UBI: attaching mtd3 to ubi0

UBI: physical eraseblock size:   1048576 bytes (1024 KiB)

UBI: logical eraseblock size:    1040384 bytes

UBI: smallest flash I/O unit:    4096

UBI: VID header offset:          4096 (aligned 4096)

UBI: data offset:                8192

UBI: max. sequence number:       2

UBI: attached mtd3 to ubi0

UBI: MTD device name:            "root"

UBI: MTD device size:            1888 MiB

UBI: number of good PEBs:        1886

UBI: number of bad PEBs:         2

UBI: number of corrupted PEBs:   0

UBI: max. allowed volumes:       128

UBI: wear-leveling threshold:    4096

UBI: number of internal volumes: 1

UBI: number of user volumes:     4

UBI: available PEBs:             0

UBI: total number of reserved PEBs: 1886

UBI: number of PEBs reserved for bad PEB handling: 18

UBI: max/mean erase counter: 20/9

UBI: image sequence number:  1900094875

UBI: background thread "ubi_bgt0d" started, PID 1215

vcan: Virtual CAN interface driver

CAN device driver interface

flexcan netdevice driver

flexcan imx6q-flexcan.1: device registered (reg_base=d9980000, irq=143)

FEC Ethernet Driver

fec_enet_mii_bus: probed

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

PPP BSD Compression module registered

PPP MPPE Compression module registered

NET: Registered protocol family 24

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1

fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000

fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

add wake up source irq 72

fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2

fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200

fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

usbcore: registered new interface driver cdc_acm

cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver usbserial

usbserial: USB Serial Driver core

USB Serial support registered for GSM modem (1-port)

usbcore: registered new interface driver option

option: v0.7.2:USB Driver for GSM modems

USB Serial support registered for Qualcomm USB modem

usbcore: registered new interface driver qcserial

ARC USBOTG Device Controller driver (1 August 2005)

android_usb gadget: Mass Storage Function, version: 2009/09/11

android_usb gadget: Number of LUNs=1

lun0: LUN: removable file: (no medium)

Gadget Android: controller 'fsl-usb2-udc' not recognized

android_usb gadget: android_usb ready

Suspend udc for OTG auto detect

fsl-usb2-udc: bind to driver android_usb

mousedev: PS/2 mouse device common for all mice

input: gpio-keys as /devices/platform/gpio-keys/input/input0

egalax_ts 1-0004: request gpio failed,cannot wake up controller:-16

egalax_ts 1-0004: Failed to wake up, disable suspend, otherwise it can not wake up

egalax_ts 1-0004: egalax_ts: failed to read firmware version

egalax_ts: probe of 1-0004 failed with error -5

i2c-core: driver [isl29023] using legacy suspend method

i2c-core: driver [isl29023] using legacy resume method

using rtc device, snvs_rtc, for alarms

snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0

i2c /dev entries driver

Linux video capture interface: v2.00

DBG sensor data is at c0a047c0

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17

usbcore: registered new interface driver uvcvideo

USB Video Class driver (v1.1.0)

mag3110 2-000e: check mag3110 chip ID

mag3110 2-000e: read chip ID 0xfffffffb is not equal to 0xc4!

mag3110: probe of 2-000e failed with error -22

i2c-core: driver [mag3110] using legacy suspend method

i2c-core: driver [mag3110] using legacy resume method

mma8x5x 2-001c: read chip ID 0xfffffffb is not equal to 0x1a,0x2a,0x3a,0x4a,0x5a!

mma8x5x: probe of 2-001c failed with error -22

imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)

device-mapper: uevent: version 1.0.3

device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com

Bluetooth: Virtual HCI driver ver 1.3

Bluetooth: HCI UART driver ver 2.2

Bluetooth: HCIATH3K protocol initialized

Bluetooth: Generic Bluetooth USB driver ver 0.6

usbcore: registered new interface driver btusb

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA

mmc1: no vmmc regulator found

mmc1: SDHCI controller on platform [sdhci-esdhc-imx.0] using ADMA

mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

VPU initialized

mxc_asrc registered

Galcore version 4.6.9.9754

Thermal calibration data is 0x5654b87d

Thermal sensor with ratio = 178

Anatop Thermal registered as thermal_zone0

anatop_thermal_probe: default cooling device is cpufreq!

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

logger: created 256K log 'log_main'

logger: created 256K log 'log_events'

logger: created 256K log 'log_radio'

logger: created 256K log 'log_system'

usbcore: registered new interface driver snd-usb-audio

mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio

mxc_spdif mxc_spdif.0: MXC SPDIF Audio

Cirrus Logic CS42888 ALSA SoC Codec Driver

Device with ID register fffffffb is not a CS42888

i2c-core: driver [cs42888] using legacy suspend method

i2c-core: driver [cs42888] using legacy resume method

imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.

imx_3stack asoc driver

asoc: mxc-spdif <-> imx-spdif-dai.0 mapping ok

Initialize HDMI-audio failed. Load HDMI-video first!

ALSA device list:

  #0: imx-spdif

oprofile: using arm/armv7-ca9

u32 classifier

    Actions configured

Netfilter messages via NETLINK v0.30.

nf_conntrack version 0.5.0 (16384 buckets, 65536 max)

ctnetlink v0.93: registering with nfnetlink.

NF_TPROXY: Transparent proxy support initialized, version 4.1.0

NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.

xt_time: kernel timezone is -0000

ip_tables: (C) 2000-2006 Netfilter Core Team

arp_tables: (C) 2002 David S. Miller

TCP cubic registered

Initializing XFRM netlink socket

NET: Registered protocol family 10

Mobile IPv6

ip6_tables: (C) 2000-2006 Netfilter Core Team

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: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

lib80211: common routines for IEEE802.11 drivers

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

Bus freq driver module loaded

Bus freq driver Enabled

mxc_dvfs_core_probe

DVFS driver module loaded

regulator_init_complete: VGEN6: incomplete constraints, leaving on

regulator_init_complete: VGEN5: incomplete constraints, leaving on

regulator_init_complete: VGEN4: incomplete constraints, leaving on

regulator_init_complete: VGEN2: incomplete constraints, leaving on

regulator_init_complete: VLC: incomplete constraints, leaving on

regulator_init_complete: VLS: incomplete constraints, leaving on

regulator_init_complete: VD: incomplete constraints, leaving on

regulator_init_complete: VA: incomplete constraints, leaving on

snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)

Freeing init memory: 252K

0 Kudos