From: Jean-Jacques Hiblot Date: Thu, 21 Jun 2018 16:46:00 +0200 Subject: [U-Boot] Reprobe devices at run time In-Reply-To: <679653ff-2ba5-b93e-4fb8-e418875613ce@xilinx.com> References: <22036c22-3df8-cbed-e1d8-0e204755c4ac@xilinx.com> <679653ff-2ba5-b93e-4fb8-e418875613ce@xilinx.com> Message-ID: <698ca346-7077-3555-5c1e-b5362af190b5@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 at lists.denx.de > https://lists.denx.de/listinfo/u-boot