
On 21/06/2018 12:04, Michal Simek wrote:
Hi Simon,
On 21.6.2018 04:02, Simon Glass wrote:
Hi Michal,
On 20 June 2018 at 00:31, Michal Simek michal.simek@xilinx.com wrote:
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
Thanks for pointer. I have commented that series and let's have discussion there.
Thanks, Michal
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot