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.

Unable to mount root partition on DM3730 custom board

Hai

In my beagleboard xm based custom board has one booting issue at root partition.when i put the android ICS prebuilt binary image image on my board.it gets boot up and then stops at rootfs partition.

mmcblk0: mmc0:59b4 00000 7.34 GiB
mmcblk0: p1 p2 p3
EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244)
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
Freeing init memory: 208K
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Backtrace:
[<c004be1c>] (dump_backtrace+0x0/0x110) from [<c04ca2d0>] (dump_stack+0x18/0x1c)
r7:00000013 r6:c00785d0 r5:c06a2fa8 r4:c06a2fa8
[<c04ca2b8>] (dump_stack+0x0/0x1c) from [<c04ca338>] (panic+0x64/0x180)
[<c04ca2d4>] (panic+0x0/0x180) from [<c003c57c>] (init_post+0xa4/0xc4)
r3:00000009 r2:0000000c r1:0000f6c9 r0:c05b38fd
[<c003c4d8>] (init_post+0x0/0xc4) from [<c00084c0>] (kernel_init+0x118/0x154)
r5:c0032904 r4:c06a1f00
[<c00083a8>] (kernel_init+0x0/0x154) from [<c00785d0>] (do_exit+0x0/0x638)
r5:c00083a8 r4:00000000

stops here..................................

I didn't know why??i checked the pin multiplexing and bootargs also.....

I'm waiting for a reply.Thanks in advance

  • Hi,

    Looks like the bootargs provided was wrong.  Did you pass init= option in the bootargs? Can you post the complete boot logs?

    Regards,

    Arun

  • Hai Arun..Glad to see your post

    My printenvironment is

    *******************************************************************************************************

    Hit any key to stop autoboot: 0
    OMAP3 beagleboard.org # printenv
    bootcmd=if mmc init; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; elsei
    bootdelay=10
    baudrate=115200
    loadaddr=0x82000000
    usbtty=cdc_acm
    console=ttyO2,115200n8
    vram=12M
    dvimode=1024x768MR-16@60
    defaultdisplay=dvi
    nandroot=/dev/mtdblock4 rw
    nandrootfstype=jffs2
    mmcargs=setenv bootargs console=${console} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=$}
    nandargs=setenv bootargs console=${console} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=}
    loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
    bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
    loaduimage=fatload mmc 0 ${loadaddr} uImage
    mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
    dieid#=119c00029ff80000014e0ef20203301d
    stdin=serial
    stdout=serial
    stderr=serial
    mpurate=600

    Environment size: 1141/131068 bytes
    OMAP3 beagleboard.org #

    ********************************************************************************************************

    My bootargs

    **********************************************************

    setenv bootargs 'console=ttyO2,115200n8 androidboot.console=ttyO2 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootdelay=1 init=/init \
      ip=off omap_vout.vid1_static_vrfb_alloc=y vram=8M omapfb.vram=0:8M omapdss.def_disp=dvi omapfb.mode=dvi:1024x768-16'
    ***********************************************************
    
    
    
    
    My bootlogs in minicom terminal:::
    ******************************************************

    Instruments X-Loader 1.51 (Sep 10 2013 - 18:05:29)
    Beagle Rev Ax/Bx
    Starting X-loader on MMC
    Reading boot sector

    213256 Bytes Read from MMC
    Starting OS Bootloader from MMC...
    Starting OS Bootloader...


    U-Boot 2010.06 (Sep 10 2013 - 18:16:45)

    OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHz
    OMAP3 Beagle board + LPDDR/NAND
    I2C: ready
    DRAM: 256 MiB
    NAND: HW ECC [Kernel/FS layout] selected
    512 MiB
    In: serial
    Out: serial
    Err: serial
    Beagle Rev Ax/Bx
    Die ID #119c00029ff80000014e0ef20203301d
    Hit any key to stop autoboot: 0
    mmc1 is available
    reading boot.scr

    481 bytes read
    Running bootscript from mmc ...
    ## Executing script at 82000000
    reading uImage

    3333456 bytes read
    ***** Kernel: /dev/mmcblk0p1/uImage *****
    ***** RootFS: /dev/mmcblk0p2 *****
    ## Booting kernel from Legacy Image at 80200000 ...
    Image Name: Linux-2.6.37-g5c414d7-dirty
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3333392 Bytes = 3.2 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37-g5c414d7-dirty (lm@embapp-build) (gcc version 4.4.3 (GCC) ) #6 Wed Sep 11 11:49:23 IST 2013
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: OMAP3 Beagle Board
    Ignoring unrecognised tag 0x54410009
    Reserving 4194304 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000
    Kernel command line: root=/dev/mmcblk0p2 rootwait console=ttyO2,115200
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 252MB = 252MB total
    Memory: 248172k/248172k available, 13972k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
    lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    .init : 0xc0008000 - 0xc003c000 ( 208 kB)
    .text : 0xc003c000 - 0xc064d000 (6212 kB)
    .data : 0xc064e000 - 0xc06a1ee0 ( 336 kB)
    NR_IRQS:409
    Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
    Reprogramming SDRC clock to 400000000 Hz
    dpll3_m2_clk rate change failed: -22
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    GPMC revision 5.0
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install interrupt handler for IRQ407
    Trying to install interrupt handler for IRQ408
    Trying to install type control for IRQ409
    Trying to set irq flags for IRQ409
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    omap_mux_init: Add partition: #1: core, flags: 0
    OMAP3 Beagle Rev: Ax/Bx
    Found NAND on CS0
    Registering NAND on CS0
    Unable to get DVI reset GPIO
    hw-breakpoint: debug architecture 0x4 unsupported.
    OMAP DMA hardware revision 5.0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    regulator: VUSB1V5: 1500 mV normal standby
    regulator: VUSB1V8: 1800 mV normal standby
    regulator: VUSB3V1: 3100 mV normal standby
    twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VDVI: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
    regulator: VAUX3: 1800 mV normal standby
    regulator: VAUX4: 1800 mV normal standby
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource 32k_counter
    musb-hdrc: version 6.0, otg (peripheral+host), debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-inventra
    musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    omap-iommu omap-iommu.0: isp registered
    AM37x/DM37x Linux PSP version 04.02.00.07 (OMAP3BEAGLE)
    ashmem: initialized
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
    msgmni has been set to 484
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    OMAP DSI rev 1.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    console [ttyO2] enabled
    omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
    brd: module loaded
    loop: module loaded
    mtdoops: mtd device (mtddev=name/number) must be supplied
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0xad, Chip ID: 0xbc (Hynix )
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "X-Loader"
    0x000000080000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000680000 : "Kernel"
    0x000000680000-0x000020000000 : "File System"
    OneNAND driver initializing
    usbcore: registered new interface driver asix
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver smsc95xx
    usbcore: registered new interface driver net1080
    usbcore: registered new interface driver cdc_subset
    usbcore: registered new interface driver zaurus
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap.0 supply hsusb0 not found, using dummy regulator
    ehci-omap.0 supply hsusb1 not found, using dummy regulator
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.37-g5c414d7-dirty ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    android init
    android_probe pdata: c065e0e4
    android_bind
    android_usb gadget: android_usb ready
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37-g5c414d7-dirty musb-hcd
    usb usb2: SerialNumber: musb-hdrc.0
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    f_adb init
    android_register_function adb
    f_mass_storage init
    fsg_probe pdev: c065df28, pdata: c065e13c
    android_register_function usb_mass_storage
    adb_bind_config
    android_usb gadget: Mass Storage Function, version: 2009/09/11
    android_usb gadget: Number of LUNs=1
    lun0: LUN: removable file: (no medium)
    mice: PS/2 mouse device common for all mice
    input: gpio-keys as /devices/platform/gpio-keys/input/input0
    input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
    using rtc device, twl_rtc, for alarms
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    twl_rtc twl_rtc: Power up reset detected.
    twl_rtc twl_rtc: Enabling TWL-RTC.
    i2c /dev entries driver
    Linux media interface: v0.10
    Linux video capture interface: v2.00
    omap3isp supply VDD_CSIPHY1 not found, using dummy regulator
    omap3isp supply VDD_CSIPHY2 not found, using dummy regulator
    omap3isp omap3isp: Revision 15.0 found
    omap-iommu omap-iommu.0: isp: version 1.1
    mt9v113 2-003c: chip id mismatch read 0x0, expecting 0x2280
    isp_register_subdev_group: Unable to register subdev mt9v113
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    twl4030_wdt twl4030_wdt: Failed to register misc device
    twl4030_wdt: probe of twl4030_wdt failed with error -16
    device-mapper: uevent: version 1.0.3
    device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    logger: created 64K log 'log_main'
    logger: created 256K log 'log_events'
    logger: created 64K log 'log_radio'
    logger: created 64K log 'log_system'
    usbcore: registered new interface driver snd-usb-audio
    OMAP3 Beagle/Devkit8000 SoC init
    asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
    ALSA device list:
    #0: omap3beagle
    oprofile: hardware counters not available
    oprofile: using timer interrupt.
    TCP cubic registered
    Initializing XFRM netlink socket
    NET: Registered protocol family 10
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    ThumbEE CPU extension supported.
    Power Management for TI OMAP3.
    smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    SmartReflex Class3 initialized
    clock: disabling unused clocks to save power
    platform iva.0: omap_voltage_scale: Already at the requestedrate 800000000
    platform mpu.0: omap_voltage_scale: Already at the requestedrate 1000000000
    regulator_init_complete: incomplete constraints, leaving VDAC on
    twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 15
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 16
    Waiting for root device /dev/mmcblk0p2...
    mmc0: host does not support reading read-only switch. assuming write-enable.
    mmc0: new high speed SDHC card at address 59b4
    mmcblk0: mmc0:59b4 00000 7.34 GiB
    mmcblk0: p1 p2 p3
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244)
    EXT4-fs (mmcblk0p2): recovery complete
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) on device 179:2.
    Freeing init memory: 208K
    Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
    Backtrace:
    [<c004be1c>] (dump_backtrace+0x0/0x110) from [<c04ca2d0>] (dump_stack+0x18/0x1c)
    r7:00000013 r6:c00785c8 r5:c06a2fa8 r4:c06a2fa8
    [<c04ca2b8>] (dump_stack+0x0/0x1c) from [<c04ca338>] (panic+0x64/0x180)
    [<c04ca2d4>] (panic+0x0/0x180) from [<c003c57c>] (init_post+0xa4/0xc4)
    r3:00000009 r2:0000000c r1:0000f6c9 r0:c05b38fd
    [<c003c4d8>] (init_post+0x0/0xc4) from [<c00084c0>] (kernel_init+0x118/0x154)
    r5:c0032904 r4:c06a1f00
    [<c00083a8>] (kernel_init+0x0/0x154) from [<c00785c8>] (do_exit+0x0/0x638)
    r5:c00083a8 r4:00000000

    *******************************Stops here arun***************************************

    I'm waiting for your reply

    Thanks in advance