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.

Linux/TMDSSK3358: AM335x SD Boot Problem

Part Number: TMDSSK3358
Other Parts Discussed in Thread: AM3358

Tool/software: Linux

I am using AM335x Start-Kit, TMDSSK3358 and I am trying to use  PROCESSOR-SDK-AM335X  but every time SD boot failed with following message 

U-Boot SPL 2016.05 (Feb 20 2017 - 16:27:15)
Trying to boot from MMC1
** First descriptor is NOT a primary desc on 0:1 **
** Partition 1 not valid on device 0 **
spl_register_fat_device: fat register err - -1
** Partition 1 not valid on device 0 **
spl_register_fat_device: fat register err - -1
spl_load_image_fat: error reading image u-boot.img, err - -1
spl: no partition table found
spl: no partition table found
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

so I did test about MLO,  changed Android MLO to Linux MLO but it was same  

but SD Boot on the Android was so different  if I used Linux MLO or Android MLO on the Android  ,  SD boot was working properly 

so I think  this problem is partition problem or other problem.

I used TI-Image and Win32DiskImager Program  

Thanks for reading my message 

  • Hi,

    Android is not supported by TI. There isn't any "Android MLO" present in the Processor SDK - Linux. Have you tried with the prebuilt card image? The Starter Kit should boot from it with no issues.
  • Hi Biser,

    MLO for Android included ICS 4.0.3 DevKit 3.0.1 on SD Card is working properly now, that is no problem but

    I want to do test with prebuilt image, am335x-evm-linux-03.02.00.05.img.zip in software-dl.ti.com/.../index_FDS.html or what I made , exactly by using /bin/create-sdcard.sh.

    this images,(Linux-SDK) was not working properly.
    it was not working with this images on the AM335x Start-Kit, TMDSSK3358 so now I am checking SD-PIN CD( Card detection ) in MLO

    Thanks and Regards
  • Hi,

    I tested my AM3358 Starter Kit with the latest u-boot 2016.05 (SDK 03.02.00.05) and the device boots normally.

    I am not sure what is wrong on your side. Can you provide the steps you took to make your sd card & boot the boar?

    Best Regards,
    Yordan
  • Hi,

    I have AM3358 Starter Kit with 3 SD Cards
    A. EVM SD Card : ICS 4.0.3 , MLO works properly as well as Android is no problem.
    B. Sandisk 16GB SDHC
    C. Sandisk 16GB SDHC


    Following is my tests

    software-dl.ti.com/.../index_FDS.html

    Test-1
    1. download am335x-evm-linux-03.02.00.05.img.zip from TI-Site
    2. wrote this image by using Win32DiskImager to Sandisk 16GB
    3. checked boot partition and MLO , u-boot.img
    4. tried to boot AM3358 Starter Kit by Sandisk 16GB

    Result
    same error (MLO, error)

    Test-2
    1. download and install ti-processor-sdk-linux-am335x-evm-03.02.00.05-Linux-x86-Install.bin in Ubuntu 14.04 -64bit
    2. set "sudo ./setup.sh"
    3. tried to make prebuilt image by using "sudo bin/create-sdcard.sh"
    4. checked 2 partitions and boot MLO, u-boot.img ( fdisk -l and mount)
    5. sudo cat /dev/sdd > /media/sf_SHARED/am335x.img
    6. wrote this image by using Win32DiskImager to Sandisk 16GB
    7. tried to boot AM3358 Starter Kit by Sandisk 16GB

    - currently, I am using Virtual box and already added new vdi file for SD Card , that is /dev/sdd

    Result
    same error (MLO , error)

    Test-3
    1. replaced MLO for Linux-SDK in Sandisk with MLO for Android in EVM SD Card.
    2. tried to boot AM3358 Starter Kit by EVM SD Card.

    Result
    no problem, Android is working properly. (ICS 4.0.3)


    Test-4
    1. replaced MLO for Android in EVM SD Card with MLO for Linux-SDK in Sandisk.
    2. tried to boot AM3358 Starter Kit by Sandisk 16GB

    Result
    MLO problem but message is a little different


    Thanks and Regards
    Jeonghun