[U-Boot] Loading kernel from usb

Marek Vasut marek.vasut at gmail.com
Mon Mar 26 04:04:45 CEST 2012


Dear Calvin Boyd,

* please always CC the mailing list!
* please avoid top-posting!

> Dear Marek Vasut,
> 
> I tried using the CONFIG_CMD_USB to enable the use of the usb commands from
> the u-boot command prompt. However, I am getting compilation errors:
> 
> drivers/usb/host/libusb_host.a(ehci-hcd.o): In function
> `usb_lowlevel_init': ehci-hcd.c:(.text+0x5d4): undefined reference to
> `ehci_hcd_init'
> drivers/usb/host/libusb_host.a(ehci-hcd.o): In function
> `usb_lowlevel_stop': ehci-hcd.c:(.text+0x850): undefined reference to
> `ehci_hcd_stop'
> make: *** [u-boot] Error 1

You also need to enable driver for your USB host controller.

> 
> Regards,
> Calvin Boyd
> 
> > From: marek.vasut at gmail.com
> > To: u-boot at lists.denx.de
> > Subject: Re: [U-Boot] Loading kernel from usb
> > Date: Sun, 25 Mar 2012 01:41:30 +0100
> > CC: calvin_boyd at hotmail.com
> > 
> > Dear Calvin Boyd,
> > 
> > > I am currently working on a project and I am trying to load the kernel
> > > from usb instead of an sd card.  How do you configure u-boot to
> > > support usb commands?
> > 
> > Why don't you attempt to please read the documentation first? Try
> > "CONFIG_CMD_USB" for starters.
> > 
> > Best regards,
> > Marek Vasut

Best regards,
Marek Vasut


More information about the U-Boot mailing list