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.

Writing Android image on uSD



Hi there,

I have problem getting TI android image to uSD. I failed to do. Please help me as I am just starting with beaglebone black and Android.

I have downloaded TI_Android_JB_4.2.2_DevKit_4.1.1_beagleboneblack.tar.gz and extracted to a directory on Windows 7. And I could write them to uSD on Ubuntu.

The readme.txt states Command: sudo ./mkmmc-android <device> <MLO> <u-boot.img> <uImage> <uEnv.txt> <rootfs tar.bz2 > <Media_Clips> <START_HERE Location>
Example: sudo ./mkmmc-android /dev/sdc MLO u-boot.img uImage uEnv.txt rootfs.tar.bz2 Media_Clips

but I go no where with terminal opened on Ubuntu.  I typed $ sudo ,/mkmmc-android ... but failed.


Please guide me,

Noorul

  • ubuntu@ubuntu:~$ cd /media/ubuntu/04F5-8EB1/beagleboneblack/ubuntu@ubuntu:/media/ubuntu/04F5-8EB1/beagleboneblack$ ls
    Boot_Images  Filesystem  Media_Clips  mkmmc-android.sh  README.txt  START_HERE
    ubuntu@ubuntu:/media/ubuntu/04F5-8EB1/beagleboneblack$ sudo ./mkmmc-android.sh /dev/sdc1
    sudo: ./mkmmc-android.sh: command not found
    ubuntu@ubuntu:/media/ubuntu/04F5-8EB1/beagleboneblack$

  • Hi Noorul,

    it seems that the mkmmc-android.sh script is there, but since I understand you copied it using windows, at some point the execution permission information may have been lost.
    Try doing the following command right before calling the script:

    $ chmod +x ./mkmmc-android.sh

  • Hi,

    Thanks for the help. I eagerly tried and failed. What a disappointment. I am desperately want to try it on my touch cape. :(

    It throws "sudo: mkmmc-android.sh: command not found". I tried "chmod command". I even extracted archive file on Ubuntu. I couldn't enable the mkmmc-android.sh file permission to set as allow executing file as program. It unticked immediately after I ticked.

    I am on admin account.

  • Hi Noorul,

    Could you please send us the output of the following command:

    $ ls -l mkmmc-android.sh

    The output should look like:

    -rwxr-xr-x 1 <user> <group> <size> <date> mkmmc-android.sh

    Make sure the 'x' appears like above which tells us the file is executable.

    Then, your last comment says the error is "sudo: mkmmc-android.sh: command not found" where the command should be ./mkmmc-android.sh. Please make sure to run the command as follows, the './' is very important as it provides the path to the script:

    $ sudo ./mkmmc-android.sh /dev/sdX

    X being the letter that defines your sdcard, you can look into the 'dmesg' output to know which one to use.

  • Hi,

    Out put:-rw-r--r-- 1

    user1@user1-A14RM0E:/media/user1/04F5-8EB1/.data/beagleboneblack$ ls -l mkmmc-android.sh
    -rw-r--r-- 1 user1 user1 2273 Jun 26  2013 mkmmc-android.sh
    user1@user1-A14RM0E:/media/user1/04F5-8EB1/.data/beagleboneblack$

    I am getting this out put. how am I change the file permission ?

  • I did copy and paste ./mkmmc-android command.

    I tried this and still getting same, command not found error.

    $ sudo ./mkmmc-android.sh /dev/sdb

  • Hi Noorul,

    Yes it does make sense that it says command not found as your script has no executable permissions.

    Please send us the output of the following command:

    $ sudo chmod 755 mkmmc-android.sh

  • Hello,

    Here is what I did, I download a new copy on Ubuntu and able to execute the script. On the Terminal, after it finished, it stated done. I am very much ok with it.

    But I don't know what wrongs, when I supply power to BBB after inserted uSD, the power LED is on and all user led on altogether for few seconds and off. I have attached 4d cape and power and user led light keep on.

    I tried with pressing user button, the button near uSD yet no result. I start the board without uSD, it boot to Debian. I thought I have not executed mkmmc script and tried two more times and still getting the same result.

  • Hi there,


    I am trying with Henderson's Android image, when booted, power led is on and user light is blicking on 4dcape. On board, user led 0 and 2 is blinking, The cape screen is all white. After waiting for long, I restarted without uSD and being booted to Debian.

    Hasn't Android image flashed MMC or has it just booted on uSD? I don't know how to set EEPROM on the cape.


    Please help,

    Thank u

  • Hi Noorul,

    Right now everything is flashed to the microSD only.

    Regarding your other questions, please create a new thread specifically for the cape as this thread is only about flashing on microSD.