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.

booting OMAP-L137 AM1707 EVM using USB for both uImage loading and filesystem

Other Parts Discussed in Thread: AM1707, OMAP-L137, CODECOMPOSER

Hi All

I am trying to run the linux over the OMAP-L137 AM1707 EVM using USB for both uImage loading and filesystem :

I have wrote to SPI FLASH using Codecomposer and the

C:\shared_copy\sdk_1_10_00_01\DaVinci-PSP-SDK-03.20.00.12\images\utils\omapl1x7\spiflash_writer.out

the "uboot"

C:\shared_copy\sdk_1_10_00_01\DaVinci-PSP-SDK-03.20.00.12\images\u-boot\omapl1x7\u-boot.bin

and "armais"

C:\shared_copy\sdk_1_10_00_01\DaVinci-PSP-SDK-03.20.00.12\images\boot-strap\am17xx\arm-spi-ais.bin

I have created 2 partitions over the USB : 1 - fat16 holding the uImage (30M) ,and the other ex2 holding the filesystem (2G) as explained at :

http://processors.wiki.ti.com/index.php?title=Creating_filesystems_on_removable_media  (also verified the 2 patitions are identified by host linux)

I used the teraterm MACRO supplied at : http://processors.wiki.ti.com/index.php/Teraterm_Scripts#Are_there_any_OMAPL137_examples.3F

; Keep the VT window open while executing macro
showtt 1
; Set the synchronous mode
setsync 1
; needed because of the slower operations usb start and fatload
PromptUboot = 'U-Boot > '
 ; Set the title to make easier identification between boards
settitle 'OMAPL137'
 ; check if USB is alive and which devices are on
sendln 'usb start'
wait PromptUboot
 ; load the kernel image to memory
sendln 'fatload usb 0:1 0xC0700000 uimage'
wait PromptUboot
 ; set kernel command line argument
sendln 'setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/sda2 rootfstype=ext2 mem=32M' ;USB BOOT
 ; choose kernel image file name
sendln 'setenv bootfile uImage'
 ; boot the board!
sendln 'bootm'
 ; end of macro file

I keep getting back the below result : (I even tried compiling the kernel to be sure it support USB file system )

Sometimes the borad actually show white screen sometimes it doesn't

I will be glad if someone could tell me what should happen next or what am I missing in order to continue

Booting with TI UBL
Device OPP (300MHz, 1.2V)

U-Boot 2009.11 (May 03 2010 - 15:39:24)

I2C:   ready
DRAM:  64 MB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
Warning: MAC addresses don't match:
  EEPROM MAC address: 00:0e:99:08:00:00
     "ethaddr" value: 00:0e:99:03:10:f4
Net:   More than one PHY detected.

Hit any key to stop autoboot:  0
U-Boot > usb start
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
U-Boot > fatload usb 0:1 0xC0700000 uimage
reading uimage
..................................................................................................................................................................................................

1993448 bytes read
U-Boot > setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/sda2 rootfstype=ext2 mem=32M
U-Boot > setenv bootfile uImage
U-Boot > bootm
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.33-rc4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1993384 Bytes =  1.9 MB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Yehuda