[PATCH v4 1/4] cmd: bind: Add unbind command with driver filter
Marek Vasut
marex at denx.de
Fri Aug 4 19:54:22 CEST 2023
On 8/4/23 19:46, Miquel Raynal wrote:
> Hi Marek,
>
> marex at denx.de wrote on Fri, 4 Aug 2023 19:31:50 +0200:
>
>> On 8/4/23 19:24, Miquel Raynal wrote:
>>
>> Hi,
>>
>>>>>>>>> exit not allowed from main input shell.
>>>>>>>>> => unbind /ocp/usb at 47400000/usb at 47401000 usb_ether
>>>>>>>>
>>>>>>>> Does
>>>>>>>> >>>> => unbind ethernet 0
>>>>>>>>
>>>>>>>> work ?
>>>>>>>>
>>>>>>>> If so, 1/4 in this series can be skipped altogether.
>>>>>>>>
>>>>>>>> You likely won't even need the rebinding of ti-musb-peripheral anymore.
>>>>
>>>> Did you test this yet ?
>>>
>>> Unfortunately it does not work. Indeed it would be much simpler than
>>> using the node path. Any idea why?
>>
>> Since you provided literally zero information, no.
>>
>> Console log would be a good starting point.
>
> Here it is, the unbind command itself does not complain has it seems to
> catch the regular Ethernet controller (there is one in the SoC, but it
> is not wired on the board). So the first time it does nothing, but the
> second time it works as the USB gadget get dropped! And after the
> second call, fastboot works without the bind call.
>
> => dm tree
> misc 0 [ + ] ti-musb-wrapper | |-- usb at 47400000
> usb 0 [ + ] ti-musb-peripheral | | |-- usb at 47401000
> ethernet 1 [ + ] usb_ether | | | `-- usb_ether
^^^^^^^^ ^
unbind ethernet 1
More information about the U-Boot
mailing list