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.

AM5728 Linux SATA Boot

Genius 5785 points

Other Parts Discussed in Thread: AM5728

Hello,

I want AM5728 boot from SATA. But I can't find a description about SATA-Boot in TI Wiki. Do you have a plan to provide the software environment for booting Linux from SATA?
processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide

Regards,
Kazu

  • Hi Kazu,

    Check in AM572x TRM section 33.3.7.7 SATA Device Boot Operation at:
    www.ti.com/.../spruhz6f.pdf

    BR
    Tsvetolin Shulev
  • Hello Tsvetolin Shulev,

    Thank you for your reply. I understand I should format a SATA device to a boot partition composed of FAT12/16/32, then copy "HLO" and u-boot into the partition.

    In order do this operation, should I make a custom shell script based on create-sdcard.sh? Do you think that HLO can find u-boot in the partition without any changes in HLO source code?

    There is also a zImage and a target filesystem in a rootfs partition composed of ext3. Could you tell me how I alter parameters of u-boot environment variables?

    Regards,
    Kazu

  • Kazu,

    Yes, you should format the SATA device and make two partitions FAT12/16/32 and ext3 and copy there all necessary files. You can choose one of both decisions - make all steps manually or by shell script.
    You have no need to modify the MLO boot loader source code because the u-boot is placed in the same partition.
    You should check whether the SATA driver is enable in your kernel configuration as it is described in the linked SATA User's guide:
    processors.wiki.ti.com/.../Linux_Core_SATA_User's_Guide
    Also you should modify the environment variables in u-boot the make possible SATA 'zImage' booting as it is described at:
    elinux.org/UDOO_boot_from_sata

    BR
    Tsvetolin Shulev