Hello,
I am currently using the EZSDK v6.00.00 to boot linux from USB. I followed the directions listed here (http://processors.wiki.ti.com/index.php/AMSDK_u-boot_User%27s_Guide#Booting_Linux_from_USB_storage) but can't seem to load Linux. I have used the create-sdcard.sh to partition and format my USB drive. I have also confimed that the rootfs partition has the file system.
We are currently using the AM3352 processor on a custom board.
Here is my print out from the linux kernel:
-Boot# fatload usb 0 ${loadaddr} ${bootfile}
reading uImage
3194336 bytes read in 2434 ms (1.3 MiB/s)
U-Boot# bootm
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3194272 Bytes = 3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Tue Jun 25 16:40:47 CDT 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/sda2 rw
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 253272k/253272k available, 8872k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0598000 (5696 kB)
[ 0.000000] .init : 0xc0598000 - 0xc05d3000 ( 236 kB)
[ 0.000000] .data : 0xc05d4000 - 0xc063e430 ( 426 kB)
[ 0.000000] .bss : 0xc063e454 - 0xc066d224 ( 188 kB)
[ 0.000000] NR_IRQS:396
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000152] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320)
[ 0.048736] pid_max: default: 32768 minimum: 301
[ 0.048858] Security Framework initialized
[ 0.048980] Mount-cache hash table entries: 512
[ 0.049377] CPU: Testing write buffer coherency: ok
[ 0.070800] omap_hwmod: gfx: failed to hardreset
[ 0.087524] omap_hwmod: pruss: failed to hardreset
[ 0.088836] print_constraints: dummy:
[ 0.089263] NET: Registered protocol family 16
[ 0.091796] OMAP GPIO hardware version 0.1
[ 0.094970] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.097290] omap_i2c.1: alias fck already exists
[ 0.098297] omap2_mcspi.1: alias fck already exists
[ 0.098602] omap2_mcspi.2: alias fck already exists
[ 0.099822] edma.0: alias fck already exists
[ 0.099853] edma.0: alias fck already exists
[ 0.099853] edma.0: alias fck already exists
[ 0.133483] bio: create slab <bio-0> at 0
[ 0.136138] SCSI subsystem initialized
[ 0.138061] usbcore: registered new interface driver usbfs
[ 0.138458] usbcore: registered new interface driver hub
[ 0.138732] usbcore: registered new device driver usb
[ 0.139068] registerd cppi-dma Intr @ IRQ 17
[ 0.139099] Cppi41 Init Done Qmgr-base(d087a000) dma-base(d0878000)
[ 0.139099] Cppi41 Init Done
[ 0.139129] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.139495] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.140899] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.142608] tps65910 1-002d: could not be detected
[ 0.144226] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.145568] Switching to clocksource gp timer
[ 0.165039] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.165252] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.165679] MUSB0 controller's USBSS revision = 4ea20800
[ 0.166870] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using DMA, IRQ 18
[ 0.167053] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.167419] MUSB1 controller's USBSS revision = 4ea20800
[ 0.167968] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.168060] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.168212] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.168243] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.168243] usb usb1: Product: MUSB HDRC host driver
[ 0.168273] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.168273] usb usb1: SerialNumber: musb-hdrc.1
[ 0.169281] hub 1-0:1.0: USB hub found
[ 0.169342] hub 1-0:1.0: 1 port detected
[ 0.170013] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using DMA, IRQ 19
[ 0.170501] NET: Registered protocol family 2
[ 0.170715] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.171051] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.171234] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.171356] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.171386] TCP reno registered
[ 0.171386] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.171417] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.171661] NET: Registered protocol family 1
[ 0.171966] RPC: Registered named UNIX socket transport module.
[ 0.171966] RPC: Registered udp transport module.
[ 0.171997] RPC: Registered tcp transport module.
[ 0.171997] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.172271] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.184082] VFS: Disk quotas dquot_6.5.2
[ 0.184173] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.184783] msgmni has been set to 494
[ 0.188507] alg: No test for stdrng (krng)
[ 0.189270] io scheduler noop registered
[ 0.189300] io scheduler deadline registered
[ 0.189392] io scheduler cfq registered (default)
[ 0.190673] Could not set LED4 to fully on
[ 0.192626] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.766326] console [ttyO0] enabled
[ 0.770690] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.778656] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.786529] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.794433] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.802337] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.810791] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 0.829467] brd: module loaded
[ 0.838958] loop: module loaded
[ 0.842437] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.848968] i2c-core: driver [tsl2550] using legacy resume method
[ 0.855438] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.916107] No daughter card found
[ 0.919708] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.986114] AM335X: EVM Config read fail: -110
[ 0.992980] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.000213] omap2-nand driver initializing
[ 1.004699] OneNAND driver initializing
[ 1.010284] CAN device driver interface
[ 1.014312] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.020965] usbcore: registered new interface driver zd1201
[ 1.027069] usbcore: registered new interface driver cdc_ether
[ 1.033355] usbcore: registered new interface driver cdc_eem
[ 1.039489] usbcore: registered new interface driver dm9601
[ 1.045379] cdc_ncm: 04-Aug-2011
[ 1.049102] usbcore: registered new interface driver cdc_ncm
[ 1.055053] Initializing USB Mass Storage driver...
[ 1.060455] usbcore: registered new interface driver usb-storage
[ 1.066772] USB Mass Storage support registered.
[ 1.072174] mousedev: PS/2 mouse device common for all mice
[ 1.079101] i2c /dev entries driver
[ 1.083221] Linux video capture interface: v2.00
[ 1.088500] usbcore: registered new interface driver uvcvideo
[ 1.094512] USB Video Class driver (1.1.1)
[ 1.101074] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.107727] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
[ 1.116577] cpuidle: using governor ladder
[ 1.121459] cpuidle: using governor menu
[ 1.126342] omap4_aes_mod_init: loading AM33X AES driver
[ 1.132049] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 1.138671] omap4_aes_probe: probe() done
[ 1.143157] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 1.149353] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 1.162109] omap4_sham_probe: probe() done
[ 1.169403] usbcore: registered new interface driver usbhid
[ 1.175262] usbhid: USB HID core driver
[ 1.180236] usbcore: registered new interface driver snd-usb-audio
[ 1.188598] ALSA device list:
[ 1.191711] No soundcards found.
[ 1.195281] oprofile: hardware counters not available
[ 1.200622] oprofile: using timer interrupt.
[ 1.205108] nf_conntrack version 0.5.0 (3957 buckets, 15828 max)
[ 1.211975] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.217712] TCP cubic registered
[ 1.221099] NET: Registered protocol family 17
[ 1.225769] can: controller area network core (rev 20090105 abi 8)
[ 1.232391] NET: Registered protocol family 29
[ 1.237060] can: raw protocol (rev 20090105)
[ 1.241546] can: broadcast manager protocol (rev 20090105 t)
[ 1.247528] Registering the dns_resolver key type
[ 1.252532] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.260589] ThumbEE CPU extension supported.
[ 1.265136] mux: Failed to setup hwmod io irq -22
[ 1.270843] Power Management for AM33XX family
[ 1.275726] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.282470] Copied the M3 firmware to UMEM
[ 1.286865] Cortex M3 Firmware Version = 0x181
[ 1.292114] sr_init: platform driver register failed
[ 1.301300] clock: disabling unused clocks to save power
[ 1.322967] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 1.330169] Root-NFS: no NFS server address
[ 1.334564] VFS: Unable to mount root fs via NFS, trying floppy.
[ 1.341339] VFS: Cannot open root device "sda2" or unknown-block(2,0)
[ 1.348114] Please append a correct "root=" boot option; here are the available partitions:
[ 1.356933] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[ 1.365600] Backtrace:
[ 1.368225] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c04140c0>] (dump_stack+0x18/0x1c)
[ 1.377075] r6:00008000 r5:c04f7130 r4:c0641188 r3:c05f7f0c
[ 1.383056] [<c04140a8>] (dump_stack+0x0/0x1c) from [<c04142fc>] (panic+0x64/0x194)
[ 1.391113] [<c0414298>] (panic+0x0/0x194) from [<c0598c88>] (mount_block_root+0x174/0x228)
[ 1.399871] r3:00000000 r2:00000000 r1:cf01df40 r0:c04f7130
[ 1.405822] r7:c04f7198
[ 1.408508] [<c0598b14>] (mount_block_root+0x0/0x228) from [<c0598ef0>] (mount_root+0xc8/0xe8)
[ 1.417572] [<c0598e28>] (mount_root+0x0/0xe8) from [<c059907c>] (prepare_namespace+0x16c/0x1c0)
[ 1.426788] r4:c063e4e0
[ 1.429473] [<c0598f10>] (prepare_namespace+0x0/0x1c0) from [<c05988fc>] (kernel_init+0xf4/0x120)
[ 1.438781] r5:c05d2644 r4:c05d2644
[ 1.442565] [<c0598808>] (kernel_init+0x0/0x120) from [<c004203c>] (do_exit+0x0/0x65c)
[ 1.450866] r5:c0598808 r4:00000000