Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
university:tools:pluto:devs:usb_otg [10 Jul 2018 16:35] – add hint about Lf line ending Wassim FILALIuniversity:tools:pluto:devs:usb_otg [10 Jul 2018 17:23] – collected both blockers I had on clear notes Wassim FILALI
Line 10: Line 10:
  
 For those interested, it will do that via the automounter script in ''/lib/mdev/automounter.sh'' which is maintained [[https://github.com/analogdevicesinc/buildroot/blob/pluto/board/pluto/automounter.sh|here]]. For those interested, it will do that via the automounter script in ''/lib/mdev/automounter.sh'' which is maintained [[https://github.com/analogdevicesinc/buildroot/blob/pluto/board/pluto/automounter.sh|here]].
 +
 +Note 1 : if you're editing the runme.sh file from windows, make sure you use 'LF' as file line ending.
 +
 +Note 2 : The power supply (and USB cable quality) of the ADALM-PLUTO have an influence on the otg storage device plug detection.
  
 ==== Basic Example ==== ==== Basic Example ====
Line 16: Line 20:
 For those who just want to do something, create a ''runme0.sh'' file on a thumb drive (FAT32 is fine) which looks like a normal unix [[wp>Shell_script|shell script]]. To debug your shell script, try your commands via ssh before putting them in the script. This example requires at least firmware v0.22. For those who just want to do something, create a ''runme0.sh'' file on a thumb drive (FAT32 is fine) which looks like a normal unix [[wp>Shell_script|shell script]]. To debug your shell script, try your commands via ssh before putting them in the script. This example requires at least firmware v0.22.
  
-Note that if you're editing the runme.sh file from windows, make sure you use 'LF' as file line ending.+
 <code> <code>
 #!/bin/sh #!/bin/sh
university/tools/pluto/devs/usb_otg.txt · Last modified: 01 Oct 2021 15:48 by Brandon Bushey