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

Otavio Salvador otavio at ossystems.com.br
Mon Mar 18 04:50:10 PDT 2013


On Mon, Mar 18, 2013 at 5:45 AM, Juha Vuorivirta
<jvp.vuorivirta at gmail.com> wrote:
>> 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)?

Which U-Boot version are you using?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the meta-freescale mailing list