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.

Rootfs mounting problem on DM3730

Hai

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 Sekra,

    Could you explain how you flashing your SD card? Are you follow some tutorial and if it is true could you post a link to this tutorial?

    I recommend you to check the permissions on the rootfs partition of the SD card. It should be 755. If this is correct you could try with other SD card to whether it is not a problem with the card.

    BR

    Tsvetolin Shulev

  • Hai Shulev

    First i prepared my SD card for android from prebuilt binary image from the link:http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_ICS_4_0_3_DevKit_3_0_0/index_FDS.html.With the help of mkmmc-android.sh script i partitioned the card and put my custom board(referenced from beagleboard xm).It stops at INIT file not boots after kernel.

    It shows an error

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

    VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
    Please append a correct "root=" boot option; here are the available partitions:
    1f00 512 mtdblock0 (driver?)
    1f01 1920 mtdblock1 (driver?)
    1f02 128 mtdblock2 (driver?)
    1f03 4096 mtdblock3 (driver?)
    1f04 517632 mtdblock4 (driver?)
    b300 7703552 mmcblk0 driver: mmcblk
    b301 72261 mmcblk0p1 00000000-0000-0000-0000-000000000000mmcblk0p1
    b302 3847567 mmcblk0p2 00000000-0000-0000-0000-000000000000mmcblk0p2
    b303 3783307 mmcblk0p3 00000000-0000-0000-0000-000000000000mmcblk0p3
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

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

    So,then i download the android ICS source from the above same link,i compiled the MLO,uboot,uImage of my own and replaced in the boot partition of that prebuilt binary SD but it also shows the error. 

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

    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.

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

    Do you noted that one thing,At first the prebuilt shows an error - Unable to open the rootfs,When i compiled the OS for my own it shows not syncing No init found ( Rootfs mounted here)

    Third stage::Here i compiled the rootfs for my own for the above error (No init found)

    With the help of TI link:http://processors.wiki.ti.com/index.php/TI-Android-ICS-4.0.3-DevKit-3.0.0_DevelopersGuide,I compiled the Android file system.

    I compiled correctly and put in the SD card

    In my android source directory,the root partition directory--->out/target/product/beagleboard/

    After the compilation,In root directoty the folders were follows-data,dev,proc,sbin,sys,system.

    files are-default.prop

    Some of the files were missing in this folder.such as init,init.rc such that things.i didn't know why?????

    So here i use the same init,init.rc file in the prebuilt binary.

    Do you get anything reply me.....!!!!

    Thanks in advance

     

  • Hi Sekra,

    You are probably execute the commands from section Create root file system tarball but if there are missing file in the

    .../out/target/product/<product-name>/root
    .../out/target/product/<product-name>/system

    folders there is some issue with building of the file system. You should analyze the log for any errors.

    BR

    Tsvetolin Shulev