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.

Boot failed from SD card for Linux

Other Parts Discussed in Thread: AM1808, OMAP-L138

Hi,

I would boot from SD card for Linux, but it would boot from TFTP now.

How can I modified it and boot from SD card?

I used the AM1808 development kit and attached SD card to boot.

The follow is the log message when booting from SD.

Booting with TI UBL
Device OPP (456MHz, 1.3V)

U-Boot 2009.11 (Apr 15 2011 - 13:22:24)

I2C: ready
DRAM: 64 MB
MMC: davinci: 0
In: serial
Out: serial
Err: serial
ARM Clock : 456000000 Hz
DDR Clock : 132000000 Hz
Net: Ethernet PHY: GENERIC @ 0x00

Hit any key to stop autoboot: 0
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address 192.168.1.155
Using device
TFTP from server 192.168.1.97; our IP address is 192.168.1.155
Filename 'uImage'.
Load address: 0xc0700000
Loading: *
TFTP error: 'File not found' (1)
Starting again

Using device
TFTP from server 192.168.1.97; our IP address is 192.168.1.155
Filename 'uImage'.
Load address: 0xc0700000
Loading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
Using device
TFTP from server 192.168.1.97; our IP address is 192.168.1.155
Filename 'uImage'.
Load address: 0xc0700000
Loading: *
TFTP error: 'File not found' (1)
Starting again

Sincerely,

Carl

  • Carl Liu said:
    TFTP from server 192.168.1.97

    Carl Liu said:
    TFTP error: 'File not found' (1)

    Check that you really have a working tftp server running on the address mentioned above and that it has a file named uImage available for download.

    Regards,

    Vaibhav

  • Dear Vaibhav,

    If I don't use TFTP to boot, how do I recovery it boot from SD card?

    Thanks a lot.

    Carl

  • Carl,

    To boot from the SD card you need to modify your boocmd parameters, probably currently now it set to boot from tftp,

    u-boot > setenv bootcmd 'if mmc rescan 0:1; then fatload mmc 0:1 0xc0700000 uImage;
    bootm c0700000; fi;'
    u-boot > setenv bootargs ‘mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw
    rootwait ip=off’
    u-boot > saveenv

    Have a look at this link http://processors.wiki.ti.com/index.php/OMAP-L138_Preparing_SD_Card_for_Boot

    which explains you to setup to boot from SD card.

    Regards,

    --Prabhakar Lad

  • Dear Prabhakar Lad,

    It can boot from the SD card according your suggestion.

    Thanks a lot.

    Carl