<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=RockpiS%2Fdev%2Fotg%2Ftesting</id>
		<title>RockpiS/dev/otg/testing - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=RockpiS%2Fdev%2Fotg%2Ftesting"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=RockpiS/dev/otg/testing&amp;action=history"/>
		<updated>2026-06-06T04:22:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=RockpiS/dev/otg/testing&amp;diff=3976&amp;oldid=prev</id>
		<title>Stephen: Created page with &quot;{{rockpiS_header}}  {{Languages|rockpiS/dev/otg}}       ROCK Pi S &gt;  Development &gt;  Using OTG for ROCK Pi S  ===Requirement=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=RockpiS/dev/otg/testing&amp;diff=3976&amp;oldid=prev"/>
				<updated>2019-10-28T07:26:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{rockpiS_header}}  {{Languages|rockpiS/dev/otg}}      &lt;a href=&quot;/RockpiS&quot; title=&quot;RockpiS&quot;&gt; ROCK Pi S&lt;/a&gt; &amp;gt; &lt;a href=&quot;/RockpiS/dev&quot; title=&quot;RockpiS/dev&quot;&gt; Development&lt;/a&gt; &amp;gt; &lt;a href=&quot;/RockpiS/dev/otg&quot; title=&quot;RockpiS/dev/otg&quot;&gt; Using OTG for ROCK Pi S&lt;/a&gt;  ===Requirement=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{rockpiS_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rockpiS/dev/otg}}&lt;br /&gt;
&lt;br /&gt;
    [[rockpiS | ROCK Pi S]] &amp;gt; [[rockpiS/dev | Development]] &amp;gt; [[RockpiS/dev/otg | Using OTG for ROCK Pi S]]&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
* ROCK Pi S&lt;br /&gt;
* USB Type C to USB-A cable&lt;br /&gt;
&lt;br /&gt;
===Step 1:  Connecting your ROCK Pi S on PC===&lt;br /&gt;
&lt;br /&gt;
Using USB Type C to USB-A cable connect your ROCK Pi S and PC.&lt;br /&gt;
&lt;br /&gt;
===Step 2: Make sure rkdeveloptool is set up on host computer Linux===&lt;br /&gt;
&lt;br /&gt;
==== Linux====&lt;br /&gt;
To build rkdeveloptool on a debian based Linux distribution, follow the instruction below:&lt;br /&gt;
&lt;br /&gt;
Install build dependency:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Clone the source code and build:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
If you encounter compile error like below&lt;br /&gt;
    ./configure: line 4269: syntax error near unexpected token `LIBUSB1,libusb-1.0'&lt;br /&gt;
    ./configure: line 4269: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should install pkg-config libusb-1.0&lt;br /&gt;
    sudo apt-get install pkg-config libusb-1.0&lt;br /&gt;
&lt;br /&gt;
Then re-run &lt;br /&gt;
    autoreconf -i&lt;br /&gt;
    ./configure&lt;br /&gt;
    make&lt;br /&gt;
&lt;br /&gt;
Now you have rkdeveloptool executable at the current directory.&lt;br /&gt;
  sudo cp rkdeveloptool /usr/local/bin/&lt;br /&gt;
&lt;br /&gt;
==== MacOS ====&lt;br /&gt;
&lt;br /&gt;
To build rkdeveloptool on macOS, you need [https://brew.sh/ homebrew](or similar package manager) to install required packages.&lt;br /&gt;
&lt;br /&gt;
Install build dependency:&lt;br /&gt;
&lt;br /&gt;
    brew install automake autoconf libusb&lt;br /&gt;
&lt;br /&gt;
Clone the source code and build:&lt;br /&gt;
&lt;br /&gt;
    git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
    cd rkdeveloptool&lt;br /&gt;
    autoreconf -i&lt;br /&gt;
    ./configure&lt;br /&gt;
    make&lt;br /&gt;
&lt;br /&gt;
If you encounter compile error like below&lt;br /&gt;
    ./configure: line 4269: syntax error near unexpected token `LIBUSB1,libusb-1.0'&lt;br /&gt;
    ./configure: line 4269: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should install pkg-config libusb-1.0&lt;br /&gt;
    brew install pkg-config&lt;br /&gt;
&lt;br /&gt;
Then re-run &lt;br /&gt;
    autoreconf -i&lt;br /&gt;
    ./configure&lt;br /&gt;
    make&lt;br /&gt;
&lt;br /&gt;
Now you have rkdeveloptool executable at the current directory.&lt;br /&gt;
&lt;br /&gt;
    sudo cp rkdeveloptool /usr/local/bin/&lt;br /&gt;
&lt;br /&gt;
===Step 3: Testing connected and get help===&lt;br /&gt;
&lt;br /&gt;
On linux host:&lt;br /&gt;
&lt;br /&gt;
   $ rkdeveloptool ld&lt;br /&gt;
&lt;br /&gt;
If you can see the information for device your connection is successful, if you want to get help you can type:&lt;br /&gt;
&lt;br /&gt;
   $ rkdeveloptool ?&lt;/div&gt;</summary>
		<author><name>Stephen</name></author>	</entry>

	</feed>