Reprobe devices at run time
Hi Simon and other,
do we have a way to remove device and probe it again via u-boot prompt? I was grepping u-boot and I didn't find any command for that. I see functionality in the code and several tests but nothing what it is available via command.
Thanks,
Michal
Hi Michal,
Quoted 6 lines · Michal Simek
Hi Simon and other,
do we have a way to remove device and probe it again via u-boot prompt? I was grepping u-boot and I didn't find any command for that. I see functionality in the code and several tests but nothing what it is available via command.
No we do not. But see the recent patch to allow bind/unbind from the command line. That might point the way.
Regards,
Simon
Hi Simon,
Quoted 5 lines · Simon Glass
Hi Michal,
Quoted 2 lines · Michal Simek
Hi Simon and other,
Quoted 7 lines
Quoted 4 lines
do we have a way to remove device and probe it again via u-boot prompt? I was grepping u-boot and I didn't find any command for that. I see functionality in the code and several tests but nothing what it is available via command.
No we do not. But see the recent patch to allow bind/unbind from the command line. That might point the way.
Thanks for pointer. I have commented that series and let's have discussion there.
Thanks,
Michal
Quoted 14 lines · Michal Simek
Hi Simon,
Quoted 11 lines · Simon Glass
Hi Michal,
Quoted 6 lines · Michal Simek
Hi Simon and other,
do we have a way to remove device and probe it again via u-boot prompt? I was grepping u-boot and I didn't find any command for that. I see functionality in the code and several tests but nothing what it is available via command.
No we do not. But see the recent patch to allow bind/unbind from the command line. That might point the way.
I agree with Simon.
I'll send an updated version soon which does remove the device before unbinding.
Unbind/rebinding would work in this case to re-trigger a probe. Alternatively one could add probe/remove commands with kind of the same UI as bind/unbind (minus the driver name).
JJ
Quoted 10 lines
Thanks for pointer. I have commented that series and let's have discussion there.
Thanks,
Michal_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot