[U-Boot] Testing u-boot-dm/next

Simon Glass sjg at chromium.org
Mon Apr 13 16:31:13 CEST 2015


Hi Prazemyslaw,

On 10 April 2015 at 12:08, Przemyslaw Marczak <p.marczak at samsung.com> wrote:
> Hello,
>
>
> On 04/10/2015 07:57 PM, Simon Glass wrote:
>>
>> Hi Przemyslaw,
>>
>> On 10 April 2015 at 11:50, Przemyslaw Marczak <p.marczak at samsung.com>
>> wrote:
>>>
>>> Hello Simon,
>>>
>>>
>>> On 04/10/2015 07:40 PM, Simon Glass wrote:
>>>>
>>>>
>>>> Hi Przemyslaw,
>>>>
>>>> On 9 April 2015 at 01:55, Przemyslaw Marczak <p.marczak at samsung.com>
>>>> wrote:
>>>>>
>>>>>
>>>>> Hello Simon,
>>>>>
>>>>>
>>>>> On 04/09/2015 05:07 AM, Simon Glass wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have quite a few patches queued up in the next branch of u-boot-dm,
>>>>>> ready
>>>>>> for when the merge window options.
>>>>>>
>>>>>> If anyone has time and can give it a spin on their board, it would be
>>>>>> much
>>>>>> appreciated!
>>>>>>
>>>>>> Regards,
>>>>>> Simon
>>>>>>
>>>>>
>>>>> I tested this on Odroid U3.
>>>>> It looks that everything works fine. I see that ehci_hcd_init() is not
>>>>> used,
>>>>> then where can we call the board_usb_init()?
>>>>
>>>>
>>>>
>>>> Thanks for testing.
>>>>
>>>> Can board_usb_init() be called from within the board_init() code
>>>> instead? Or are you trying to avoid doing this init unless USB is
>>>> actually used? If so, then I'll need to have a think about it.
>>>>
>>>> Regards,
>>>> Simon
>>>>
>>>
>>> I noticed, that after changes the USB command doesn't recognize the mass
>>> storage device. I haven't too much time for checking it deeper.
>>> I will check it on Monday and give you a response.
>>
>>
>> OK thanks. You can also try removing CONFIG_DM_USB as a comparison.
>> I'm happy to switch this back to not use driver model until any
>> problems are resolved.
>>
>> Regards,
>> Simon
>>
>
> Ok, I will also check this. Or if find the time, I will fix the storage
> issue for dm-usb.

Thanks. Just a note on my testing. I used a power hub with 3 USB flash
sticks and a USB Ethernet dongle. Also I plugged a unpowered hub into
the powered hub, with its own USB stick. I tried this on snow/pit both
with and without DM_USB.

For mass storage the detection method is different (you now register
drivers which can handle the various interface classes, etc.) but the
effect is intended to be the same. But there may be an error
somewhere.

Regards,
Simon


More information about the U-Boot mailing list