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.

Boot Android 4.2.2 on beaglebone black emmc issue

Other Parts Discussed in Thread: TPS65910, TPS65217, DA8XX

According to the ti wiki develop guideline, I used fastboot to download MLO, u-boot, boot, system, userdata, cache into emmc flash.

After booting, the error message listed below.

How can I use emmc flash only without micro sd to boot up the android system?

[    2.717529] Alternate GPT is invalid, using primary GPT.
[    2.723266]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    2.732666]  mmcblk0boot1: unknown partition table
[    2.739440]  mmcblk0boot0: unknown partition table
[   17.031616] EXT4-fs (mmcblk0p3): VFS: Can't find ext4 filesystem
[   17.038055] fs_mgr: Cannot mount filesystem on /dev/block/mmcblk0p3 at /data
[   17.045471] init: fs_mgr_mount_all returned an error
[   17.055450] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[   17.063964] init: cannot find '/system/bin/vold', disabling 'vold'
[   17.070434] init: cannot find '/system/bin/sgx/rc.pvr', disabling 'pvr'
[   17.077392] init: cannot find '/system/bin/netd', disabling 'netd'
[   17.083862] init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
[   17.091247] init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger'
[   17.099548] init: cannot find '/system/bin/app_process', disabling 'zygote'
[   17.106842] init: cannot find '/system/bin/drmserver', disabling 'drm'
[   17.113677] init: cannot find '/system/bin/mediaserver', disabling 'media'
[   17.120880] init: cannot find '/system/bin/installd', disabling 'installd'
[   17.128173] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[   17.136932] init: cannot find '/system/bin/keystore', disabling 'keystore'
[   17.144500] init: property 'ro.product.manufacturer' doesn't exist while expanding '${ro.product.manufacturer}'
[   17.155090] init: cannot expand '${ro.product.manufacturer}' while writing to '/sys/class/android_usb/android0/iManufacturer'
[   17.166931] init: property 'ro.product.model' doesn't exist while expanding '${ro.product.model}'
[   17.176208] init: cannot expand '${ro.product.model}' while writing to '/sys/class/android_usb/android0/iProduct'
[   17.187561] init: cannot find '/system/bin/sh', disabling 'console'

  • Hi,

    Please make sure that following entries are present into init.rc file.

    on fs
        mount ext4 /dev/block/mmcblk1p6 /system wait ro
        mount ext4 /dev/block/mmcblk1p8 /data wait noatime nosuid nodev
        mount ext4 /dev/block/mmcblk1p7 /cache wait noatime nosuid nodev

    Refer to below developer guide for more details.

    http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_DeveloperGuide#boot.img

    Reagards,

    Pankaj Bharadiya

  • I did but still the same situation. It looked like fstab.am335xevm mounted the incorrect partition. If I inserted the MicroSD ( with android iamge on), it worked.

  • Hello Pankaj

    Me too facing same problem. I build the new image with modified init.rc about 

    on fs
        mount ext4 /dev/block/mmcblk1p6 /system wait ro
        mount ext4 /dev/block/mmcblk1p8 /data wait noatime nosuid nodev
        mount ext4 /dev/block/mmcblk1p7 /cache wait noatime nosuid nodev
    But its not working. 
  • Hi,

    Can you check if the u-boot  you are using has the latest commits from https://gitorious.org/rowboat/u-boot/commits/am335x-v2013.01.01 ?

    Also make sure you have got all the changes from http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_DeveloperGuide#Fastboot_and_eMMC

    Regards,

    Arun

  • My u-boot is the latest from git repo and I get the all modifications from the wiki page.

    By the way, the file names "fstab.am335xevm" in the path="out/target/product/beagleboneblack/root" is incorrect and mounts the wrong device.

    If I create a workable MicroSD card, the boot procedure looks fine.

    haha...

  • Is anyone boot android 4.2.2 from emmc on BBB?

  • I found if I inserted an empty MicroSD, the print message were list below.

    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
     mmc1: new high speed MMC card at address 0001
     mmcblk1: mmc1:0001 MMC02G 1.78 GiB
     mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
     mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
     Alternate GPT is invalid, using primary GPT.
      mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9
      mmcblk1boot1: unknown partition table
      mmcblk1boot0: unknown partition table
     EXT4-fs (mmcblk1p6): mounted filesystem with ordered data mode. Opts: (null)
     EXT4-fs warning (device mmcblk1p8): ext4_clear_journal_err:4259: Filesystem error recorded from previous mount: IO failure
     EXT4-fs warning (device mmcblk1p8): ext4_clear_journal_err:4260: Marking fs in need of filesystem check.
     EXT4-fs (mmcblk1p8): warning: mounting fs with errors, running e2fsck is recommended
     EXT4-fs (mmcblk1p8): recovery complete
     EXT4-fs (mmcblk1p8): mounted filesystem with ordered data mode. Opts: (null)
     EXT4-fs (mmcblk1p7): recovery complete
     EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. Opts: (null)

    It looked like mount the filesystem corretly. But got error message like that.

    mmcblk1: error -84 transferring data, sector 1124922, nr 128, cmd response 0x900, card status 0xd00
    end_request: I/O error, dev mmcblk1, sector 1124922

    ===============================================================

    If I removed MicroSD,

    mmc1: new high speed MMC card at address 0001
     mmcblk0: mmc1:0001 MMC02G 1.78 GiB
     mmcblk0boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
     mmcblk0boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
     init: cannot open '/initlogo.rle'
     Alternate GPT is invalid, using primary GPT.
      mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
      mmcblk0boot1: unknown partition table
      mmcblk0boot0: unknown partition table
     fs_mgr: No entries found in fstab
     init: fs_mgr_mount_all returned an error
     init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'

    ===============================================================

    • Add following lines to <ANDROID_SOURCE>/out/target/product/am335x3evm/root/init.rc
    on fs
        mount ext4 /dev/block/mmcblk0p6 /system wait ro
        mount ext4 /dev/block/mmcblk0p8 /data wait noatime nosuid nodev
        mount ext4 /dev/block/mmcblk0p7 /cache wait noatime nosuid nodev
    
    NOTE

    For Beaglebone black replace mmcblk0 with mmcblk1 in above lines.
  • i have same problem.

    does anyone can boot android 4.2.2 from eEMMC and see desktop ?

    my BBB after boot , show this message :

    [ 1799.274291] init: untracked pid 9273 exited
    [ 1799.282470] init: untracked pid 9269 exited

    HDMI can output correct signal ( Display can detect correct resolution ),

    but no picture on display (android starter logo).

  • Hi,

    Please apply following patches and give it a try.

    Repository: <Android source>/system core

    Patch:

    From 039cb4ee9c7300793102ed0dc78042c451728543 Mon Sep 17 00:00:00 2001
    From: Pankaj Bharadiya <pankaj.bharadiya@ti.com>
    Date: Tue, 10 Sep 2013 18:11:31 +0530
    Subject: [PATCH] mount points as per emmc partition scheme

    Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya@ti.com>
    ---
     rootdir/init.rc |    5 +++++
     1 file changed, 5 insertions(+)

    diff --git a/rootdir/init.rc b/rootdir/init.rc
    index 4e7c5e3..22fe527 100644
    --- a/rootdir/init.rc
    +++ b/rootdir/init.rc
    @@ -132,6 +132,11 @@ loglevel 3
     #    mount yaffs2 mtd@userdata /data nosuid nodev
     #    mount yaffs2 mtd@cache /cache nosuid nodev
     
    +    mount ext4 /dev/block/mmcblk1p6 /system wait ro
    +    mount ext4 /dev/block/mmcblk1p7 /cache wait noatime nosuid nodev
    +    mount ext4 /dev/block/mmcblk1p8 /data wait noatime nosuid nodev
    +    mount vfat /dev/block/mmcblk1p9 /storage wait noatime nosuid nodev
    +
     on post-fs
         # once everything is setup, no need to modify /
     #    mount rootfs rootfs / ro remount
    --
    1.7.9.5

    Repository: device/ti/beagleboneblack

    Patch:

    From 35621681e70f496cde54428c6a44b67e6d569255 Mon Sep 17 00:00:00 2001
    From: Pankaj Bharadiya <pankaj.bharadiya@ti.com>
    Date: Tue, 10 Sep 2013 18:14:23 +0530
    Subject: [PATCH] Remove mount points from fstab

    These mounts will be taken care in init.rc

    Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya@ti.com>
    ---
     fstab.am335xevm |    2 +-
     vold.fstab      |    2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/fstab.am335xevm b/fstab.am335xevm
    index 817e839..90217d8 100644
    --- a/fstab.am335xevm
    +++ b/fstab.am335xevm
    @@ -4,5 +4,5 @@
     # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
     
     
    -/dev/block/platform/omap/omap_hsmmc.0/mmcblk0p3  /data               ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait
    +#/dev/block/platform/omap/omap_hsmmc.0/mmcblk0p3  /data               ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait
     
    diff --git a/vold.fstab b/vold.fstab
    index a4277f3..4584e4c 100644
    --- a/vold.fstab
    +++ b/vold.fstab
    @@ -1,2 +1,2 @@
    -dev_mount sdcard /storage/sdcard1 4 /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0
    +#dev_mount sdcard /storage/sdcard1 4 /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0
     dev_mount usb /storage/usb1 auto /devices/platform/omap/musb-ti81xx/musb-hdrc.1/usb1
    --
    1.7.9.5

    Regards,

    Pankaj Bharadiya

  • still can't see android logo picture ..

    2.850341] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
    [ 2.859832] Freeing init memory: 344K
    [ 2.867340] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
    [ 2.938323] init: cannot open '/initlogo.rle'
    [ 3.064727] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 3.077026] mmc0: new high speed SDHC card at address aaaa
    [ 3.083282] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 3.102233] mmcblk0: p1
    [ 3.187805] mmc1: new high speed MMC card at address 0001
    [ 3.193969] mmcblk1: mmc1:0001 MMC02G 1.78 GiB
    [ 3.198822] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
    [ 3.205230] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
    [ 3.216461] Alternate GPT is invalid, using primary GPT.
    [ 3.222137] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9
    [ 3.231292] mmcblk1boot1: unknown partition table
    [ 3.238037] mmcblk1boot0: unknown partition table
    [ 3.249206] EXT4-fs (mmcblk1p6): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.283447] EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.317596] EXT4-fs (mmcblk1p8): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.343048] fs_mgr: No entries found in fstab
    [ 3.347595] init: fs_mgr_mount_all returned an error
    [ 3.361694] init: skipping insecure file '/system/build.prop'
    [ 3.388916] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
    [ 3.401977] init: property 'ro.product.manufacturer' doesn't exist while expanding '${ro.product.manufacturer}'
    [ 3.413208] init: cannot expand '${ro.product.manufacturer}' while writing to '/sys/class/android_usb/android0/iManufacturer'
    [ 3.426788] init: property 'ro.product.model' doesn't exist while expanding '${ro.product.model}'
    [ 3.436401] init: cannot expand '${ro.product.model}' while writing to '/sys/class/android_usb/android0/iProduct'
    [ 3.450622] android_usb: already disabled
    [ 3.456390] android_usb: already disabled
    [ 3.463623] android_usb: already disabled
    [ 3.468566] adb_bind_config
    [ 3.474914] adb_bind_config
    [ 3.480773] adb_open
    root@android:/ # [ 3.649658] Disabling lock debugging due to kernel taint
    [ 4.476898] init: untracked pid 70 exited
    [ 8.699768] init: untracked pid 121 exited
    [ 9.628723] init: untracked pid 180 exited
    [ 14.318542] init: untracked pid 306 exited
    [ 20.735229] init: untracked pid 313 exited
    [ 22.326873] init: untracked pid 310 exited
    [ 23.584930] init: untracked pid 316 exited
    [ 23.832946] init: untracked pid 319 exited
    [ 29.065002] init: untracked pid 321 exited
    [ 29.575561] init: untracked pid 324 exited
    [ 32.967102] warning: `zygote' uses 32-bit capabilities (legacy support in use)
    [ 33.818450] init: untracked pid 331 exited
    [ 33.823150] init: untracked pid 327 exited

  • i found is file permission issue.

    i guess the http://processors.wiki.ti.com/index.php/AM335x_Android_eMMC_booting#Build_android_file_system is for ICS use?

    Because JB require some file permission must correct , like this :

    [ 3.361694] init: skipping insecure file '/system/build.prop'

    build.prop must be 644 permission .

    After modify some file permission  , i can see the android logo picture now , but still not into the android desktop.

    Maybe some file permission still not correct.

    Can give some suggest ? thanks.

  • Is there any update?

    I still in android screen.

  • Hi,

    Please share complete bootlog and logcat output to debug this further.

    Regards,

    Pankaj Bharadiya

  • If you want see the android desktop , you can try this :

    1. modify android source/device/ti/begaleboneblack/overlay/framework/base/core/res/xml/storage_list.xml

    disable emulated storage and external sdcard storage define

    2. modify android source/device/ti/beagleboneblack/init.am335xevm.rc

    disable this line :

    symlink /mnt/shell/emulated/0 /storage/emulated/legacy

  • Hi , Pankaj Bharadiya :

    The issue is :

    E/dalvikvm( 397): Failed to mount /mnt/shell/emulated/0 to /storage/emulated/0: Invalid argument

    You can see this url : http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/29837.aspx

  • Thanks Lucas Lu1

    That's the point.

  • Hi,

    Will you please let me know which document you are referring for eMMC flashing steps, extact steps you followed.

    Please share complete bootlog

    Regards,

    Pankaj

  • Hi, idle yeh

    you make a mistake about the fastboot flash.

    you flash the system.img(that's the android script built => default sparse)

    you should make it by yourself(raw system partition)

    refer http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_DeveloperGuide#Fastboot_and_eMMC

    and see system.img how to make.

    and  you found the empty sd card problem

    that's the driver issue. if you can change the emmc for the first to register.

    It will be ok. then the developer guide do not need to add note for mmcblk0 to mmcblk1.

  • Hi,

    Will you please share complete logcat output.

    Regards,

    Pankaj Bharadiya

  • 8712.log.txt

    Please see the attach file , thanks.

  • Hi Lucas Lu1,

    Can you see the android desktop with your two modification?

  • Yes , i can see the Android Desktop.

    Another thing , please don't insert SD card into slot , you can try it.

  • I still got the same error below

    E/dalvikvm(  931): cannot mountExternalStorage(): Invalid argument
    E/dalvikvm(  931): VM aborting
    F/libc    (  931): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 931 (zygote)
    E/dalvikvm(  931): Failed to mount /mnt/shell/emulated/0 to /storage/emulated/0: Invalid argument

  • Hi All, 

    For BBB android emmc booting

    please modify <Android Source>/device/ti/beagleboneblack/fstab.am335xevm as below

    #/dev/block/mmcblk0p3  /data               ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait
    /dev/block/mmcblk0p6 /system ext4 ro wait
    /dev/block/mmcblk0p7 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
    /dev/block/mmcblk0p8 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait

     And following Developer Guide/page24/Fastboot and EMMC 

    then BBB will boot from emmc flash.

  • Hi,

    Did you get this working?

    Please add following entries in fstab.am335xevm file. Remove any entries you added in init.rc or vold.fstab file.

    /dev/block/mmcblk0p6 /system ext4 ro wait
    /dev/block/mmcblk0p7 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
    /dev/block/mmcblk0p8 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait

    This should fix the issue.

    Thanks and Regards,
    Pankaj Bharadiya

  • Hi,

         I am working in booting with eMMC ,I followed your above mentioned suggestion , But still i cannot able to view the android desktop.  u-boot which the updated version  of am335x-v2013.01.01

    And my boot log looks like this,

    U-Boot SPL 2013.01.01 (Oct 30 2013 - 16:26:29)

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

    musb-hdrc: MHDRC RTL version 2.0

    musb-hdrc: setup fifo_mode 4

    musb-hdrc: 28/31 max ep, 16384/16384 memory

    USB Peripheral mode controller at 47401000 using PIO, IRQ 0

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

    musb-hdrc: MHDRC RTL version 2.0

    musb-hdrc: setup fifo_mode 4

    musb-hdrc: 28/31 max ep, 16384/16384 memory

    USB Host mode controller at 47401800 using PIO, IRQ 0

    OMAP SD/MMC: 0

    mmc_send_cmd : timeout: No status update

    U-Boot 2013.01.01 (Oct 30 2013 - 16:26:29)

    I2C: WARNING: Caches not enabled

    NAND: No NAND device found!!!

    0 MiB

    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

    *** Warning - readenv() failed, using default environment

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

    musb-hdrc: MHDRC RTL version 2.0

    musb-hdrc: setup fifo_mode 4

    musb-hdrc: 28/31 max ep, 16384/16384 memory

    USB Peripheral mode controller at 47401000 using PIO, IRQ 0

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

    musb-hdrc: MHDRC RTL version 2.0

    musb-hdrc: setup fifo_mode 4

    musb-hdrc: 28/31 max ep, 16384/16384 memory

    USB Host mode controller at 47401800 using PIO, IRQ 0

    Net: <ethaddr> not set. Validating first E-fuse MAC

    cpsw

    Hit any key to stop autoboot: 0

    mmc_send_cmd : timeout: No status update

    mmc1(part 0) is current device

    mmc_send_cmd : timeout: No status update

    Loading efi partition table:

    MMC read: dev # 1, block # 1, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 1, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 2, count 1 ... 1 blocks read: OK

    256 128K spl

    512 512K bootloader

    1536 128K misc

    2048 8M recovery

    MMC read: dev # 1, block # 3, count 1 ... 1 blocks read: OK

    18432 8M boot

    34816 256M system

    559104 256M cache

    1083392 256M userdata

    MMC read: dev # 1, block # 4, count 1 ... 1 blocks read: OK

    1607680 1047M media

    MMC read: dev # 1, block # 5, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 6, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 7, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 8, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 9, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 10, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 11, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 12, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 13, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 14, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 15, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 16, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 17, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 18, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 19, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 20, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 21, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 22, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 23, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 24, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 25, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 26, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 27, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 28, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 29, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 30, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 31, count 1 ... 1 blocks read: OK

    MMC read: dev # 1, block # 32, count 1 ... 1 blocks read: OK

    Loaded eMMC partition table

    SELECT MMC DEV: 1

    mmc1(part 0) is current device

    mmc_send_cmd : timeout: No status update

    MMC read: dev # 1, block # 18432, count 1 ... 1 blocks read: OK

    Image magic: ANDROID! d@

    kernel_size: 0x406420

    kernel_addr: 0x80008000

    rdisk_size: 0x2cc17

    rdisk_addr: 0x81000000

    second_size: 0x0

    second_addr: 0x80f00000

    tags_addr: 0x80000100

    page_size: 0x800

    name:

    cmdline: 0x9fb96e80

    id[0]: 0x0

    id[1]: 0x0

    id[2]: 0x0

    id[3]: 0x0

    id[4]: 0x0

    id[5]: 0x0

    id[6]: 0x0

    id[7]: 0x0

    Header: Kernel Addr:0x80008000

    Header: Kernel Size:0x406420

    Header: Ramdisk Addr:0x81000000

    Header: Ramdisk Size:0x2cc17

    ramdisk sector count:358

    MMC read: dev # 1, block # 18436, count 8243 ... 8243 blocks read: OK

    ramdisk sector count:358

    MMC read: dev # 1, block # 26680, count 359 ... 359 blocks read: OK

    kernel @ 80008000 (4219936)

    ramdisk @ 81000000 (183319)

    Starting kernel ...

    Cleanup before kernel ...

    Starting kernel, theKernel ...

    Uncompressing Linux... done, booting the kernel.

    [ 0.000000] Linux version 3.2.0-00244-gcf99001 (marudham@marudham-desktop) (gcc version 4.4.3 (GCC) ) #1 Mon Oct 28 14:14:53 IST 2013

    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d

    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

    [ 0.000000] Machine: am335xevm

    [ 0.000000] Memory policy: ECC disabled, Data cache writeback

    [ 0.000000] AM335X ES2.0 (sgx neon )

    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048

    [ 0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 mem=512M root=/dev/ram0 rw initramfs=0x81000000,8M init=/init ip=off

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

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

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

    [ 0.000000] Memory: 512MB = 512MB total

    [ 0.000000] Memory: 509612k/509612k available, 14676k 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] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)

    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)

    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)

    [ 0.000000] .text : 0xc0008000 - 0xc07a0000 (7776 kB)

    [ 0.000000] .init : 0xc07a0000 - 0xc07f6000 ( 344 kB)

    [ 0.000000] .data : 0xc07f6000 - 0xc0861c30 ( 432 kB)

    [ 0.000000] .bss : 0xc0861c54 - 0xc09b9958 (1376 kB)

    [ 0.000000] NR_IRQS:396

    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [ 0.000000] Total of 128 interrupts on 1 active controller

    [ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz

    [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz

    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms

    [ 0.000000] Console: colour dummy device 80x30

    [ 0.000122] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)

    [ 0.088836] pid_max: default: 32768 minimum: 301

    [ 0.088928] Security Framework initialized

    [ 0.088989] Mount-cache hash table entries: 512

    [ 0.089355] CPU: Testing write buffer coherency: ok

    [ 0.089385] ftrace: allocating 22306 entries in 66 pages

    [ 0.145965] omap_hwmod: pruss: failed to hardreset

    [ 0.146636] print_constraints: dummy:

    [ 0.146820] NET: Registered protocol family 16

    [ 0.147705] OMAP GPIO hardware version 0.1

    [ 0.148529] omap_mux_init: Add partition: #1: core, flags: 0

    [ 0.149444] omap_i2c.1: alias fck already exists

    [ 0.149871] omap2_mcspi.1: alias fck already exists

    [ 0.149963] omap2_mcspi.2: alias fck already exists

    [ 0.150054] edma.0: alias fck already exists

    [ 0.150085] edma.0: alias fck already exists

    [ 0.150085] edma.0: alias fck already exists

    [ 0.157745] bio: create slab <bio-0> at 0

    [ 0.158508] SCSI subsystem initialized

    [ 0.159240] usbcore: registered new interface driver usbfs

    [ 0.159332] usbcore: registered new interface driver hub

    [ 0.159454] usbcore: registered new device driver usb

    [ 0.159698] registerd cppi-dma Intr @ IRQ 17

    [ 0.159698] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)

    [ 0.159729] Cppi41 Init Done

    [ 0.159729] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3

    [ 0.159851] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1

    [ 0.178833] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz

    [ 0.179473] tps65910 1-002d: could not be detected

    [ 0.179870] Advanced Linux Sound Architecture Driver Version 1.0.24.

    [ 0.180328] Bluetooth: Core ver 2.16

    [ 0.180389] NET: Registered protocol family 31

    [ 0.180389] Bluetooth: HCI device and connection manager initialized

    [ 0.180419] Bluetooth: HCI socket layer initialized

    [ 0.180419] Bluetooth: L2CAP socket layer initialized

    [ 0.180450] Bluetooth: SCO socket layer initialized

    [ 0.180603] Switching to clocksource gp timer

    [ 0.194976] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)

    [ 0.195159] musb-hdrc musb-hdrc.0: dma type: dma-cppi41

    [ 0.195312] MUSB0 controller's USBSS revision = 4ea20800

    [ 0.195312] musb0: Enabled SW babble control

    [ 0.196014] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using DMA, IRQ 18

    [ 0.196228] musb-hdrc musb-hdrc.1: dma type: dma-cppi41

    [ 0.196380] MUSB1 controller's USBSS revision = 4ea20800

    [ 0.196380] musb1: Enabled SW babble control

    [ 0.196716] musb-hdrc musb-hdrc.1: MUSB HDRC host driver

    [ 0.196807] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1

    [ 0.196929] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

    [ 0.196929] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [ 0.196929] usb usb1: Product: MUSB HDRC host driver

    [ 0.196960] usb usb1: Manufacturer: Linux 3.2.0-00244-gcf99001 musb-hcd

    [ 0.196960] usb usb1: SerialNumber: musb-hdrc.1

    [ 0.197357] hub 1-0:1.0: USB hub found

    [ 0.197357] hub 1-0:1.0: 1 port detected

    [ 0.197662] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using DMA, IRQ 19

    [ 0.197967] NET: Registered protocol family 2

    [ 0.198150] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

    [ 0.198486] TCP established hash table entries: 16384 (order: 5, 131072 bytes)

    [ 0.198699] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)

    [ 0.198822] TCP: Hash tables configured (established 16384 bind 16384)

    [ 0.198822] TCP reno registered

    [ 0.198822] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [ 0.198852] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [ 0.199005] NET: Registered protocol family 1

    [ 0.199249] RPC: Registered named UNIX socket transport module.

    [ 0.199279] RPC: Registered udp transport module.

    [ 0.199279] RPC: Registered tcp transport module.

    [ 0.199279] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [ 0.199493] Trying to unpack rootfs image as initramfs...

    [ 0.210449] Freeing initrd memory: 176K

    [ 0.210449] NetWinder Floating Point Emulator V0.97 (double precision)

    [ 0.306701] ashmem: initialized

    [ 0.306915] VFS: Disk quotas dquot_6.5.2

    [ 0.306945] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

    [ 0.307678] fuse init (API version 7.17)

    [ 0.307861] msgmni has been set to 995

    [ 0.308715] io scheduler noop registered

    [ 0.308715] io scheduler deadline registered

    [ 0.308807] io scheduler cfq registered (default)

    [ 0.309265] Could not set LED4 to fully on

    [ 0.341308] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0

    [ 0.969635] console [ttyO0] enabled

    [ 0.973632] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1

    [ 0.981262] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2

    [ 0.988830] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3

    [ 0.996429] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4

    [ 1.004028] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5

    [ 1.011749] [drm] Initialized drm 1.1.0 20060810

    [ 1.020965] brd: module loaded

    [ 1.026611] loop: module loaded

    [ 1.030029] i2c-core: driver [tsl2550] using legacy suspend method

    [ 1.036529] i2c-core: driver [tsl2550] using legacy resume method

    [ 1.042968] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 1.101165] No daughter card found on AM335x EVM

    [ 1.106048] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 1.121246] Board name: A335BNLT

    [ 1.124603] Board version: 0A5B

    [ 1.127899] The board is a AM335x Beaglebone Black.

    [ 1.134704] tps65217 1-0024: TPS65217 ID 0xe version 1.2

    [ 1.141967] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV

    [ 1.150177] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV

    [ 1.158355] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV

    [ 1.166564] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV

    [ 1.174743] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV

    [ 1.182830] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV

    [ 1.191009] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV

    [ 1.200775] omap_hsmmc.0: alias fck already exists

    [ 1.206054] omap_hsmmc.1: alias fck already exists

    [ 1.211303] omap_i2c.3: alias fck already exists

    [ 1.231231] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz

    [ 1.237548] davinci-mcasp.0: alias fck already exists

    [ 1.244110] at24 3-0054: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 1.251403] IN : bone_setup_display_daughter_board

    [ 1.351196] No display cape found on BeagleBone

    [ 1.356384] da8xx_lcdc.0: alias fck already exists

    [ 1.361694] da8xx_lcdc da8xx_lcdc.0: GLCD: Found nxp-1280x720@60 panel

    [ 1.513580] tda998x 1-0070: found TDA19988

    [ 3.551239] tda998x 1-0070: failed to read EDID

    [ 3.561737] Setup HDMI display complete

    [ 3.565795] at24 3-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 3.573089] IN : bone_setup_daughter_board

    [ 3.671264] at24 3-0056: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 3.678558] IN : bone_setup_daughter_board

    [ 3.781250] at24 3-0057: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 3.788543] IN : bone_setup_daughter_board

    �2V����5

    [ 4.727294] Trying to load am335�re Version = 0x181

    [ 4.746124] clock: disabling unused clocks to save power

    [ 4.753021] Detected MACID=c8:a0:30:a8:a:82

    [ 4.758483] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:33:01 UTC (946686781)

    [ 4.768066] Freeing init memory: 344K

    [ 4.775604] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.

    [ 4.827819] mmc1: new high speed MMC card at address 0001

    [ 4.837280] mmcblk0: mmc1:0001 MMC02G 1.78 GiB

    [ 4.847412] mmcblk0boot0: mmc1:0001 MMC02G partition 1 1.00 MiB

    [ 4.857543] mmcblk0boot1: mmc1:0001 MMC02G partition 2 1.00 MiB

    [ 4.872680] Alternate GPT is invalid, using primary GPT.

    [ 4.878356] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9

    [ 4.887664] init: cannot open '/initlogo.rle'

    [ 4.892456] mmcblk0boot1: unknown partition table

    [ 4.899475] mmcblk0boot0: unknown partition table

    [ 4.914245] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)

    [ 4.997802] EXT4-fs (mmcblk0p7): recovery complete

    [ 5.004364] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic

    [ 5.571624] EXT4-fs (mmcblk0p8): recovery complete

    [ 5.578216] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic

    [ 5.620880] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'

    [ 5.637512] android_usb: already disabled

    [ 5.647338] android_usb: already disabled

    [ 5.652038] android_usb: already disabled

    [ 5.657043] adb_bind_config

    [ 5.663208] adb_bind_config

    [ 5.669921] adb_open

    root@android:/ # [ 5.903656] Disabling lock debugging due to kernel taint

    [ 5.999664] android_work: did not send uevent (0 0 (null))

    [ 6.142028] android_work: sent uevent USB_STATE=CONNECTED

    [ 6.148651] gadget: high-speed config #1: android

    [ 6.153808] android_work: sent uevent USB_STATE=CONFIGURED

    [ 14.422��她�� `zygote' uses 32-bit capabilities (legacy support in use)

    [ 21.678070] request_suspend_state: wakeup (3->0) at 21656166297 (2000-01-01 00:33:18.408591424 UTC)

    [ 21.692138] init: untracked pid 66 exited

    [ 21.696380] init: untracked pid 71 exited

    [ 32.603942] request_suspend_state: wakeup (0->0) at 32582008583 (2000-01-01 00:33:29.334433710 UTC)

    [ 32.619079] init: untracked pid 341 exited

    [ 32.632171] init: untracked pid 342 exited  

                       Can you please suggest me some solution to solve this issue.

                                                  Thanks in advance.

  • Hi Lucas,

    I am also facing an simillar issue with emmc card bootup,

    issue log -->  "Failed to mount /mnt/shell/emulated/0 to /storage/emulated/0: Invalid argument".

    Please let me know if you got the answer for this.

    Thanks

  • Hi, Manivannan :

    Eric have fix this issue .

    For original SDK , just only modify this :

    please modify <Android Source>/device/ti/beagleboneblack/fstab.am335xevm as below

    #/dev/block/mmcblk0p3  /data               ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait
    /dev/block/mmcblk0p6 /system ext4 ro wait
    /dev/block/mmcblk0p7 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
    /dev/block/mmcblk0p8 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait