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.

J6EVM5777: Booting Android over J6

Part Number: J6EVM5777

Hi There,

I am using TI J6-EVM5777 Rev H for the first time. Now I want to boot Android Over it. Can Anyone get me with the basic steps for doing it.

Thanks in advance,

Alkesh Shah

  • Hi Alkesh,

    you can get the latest Android prebuilt binaries from here:
    software-dl.ti.com/.../index_FDS.html

    Then you can find instructions how to flash them to the board and boot here:
    omapedia.org/.../6AM.1.3_Release_Notes

    Please try this and let me know if you face any issues.

    Regards,
    Yordan
  • Hi Yordan,

    I am not able to set the environment variables i.e.

     => env default -f -a
     => setenv partitions $partitions_android
     => env save 
    
    Also I am not getting any u-boot prompt.
  • Hi,

    after you copy the MLO and u-boot to the SD card and try to boot the board do you see this message on the UART:

    Hit any key to stop autoboot: 3

    If you do not see it it is possible that your SD card is not bootable. Please make sure that it has FAT32 partition and has been marked bootable
    and on this partition you copy u-boot.img and MLO files.

    Regards,
    Yordan
  • Hi,

    Currently I am going through  link for booting SD card. I mean I am  trying out the ways through which I could come up with.

    Now here in "Hack change for SD card support in Android" one code snipet is given i.e.

    diff --git a/init.jacinto6evmboard.rc b/init.jacinto6evmboard.rc
    index 67619b5..184693e 100644
    --- a/init.jacinto6evmboard.rc +++ b/init.jacinto6evmboard.rc @@ -8,6 +8,12 @@ on init symlink /sdcard /mnt/sdcard symlink /sdcard /storage/sdcard

    +on post-fs
    +    # HACK: for SD card boot mounting rootfs as rw and setuid for su
    + mount rootfs rootfs / rw remount + chmod 6755 /system/xbin/su
    +    chown dhcp shell /system/etc/dhcpcd/dhcpcd-run-hooks
    +
     on post-fs-data
    mkdir /data/media 0770 media_rw media_rw


    And The other one is:
    -/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/system           /system         ext4    ro                      wait
    -/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/efs /factory ext4 ro wait
    -/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/cache /cache ext4 noatime,nosuid,nodev wait,check
    -/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/userdata /data ext4 noatime,nosuid,nodev wait,check
    -/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/recovery /recovery emmc defaults defaults
    +#/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/system /system ext4 ro wait
    +#/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/efs /factory ext4 ro wait
    +#/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/cache /cache ext4 noatime,nosuid,nodev wait,check



    Here in both the snipets I dont understand what is the '+' and '-' sign on the start is for. Does it mean adding or removing the particular line?
    Please guide me through this.
    Thanks,
    Alkesh Shah
  • Hi Alkesh,

    your understanding is correct. You need to find the lines in the file you modify that starts with '-' and delete them and add the lines with '+' (without the '+' itself). In the second file it looks that the only difference is added '#' at the beginning of the lines which means they are just commented out.

    You can check here for deeper explanation of the patch format:
    en.wikipedia.org/.../Diff_utility

    Regards,
    Yordan
  • Hi Yordan,
    I created bootable FAT32 partition but while copying I was getting error saying "Unable to create symbolic links". So I changed FAT32 to Ext4 and error was gone was able to copy. So is it mandatory to use FAT32 only or can I prefer the way I did?
  • Hi,
    I modified the files in the same way you mentioned. Prepared the SD card (with Ext4 bootable partition), After inserting the SD card the Board is not responding (Cant see anything on display).
    As I cant see anything on display. How to connect the board to my Linux system(using putty or any other options).
  • Hi Alkesh,
    you can find details about SDCard booting in section 32.3.7.6 eMMC Memories and SD Cards of device TRM.


    ""The eMMC/SD cards can hold a file system that the ROM code reads. The image used by the booting
    procedure is taken from a booting file named MLO. This file must be in the root directory on an active
    primary partition of type FAT12/16 or FAT32.""
  • Hi,
    I modified the files in the same way you mentioned. Prepared the SD card (with Ext4 bootable partition), After inserting the SD card the Board is not responding (Cant see anything on display).
    As I cant see anything on display. How to connect the board to my Linux system(using putty or any other options).
  • Hi There,

    I have done upto "DIP Switch settings" in omapedia.org/.../6AM.1.3_Release_Notes
    I have been struck-ed in "Flashing procedure" I don't understand how to copy the u-boot.img and MLO file in to partition. I mean do I have to make a single partition. And What are the files that I have to copy in to it (i.e. Only MLO or GP_MLO or all MLO related files).
    Kindly guide me through this.
    Thanks in advance,
    Alkesh Shah
  • Hi Alkesh,

    I saw in the other thread that you were able to install Android.
    Can we close this thread?

    Thanks,
    Yordan