USB@u-boot

 landisk_selをつくった時に、当然configなどを眺めていたのですが、

/* USB */
#define CONFIG_CMD_USB				1
#define CONFIG_USB_STORAGE			1

などとあるので、USBメモリから起動できるんだよね?と思っていたのですが、まだ試したことがありませんでした。なので試してみました。

mem=64M console=ttySC1,115200 root=/dev/sdb1
usb start;ext2load usb 0:1 0x8c400000 /boot/vmlinuz-3.9.1-landisk;zimageboot 0x8c400000 0x8c001000
(Re)start USB...
USB:   OHCI pci controller (1033, 0035) found @(0:2:0)
OHCI regs address 0xfd001000
No EHCI func at 1 index!
scanning bus for devices... cannot reset port 4!?
cannot reset port 5!?
cannot reset port 6!?
cannot reset port 7!?
cannot reset port 8!?
cannot reset port 9!?
cannot reset port 10!?
cannot reset port 11!?
cannot reset port 12!?
cannot reset port 13!?
cannot reset port 14!?
cannot reset port 15!?
1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported

 とりあえず失敗です。使い方も合ってないかも、
 調べましたが、めぼしい情報が無いです。
 u-bootコンソールで起動して、関連コマンドを打ち込んでみます。

=> usb info
1: Hub,  USB Revision 1.10
 -  OHCI Root Hub
 - Class: Hub
 - PacketSize: 8  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 0.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms

 usb treeだと完全にダンマリに〜
 なんかダメそうだ〜。
 特に意味も無く、これも載せておきます。

=> help usb
usb - USB sub-system

Usage:
usb reset - reset (rescan) USB controller
usb stop [f]  - stop USB [f]=force stop
usb tree  - show USB device tree
usb info [dev] - show available USB devices
usb storage  - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
    to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
    from memory address `addr'