AnsweredAssumed Answered

USB storage in u-boot with i.mx287?

Question asked by latorta on Aug 2, 2018
Latest reply on Aug 2, 2018 by latorta

Hi everyone!

I'm trying to use a USB mass storage dongle in u-boot. I would like to load the kernel, the fdt blob and other files from it, but u-boot doesn't detect it. The OS does.

The output I get from u-boot is

CCARDIMX28 # usb start
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

I tried different dongles, I set the USB enable pin, I patched u-boot like this ->;a=blobdiff;f=common/usb_hub.c;h=652a104361f63ee715a99e924ccd1145a2c66224;hp=f621ddb9ab5debe7c6b65514f2b04ee408167bfc;hb=dcc7dbc73169bb4e39f27c1d95bbf031ccfc1744;hpb=147271209a9d328203cf1663de17abdad23412b4
but anything changed.
I read that someone can get the usb device detected from u-boot -> i.MX28-evk uboot to load zImage and dtb from USB so I don't get why I can't.

Thank you for your help.