This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM37xSDK 05_03_02_00 failed in launching kernel

Other Parts Discussed in Thread: AM3715, ADS7846, TVP5146M2

Hi All,

I downloaded AM37xSDK 05_03_02_00 and made bootable SD card with pre-built images MLO, u-boot, and uImage in boot partition and filesystem in rootfs partition.

I tried them on Mistral EVM RevG with AM3715 board and Linux kernel failed in booting up.

Here is the debug message:

3158804 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Arago/2.6.37-psp04.02.00.07.sdk/
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3158740 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.37 (jenkins@sdit-build01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Dec 15 17:26:39 CST 2011
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: OMAP3 EVM
[    0.000000] Reserving 4194304 bytes SDRAM for VRAM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64000
[    0.000000] Kernel command line: console=ttyO0,115200n8 omap_vout.vid1_static_vrfb_alloc=y root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 252MB = 252MB total
[    0.000000] Memory: 242240k/242240k available, 19904k 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]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc003c000   ( 208 kB)
[    0.000000]       .text : 0xc003c000 - 0xc05db96c   (5759 kB)
[    0.000000]       .data : 0xc05dc000 - 0xc079afe0   (1788 kB)
[    0.000000] NR_IRQS:409
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/1000 MHz
[    0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
[    0.000000] Reprogramming SDRC clock to 400000000 Hz
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] GPMC revision 5.0
[    0.000000] Trying to install interrupt handler for IRQ402
[    0.000000] Trying to install interrupt handler for IRQ403
[    0.000000] Trying to install interrupt handler for IRQ404
[    0.000000] Trying to install interrupt handler for IRQ405
[    0.000000] Trying to install interrupt handler for IRQ406
[    0.000000] Trying to install interrupt handler for IRQ407
[    0.000000] Trying to install interrupt handler for IRQ408
[    0.000000] Trying to install type control for IRQ409
[    0.000000] Trying to set irq flags for IRQ409
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3951 kB
[    0.000000]  per task-struct memory footprint: 2304 bytes
[    0.000000] Calibrating delay loop... 998.84 BogoMIPS (lpj=3899392)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Security Framework initialized
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] regulator: core version 0.5
[    0.000000] regulator: dummy:
[    0.000000] NET: Registered protocol family 16
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] omap_mux_init: Add partition: #1: core, flags: 0
[    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.000000] OMAP DMA hardware revision 5.0
[    0.083374] bio: create slab <bio-0> at 0
[    0.087005] regulator: vwl1271: 1800 mV
[    0.091094] SCSI subsystem initialized
[    0.100555] usbcore: registered new interface driver usbfs
[    0.101593] usbcore: registered new interface driver hub
[    0.102294] usbcore: registered new device driver usb
[    0.105865] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
[    0.105987] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
[    0.114318] twl4030: PIH (irq 7) chaining IRQs 368..375
[    0.114471] twl4030: power (irq 373) chaining IRQs 376..383
[    0.116241] twl4030: gpio (irq 368) chaining IRQs 384..401
[    0.128936] regulator: VIO: 1800 mV normal standby
[    0.130981] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[    0.132965] regulator: VDAC: 1800 mV normal standby
[    0.134979] regulator: VAUX2_4030: 2800 mV normal standby
[    0.136932] regulator: VPLL2: 1800 mV normal standby
[    0.139007] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[    0.141021] regulator: VAUX3: 2800 mV normal standby
[    0.141906] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
[    0.142150] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
[    0.155364] omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
[    0.160064] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.164581] Switching to clocksource 32k_counter
[    0.258544] musb-hdrc: version 6.0, otg (peripheral+host), debug=0
[    0.258850] musb-hdrc musb-hdrc.0: dma type: dma-inventra
[    0.259552] musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[    0.260894] NET: Registered protocol family 2
[    0.261383] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.262603] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.262878] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
[    0.265625] TCP: Hash tables configured (established 8192 bind 8192)
[    0.265686] TCP reno registered
[    0.265716] UDP hash table entries: 128 (order: 1, 12288 bytes)
[    0.265930] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
[    0.266876] NET: Registered protocol family 1
[    0.267974] RPC: Registered udp transport module.
[    0.268005] RPC: Registered tcp transport module.
[    0.268005] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.268768] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.271484] omap_device: omap_i2c.1: new worst case activate latency 0: 61035
[    0.273834] omap3evm camera init done successfully...
[    0.274444] omap-iommu omap-iommu.0: isp registered
[    0.275054] AM37x/DM37x  Linux PSP version 04.02.00.07 (OMAP3EVM)
[    0.371398] VFS: Disk quotas dquot_6.5.2
[    0.371459] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.373321] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.374023] msgmni has been set to 473
[    0.378448] io scheduler noop registered
[    0.378479] io scheduler deadline registered
[    0.378601] io scheduler cfq registered (default)
[    0.438385] OMAP DSS rev 2.0
[    0.438751] OMAP DISPC rev 3.0
[    0.438842] OMAP VENC rev 2
[    0.439666] OMAP DSI rev 1.0
[    0.769409] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.775665] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    1.490020] console [ttyO0] enabled
[    1.494964] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    1.503356] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.511779] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[    1.551757] brd: module loaded
[    1.570526] loop: module loaded
[    1.580444] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.587280] omap2-nand driver initializing
[    1.592102] NAND device: Manufacturer ID: 0xad, Chip ID: 0xbc (Hynix )
[    1.598999] Creating 5 MTD partitions on "omap2-nand.0":
[    1.604583] 0x000000000000-0x000000080000 : "X-Loader-NAND"
[    1.616912] 0x000000080000-0x0000001c0000 : "U-Boot-NAND"
[    1.627685] 0x0000001c0000-0x000000280000 : "Boot Env-NAND"
[    1.638519] 0x000000280000-0x000000780000 : "Kernel-NAND"
[    1.650909] 0x000000780000-0x000020000000 : "File System - NAND"
[    1.905731] OneNAND driver initializing
[    1.910064] omap2-onenand omap2-onenand: Cannot request GPMC CS
[    1.916412] omap2-onenand: probe of omap2-onenand failed with error -16
[    1.926483] smsc911x: Driver version 2008-10-21.
[    1.936584] smsc911x-mdio: probed
[    1.940490] eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=ffffffff:01, irq=-1)
[    1.949615] net eth0: MAC Address: 00:50:c2:7e:96:99
[    1.956054] usbcore: registered new interface driver asix
[    1.962219] usbcore: registered new interface driver cdc_ether
[    1.968780] usbcore: registered new interface driver net1080
[    1.975219] usbcore: registered new interface driver cdc_subset
[    1.981903] usbcore: registered new interface driver zaurus
[    1.987762] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.000671] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    3.007873] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[    3.016143] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[    3.031982] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    3.038543] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.045654] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.053222] usb usb1: Product: OMAP-EHCI Host Controller
[    3.058776] usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd
[    3.064422] usb usb1: SerialNumber: ehci-omap.0
[    3.073028] hub 1-0:1.0: USB hub found
[    3.077056] hub 1-0:1.0: 3 ports detected
[    3.110809] Initializing USB Mass Storage driver...
[    3.116516] usbcore: registered new interface driver usb-storage
[    3.122802] USB Mass Storage support registered.
[    3.128265] usbcore: registered new interface driver usbtest
[    3.134307] g_ether gadget: using random self ethernet address
[    3.140380] g_ether gadget: using random host ethernet address
[    3.148101] usb0: MAC c2:4b:e0:f8:59:bb
[    3.152160] usb0: HOST MAC 46:93:a1:cb:73:e7
[    3.156646] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    3.163604] g_ether gadget: g_ether ready
[    3.167816] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    3.173583] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[    3.182312] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.189453] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.196990] usb usb2: Product: MUSB HDRC host driver
[    3.202178] usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
[    3.207824] usb usb2: SerialNumber: musb-hdrc.0
[    3.215270] hub 2-0:1.0: USB hub found
[    3.219299] hub 2-0:1.0: 1 port detected
[    3.227478] mice: PS/2 mouse device common for all mice
[    3.235839] input: TWL4030 Keypad as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
[    3.254150] ads7846 spi1.0: touchscreen, irq 335
[    3.260955] input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
[    3.275665] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input2
[    3.290191] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[    3.296997] twl_rtc twl_rtc: Power up reset detected.
[    3.303070] twl_rtc twl_rtc: Enabling TWL-RTC.
[    3.309234] i2c /dev entries driver
[    3.317718] Linux media interface: v0.10
[    3.322662] Linux video capture interface: v2.00
[    3.329406] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator
[    3.336425] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator
[    3.343841] omap3isp omap3isp: Revision 15.0 found
[    3.349090] omap-iommu omap-iommu.0: isp: version 1.1
[    3.423461] mt9t111 2-003c: Unable to detectmt9t111sensor
[    3.434448] isp_register_subdev_group: Unable to register subdev mt9t111
[    3.442932] tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
[    3.454193] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)
[    3.470275] usbcore: registered new interface driver uvcvideo
[    3.476257] USB Video Class driver (v1.0.0)
[    3.480957] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
[    3.489990] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    3.505218] mmci-omap-hs.1 supply vmmc_aux not found, using dummy regulator
[    3.518737] usbcore: registered new interface driver usbhid
[    3.524597] usbhid: USB HID core driver
[    3.531250] usbcore: registered new interface driver snd-usb-audio
[    3.541625] OMAP3 EVM SoC init
[    3.641082] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[    3.652832] ALSA device list:
[    3.655914]   #0: omap3evm
[    3.658782] oprofile: hardware counters not available
[    3.664031] oprofile: using timer interrupt.
[    3.668670] nf_conntrack version 0.5.0 (3785 buckets, 15140 max)
[    3.676300] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.682373] TCP cubic registered
[    3.685729] Initializing XFRM netlink socket
[    3.690338] NET: Registered protocol family 17
[    3.695068] NET: Registered protocol family 15
[    3.700103] Registering the dns_resolver key type
[    3.705444] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    3.714904] ThumbEE CPU extension supported.
[    3.735351] Power Management for TI OMAP3.
[    3.740264] sr_init: No PMIC hook to init smartreflex
[    3.745971] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    3.754669] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    3.763854] SmartReflex Class3 initialized
[    3.803192] clock: disabling unused clocks to save power
[    3.810913] platform mpu.0: omap_voltage_scale: Already at the requestedrate 1000000000
[    3.894287] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    3.903076] omap_vout omap_vout: Buffer Size = 3686400
[    3.921569] omap_vout omap_vout: : registered and initialized video device 16
[    3.929107] omap_vout omap_vout: Buffer Size = 3686400
[    3.936401] omap_vout omap_vout: : registered and initialized video device 17
[    3.947723] Waiting for root device /dev/mmcblk0p2...
[    4.032073] mmc0: new high speed SDHC card at address 0007
[    4.039825] mmcblk0: mmc0:0007 SD08G 7.41 GiB
[    4.050140]  mmcblk0: p1 p2 p3
[    4.175262] EXT3-fs: barriers not enabled
[    4.182464] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    4.214447] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    4.224548] mmc1: new SDIO card at address 0001

Can anyone see where the problem is and how to fix it?

Thanks,

James

  • James,

    I don't see any actual errors in the UART output.  Did the boot stall at this point for a very long period of time?  It looks like you are using an 8G card.  It is possible that the size of the card and the fact that it is the first time to boot up may cause a delay of several minutes at this point in the boot sequence.

    Is there any display to the screen?  On first-time boot there is a one-time calibration of the touch screen.  It is possible that the boot is halted at this point waiting for the touch screen calibration.

    Greg

  • Hi Greg,

    You are absolutely right. I am using 8GB sd card and after I wait for a fairly long time (several minutes), it continues to boot.

    After I used another sd card (4GB), it booted must faster.

    Thanks again for your help.

    James