boot from usb

Does anyone have experience booting from usb (from a hard disk or usb
flash disk connected via a hub to the otg port)?

I tried, but did not succeed. Apparently the hub is only detected
after the rootfs is mounted.

If you managed to boot from usb, I would appreciate if you could share
your .config and your boot cmd line.
(and other suggestions are of course also welcome).

Frans.

Does anyone have experience booting from usb (from a hard disk or usb
flash disk connected via a hub to the otg port)?

I tried, but did not succeed. Apparently the hub is only detected
after the rootfs is mounted.

If you managed to boot from usb, I would appreciate if you could share
your .config and your boot cmd line.
(and other suggestions are of course also welcome).

Have you try adding adding either: "rootwait" or "rootdelay=30" to your
kernel command line so the kernel will wait for the hub and other USB
devices to enumerate?

This is assuming you have all the USB bits and the mass storage bits
compiled into the kernel, not as modules.

Hunyue, thanks for your reply.
All the needed usb/scsi/mass storage things are build in into the
kernel.
I've also tried rootwait but did not have success.

Does it work for you?

Frans