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.

AM335x starter kit Android boot up freeze

Hi 

I try to download the source code and build it my own. Everything seems going well except my boot up freeze after 14 sec. 

I have attached a snap shot of debug log:

[ 2.221679] mmcblk0: mmc0:0007 SD16G 14.9 GiB
[ 2.228851] mmcblk0: p1 p2 p3
[ 2.346527] mmc1: card claims to support voltages below the defined range. These will be ignored.
[ 2.365753] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 2.371582] android_work: sent uevent USB_STATE=CONNECTED
[ 2.378326] mmc1: new SDIO card at address 0001
[ 2.383361] android_work: sent uevent USB_STATE=DISCONNECTED
[ 2.425659] android_work: sent uevent USB_STATE=CONNECTED
[ 2.431304] android_work: sent uevent USB_STATE=DISCONNECTED
[ 2.585632] android_work: sent uevent USB_STATE=CONNECTED
[ 2.600158] android_work: sent uevent USB_STATE=DISCONNECTED
[ 2.641632] android_work: sent uevent USB_STATE=CONNECTED
[ 2.647308] android_work: sent uevent USB_STATE=DISCONNECTED
[ 2.801605] android_work: sent uevent USB_STATE=CONNECTED
[ 2.852142] (stk) :line disc installation timed out
[ 2.867156] EXT4-fs (mmcblk0p2): recovery complete
[ 2.877685] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.886230] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.893005] Freeing init memory: 344K
[ 4.972442] (stk) :line disc installation timed out
[ 7.034698] init: Timed out waiting for /dev/.coldboot_done
[ 7.047393] init: Unable to open persistent property directory /data/property errno: 2
[ 7.092498] (stk) :line disc installation timed out
[ 9.212493] (stk) :line disc installation timed out
[ 11.332489] (stk) :line disc installation timed out
[ 13.452484] (stk) :line disc installation timed out
[ 14.452484] Bluetooth: st_register failed -22

may I know what is going on?

I am following this link: http://processors.wiki.ti.com/index.php/TI-Android-JB-4.1.2-DevKit-4.0.1_DeveloperGuide and I download the source code from repo and build it according to the instructions.

Thank you.

  • Zhi Yong Woo said:

    [ 7.034698] init: Timed out waiting for /dev/.coldboot_done
    [ 7.047393] init: Unable to open persistent property directory /data/property errno: 2

    The filesystem does not seem to be setup correctly. Did you execute the steps from  http://processors.wiki.ti.com/index.php/TI-Android-JB-4.1.2-DevKit-4.0.1_DeveloperGuide#Create_root_filesystem_tarball  before populating the sdcard?

  • Hi,

    Yes I did. 

    I was actually run twice to double check. This is command I type 

    make TARGET_PRODUCT=am335xevm_sk fs_tarball
    I removed </code> found in the link. I think it is OK.
    I have make sure it is done and I can see this file, rootfs.tar.bz2 in the out/target/product/am335xevm_sk directory.
  • Zhi Yong Woo said:

    Hi,

    Yes I did. 

    I was actually run twice to double check. This is command I type 

    make TARGET_PRODUCT=am335xevm_sk fs_tarball
    I removed </code> found in the link. I think it is OK.
    I have make sure it is done and I can see this file, rootfs.tar.bz2 in the out/target/product/am335xevm_sk directory.

    OK.
    Did you get any error when extracting the filesystem to sdcard?
    It does not appear that you are able to reach console prompt on USB serial, could you try setting the loglevel to 8 in init.rc to see if anything in init.*.rc is failing.
  • Hi Vish,

    Thank you for coming back. I think I have sort out my problem.

    Possible root cause:

    After compile Android source code, then I download RowboPERF source code and compile it (I follow the sequence stated in the link). Then I create root filesystem tarball. What I found out is, rootfs rootfs.tar.bz2 = 114 MB

    Later I try to rebuild my Android source code and straight away create root filesystem tarball and what I found out is the new bz2 file is 142.3 MB. 

    So what I suspecting is, after compiled RowboPERF it screw up some of my Android build files.

    Please comment on this. If my finding is true, I will suggest to change the sequence in the link to avoid unnecessary  troublesome.

    Thank you very much!

  • I shall check with the team which maintains RowboPERF and get back to you on this.