[meta-freescale] u-boot USB option for SABRE SD.

Juha Vuorivirta jvp.vuorivirta at gmail.com
Mon Mar 18 01:45:46 PDT 2013


> You can boot from NOR/NAND/SD/SATA/SPI NOR/I2C NOR and then you can
> use USB to store kernel and root fs.
Ok. Is USB boot possible if we make changes to Boot Configuration Select HW?

> What do you want to do?
Boot board from USB stick connected in SMSC LAN9512 EVB's hub port. Now I
have added usb option in u-boot, I can see it with 'help' command. But
device is not there though driver smsc95xx is enabled in u-boot.

I noticed that EVB device is using fsl-echi driver for USB/Ethernet after
boot.
>From console: *usb 1-1.2: new high speed USB device number 4 using fsl-echi*
when I connect USB stick to hub's port.
Should I enable echi-fsl driver to u-boot also?

My u-boot configs for USB command are:
/* USB Configs */
#define CONFIG_CMD_USB
#define CONFIG_CMD_FAT
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_MX6
#define CONFIG_USB_STORAGE
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
#define CONFIG_USB_ETHER_SMSC95XX
#define CONFIG_MXC_USB_PORT 1
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_MXC_USB_FLAGS 0

In addition, is this USB option even possible to implement because of dip
switch(SW-6)?
And if it is, in what position switch dip's should be in USB boot?
BTW, Can I override switch by software(BOOT_MODE and GPIO Boot override pins
)?

br,

jv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130318/b4125307/attachment.html>


More information about the meta-freescale mailing list