<?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/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jack</id>
		<title>Radxa Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jack"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Special:Contributions/Jack"/>
		<updated>2026-07-21T15:25:31Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/Rock/Booting_Linux</id>
		<title>Rock/Booting Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Booting_Linux"/>
				<updated>2016-01-25T02:58:30Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rock/Booting Linux}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Requirement ==&lt;br /&gt;
&lt;br /&gt;
* a radxa rock board (check your [[Rock/hardware revision|hardware revision]])&lt;br /&gt;
* a desktop/laptop running Linux(64bit preferred)&lt;br /&gt;
* a micro usb cable, one side plugged in to the OTG port of radxa rock, the other side plugged in to the usb port on desktop/laptop&lt;br /&gt;
&lt;br /&gt;
== Prepare the build environment ==&lt;br /&gt;
&lt;br /&gt;
=== Install the packages ===&lt;br /&gt;
&lt;br /&gt;
Install packages for building kernel if you don't have them on your host.&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install build-essential lzop libncurses5-dev libssl-dev &lt;br /&gt;
If build on 64bit machine, also need to install:&lt;br /&gt;
    sudo apt-get install libc6:i386&lt;br /&gt;
&lt;br /&gt;
=== Install the toolchain ===&lt;br /&gt;
&lt;br /&gt;
Refer [[Rock/install_toolchain | install toolchain]]&lt;br /&gt;
&lt;br /&gt;
you can use any toolchain if you are sure it works, or you may have to fix any error introduced by toolchain.&lt;br /&gt;
&lt;br /&gt;
=== Get the source code ===&lt;br /&gt;
&lt;br /&gt;
    git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
&lt;br /&gt;
   or download here&lt;br /&gt;
    http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
== Build the kernel ==&lt;br /&gt;
&lt;br /&gt;
    cd linux-rockchip&lt;br /&gt;
&lt;br /&gt;
if your Rock is pro(Mid 2014) or the new lite(Mid 2014), check out [[Rock/hardware_revision| hardware revision]]&lt;br /&gt;
&lt;br /&gt;
if you use the HDMI for dispaly device&lt;br /&gt;
    make radxa_rock_pro_linux_hdmi_defconfig&lt;br /&gt;
or you use the LCD for the primary display device(hdmi dual display at the same time)&lt;br /&gt;
    make radxa_rock_pro_linux_lvds_defconfig&lt;br /&gt;
&lt;br /&gt;
if your rock is full version(2013) or engineering sample or the old lite(2013), use radxa_rock_linux_defconfig, check out [[Rock/hardware_revision| hardware revision]]&lt;br /&gt;
    make radxa_rock_linux_defconfig&lt;br /&gt;
&lt;br /&gt;
    make -j8 kernel.img&lt;br /&gt;
&lt;br /&gt;
The kernel will be at '''kernel.img''' (image for kernel partition) and '''arch/arm/boot/Image''' (raw binary)&lt;br /&gt;
&lt;br /&gt;
if you want LZO compressed kernel, specify zkernel.img&lt;br /&gt;
&lt;br /&gt;
    make -j8 zkernel.img&lt;br /&gt;
&lt;br /&gt;
The kernel will be at '''kernel.img''' (image for kernel partition) and '''arch/arm/boot/zImage''' (compressed binary)&lt;br /&gt;
&lt;br /&gt;
=== Build the kernel modules ===&lt;br /&gt;
&lt;br /&gt;
    mkdir modules&lt;br /&gt;
    make INSTALL_MOD_PATH=./modules modules modules_install&lt;br /&gt;
&lt;br /&gt;
Now you have kernel modules in '''modules/lib/modules/''' and firmwares for some devices in '''modules/lib/firmware/'''.&lt;br /&gt;
&lt;br /&gt;
== Generate the image ==&lt;br /&gt;
&lt;br /&gt;
=== Generate the initramfs ===&lt;br /&gt;
&lt;br /&gt;
    cd ..&lt;br /&gt;
    git clone https://github.com/radxa/initrd.git&lt;br /&gt;
    make -C initrd&lt;br /&gt;
&lt;br /&gt;
=== Generate the boot.img ===&lt;br /&gt;
&lt;br /&gt;
Install mkbootimg&lt;br /&gt;
&lt;br /&gt;
    git clone https://github.com/neo-technologies/rockchip-mkbootimg.git&lt;br /&gt;
    cd rockchip-mkbootimg&lt;br /&gt;
    make&lt;br /&gt;
    sudo make install&lt;br /&gt;
    cd ..&lt;br /&gt;
&lt;br /&gt;
Make boot.img&lt;br /&gt;
&lt;br /&gt;
    mkbootimg --kernel linux-rockchip/arch/arm/boot/Image --ramdisk initrd.img -o boot.img&lt;br /&gt;
&lt;br /&gt;
Done. Now we have the '''boot.img''' (image for boot/recovery partition) for RR.&lt;br /&gt;
&lt;br /&gt;
== Modify the parameter ==&lt;br /&gt;
There is a demo for parameter for sdcard  you can get it  or copy it to parameter file, but before you use you should modify it as the following guide&lt;br /&gt;
&lt;br /&gt;
 wget http://dl.radxa.com/rock/images/parameter/parameter_linux_sd&lt;br /&gt;
&lt;br /&gt;
The linux rootfs can be put on the different partition or media(nand or uSD card or USB disk), so you need to tell the kernel which is the right rootfs to mount. So change the root= command line in your parameter to the rootfs you want to mount. The examples are:&lt;br /&gt;
&lt;br /&gt;
    root=/dev/block/mtd/by-name/linuxroot        # rootfs in the nand partition named &amp;quot;linuxroot&amp;quot;&lt;br /&gt;
    root=/dev/mmcblk0p1          # rootfs in the uSD card first partition&lt;br /&gt;
    root=/dev/sda1                # rootfs in the U disk or the USB hard drive first partition&lt;br /&gt;
    root=LABEL=linuxroot         # rootfs in the partition with label &amp;quot;linuxroot&amp;quot;, can be in uSD, U disk or USB hard drive.&lt;br /&gt;
&lt;br /&gt;
== Next step ==&lt;br /&gt;
&lt;br /&gt;
Now you refer [[rock/flash the image| flash the image]] to flash the generated boot.img to &amp;quot;boot&amp;quot; [[rock/partitions | partition]] parameter to &amp;quot;parameter&amp;quot; partition of your radxa rock board. And download a [http://dl.radxa.com/rock/images/ubuntu/latest/ prebuilt rootfs] or [[rock/ubuntu |make your own rootfs]]. You will get linux system boot into ramdisk and then switch root to real rootfs.&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Camera</id>
		<title>Rock/Camera</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Camera"/>
				<updated>2015-08-05T12:00:32Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* CSI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== USB ==&lt;br /&gt;
=== Support list ===&lt;br /&gt;
Below is the list of the USB cameras supported by Radxa Rock stock Android firmware.&lt;br /&gt;
&lt;br /&gt;
* '''Logitech'''     C110/C210/C270&lt;br /&gt;
* '''madsn'''         MD-903&lt;br /&gt;
* '''teclast'''          L200&lt;br /&gt;
* '''bluelover'''     T998&lt;br /&gt;
* '''gsou'''            B18/D30/D50&lt;br /&gt;
* '''HYUNDAI'''     S36&lt;br /&gt;
&lt;br /&gt;
== CSI ==&lt;br /&gt;
On rock pro/lite, there is CSI camera interfaces, the rock pro/lite default kernel supports '''OV5640''' and '''OV2659''' sensors. Most sensors of this two model on the market are compatible with rock pro/lite on hardware. Note, the kernel should be newer than July, 25th. Check [https://github.com/radxa/linux-rockchip/commit/f0700a581320c2304dbfcd8ef682126e54ce5a36 this commit].&lt;br /&gt;
&lt;br /&gt;
Kernel driver supports resolution 800*600,   '''NV16''',  '''YUV422P''' and '''YUYV'''  formats. &lt;br /&gt;
&lt;br /&gt;
Read image with ffmpeg from command line&lt;br /&gt;
.&lt;br /&gt;
  ffmpeg -f video4linux2 -s 800*600 -r 20 -i /dev/video0 test.mp4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Program with V4L2 library examples.&lt;br /&gt;
&lt;br /&gt;
  NV16 format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/camera/sample/cap_img_nv16.c&lt;br /&gt;
  # gcc -o cap_img_nv16 cap_img_nv16.c&lt;br /&gt;
  # ./cap_img_nv16 -d /dev/videoX  //your camera device&lt;br /&gt;
&lt;br /&gt;
  YUV422P format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/camera/sample/cap_img_yuv422p.c&lt;br /&gt;
  # gcc -o cap_img_yuv422p cap_img_yuv422p.c&lt;br /&gt;
  # ./cap_img_yuv422p -d /dev/videoX  //your camera device&lt;br /&gt;
&lt;br /&gt;
  YUYV format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/camera/sample/cap_img_yuyv.c&lt;br /&gt;
  # gcc -o cap_img_yuyv cap_img_yuyv.c&lt;br /&gt;
  # ./cap_img_yuyv -d /dev/videoX  //your camera device&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Camera</id>
		<title>Rock/Camera</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Camera"/>
				<updated>2015-08-05T11:58:52Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* CSI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== USB ==&lt;br /&gt;
=== Support list ===&lt;br /&gt;
Below is the list of the USB cameras supported by Radxa Rock stock Android firmware.&lt;br /&gt;
&lt;br /&gt;
* '''Logitech'''     C110/C210/C270&lt;br /&gt;
* '''madsn'''         MD-903&lt;br /&gt;
* '''teclast'''          L200&lt;br /&gt;
* '''bluelover'''     T998&lt;br /&gt;
* '''gsou'''            B18/D30/D50&lt;br /&gt;
* '''HYUNDAI'''     S36&lt;br /&gt;
&lt;br /&gt;
== CSI ==&lt;br /&gt;
On rock pro/lite, there is CSI camera interfaces, the rock pro/lite default kernel supports '''OV5640''' and '''OV2659''' sensors. Most sensors of this two model on the market are compatible with rock pro/lite on hardware. Note, the kernel should be newer than July, 25th. Check [https://github.com/radxa/linux-rockchip/commit/f0700a581320c2304dbfcd8ef682126e54ce5a36 this commit].&lt;br /&gt;
&lt;br /&gt;
Kernel driver supports resolution 800*600,   '''NV16'''  '''YUV422P''' and '''YUYV'''  formats. &lt;br /&gt;
&lt;br /&gt;
Read image with ffmpeg from command line&lt;br /&gt;
.&lt;br /&gt;
  ffmpeg -f video4linux2 -s 800*600 -r 20 -i /dev/video0 test.mp4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Program with V4L2 library examples.&lt;br /&gt;
&lt;br /&gt;
  NV16 format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/camera/sample/cap_img_nv16.c&lt;br /&gt;
  # gcc -o cap_img_nv16 cap_img_nv16.c&lt;br /&gt;
  # ./cap_img_nv16 -d /dev/videoX  //your camera device&lt;br /&gt;
&lt;br /&gt;
  YUV422P format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/camera/sample/cap_img_yuv422p.c&lt;br /&gt;
  # gcc -o cap_img_yuv422p cap_img_yuv422p.c&lt;br /&gt;
  # ./cap_img_yuv422p -d /dev/videoX  //your camera device&lt;br /&gt;
&lt;br /&gt;
  YUYV format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/camera/sample/cap_img_yuyv.c&lt;br /&gt;
  # gcc -o cap_img_yuyv cap_img_yuyv.c&lt;br /&gt;
  # ./cap_img_yuyv -d /dev/videoX  //your camera device&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Camera</id>
		<title>Rock/Camera</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Camera"/>
				<updated>2015-08-05T01:16:45Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* CSI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== USB ==&lt;br /&gt;
=== Support list ===&lt;br /&gt;
Below is the list of the USB cameras supported by Radxa Rock stock Android firmware.&lt;br /&gt;
&lt;br /&gt;
* '''Logitech'''     C110/C210/C270&lt;br /&gt;
* '''madsn'''         MD-903&lt;br /&gt;
* '''teclast'''          L200&lt;br /&gt;
* '''bluelover'''     T998&lt;br /&gt;
* '''gsou'''            B18/D30/D50&lt;br /&gt;
* '''HYUNDAI'''     S36&lt;br /&gt;
&lt;br /&gt;
== CSI ==&lt;br /&gt;
On rock pro/lite, there is CSI camera interfaces, the rock pro/lite default kernel supports '''OV5640''' and '''OV2659''' sensors. Most sensors of this two model on the market are compatible with rock pro/lite on hardware. Note, the kernel should be newer than July, 25th. Check [https://github.com/radxa/linux-rockchip/commit/f0700a581320c2304dbfcd8ef682126e54ce5a36 this commit].&lt;br /&gt;
&lt;br /&gt;
Kernel driver supports resolution 800*600,   '''NV16''' and '''YUV420P''' formats. &lt;br /&gt;
&lt;br /&gt;
Read image with ffmpeg from command line&lt;br /&gt;
.&lt;br /&gt;
  ffmpeg -f video4linux2 -s 800*600 -r 20 -i /dev/video0 test.mp4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Program with V4L2 library examples.&lt;br /&gt;
&lt;br /&gt;
  NV16 format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/cap_img_nv16.c&lt;br /&gt;
  # gcc -o cap_img_nv16 cap_img_nv16.c&lt;br /&gt;
  # ./cap_img_nv16 -d /dev/videoX  //your camera device&lt;br /&gt;
&lt;br /&gt;
  YUV422P format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/cap_img_yuv422p.c&lt;br /&gt;
  # gcc -o cap_img_yuv422p cap_img_yuv422p.c&lt;br /&gt;
  # ./cap_img_yuv422p -d /dev/videoX  //your camera device&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Camera</id>
		<title>Rock/Camera</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Camera"/>
				<updated>2015-08-04T12:48:08Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* CSI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== USB ==&lt;br /&gt;
=== Support list ===&lt;br /&gt;
Below is the list of the USB cameras supported by Radxa Rock stock Android firmware.&lt;br /&gt;
&lt;br /&gt;
* '''Logitech'''     C110/C210/C270&lt;br /&gt;
* '''madsn'''         MD-903&lt;br /&gt;
* '''teclast'''          L200&lt;br /&gt;
* '''bluelover'''     T998&lt;br /&gt;
* '''gsou'''            B18/D30/D50&lt;br /&gt;
* '''HYUNDAI'''     S36&lt;br /&gt;
&lt;br /&gt;
== CSI ==&lt;br /&gt;
On rock pro/lite, there is CSI camera interfaces, the rock pro/lite default kernel supports '''OV5640''' and '''OV2659''' sensors. Most sensors of this two model on the market are compatible with rock pro/lite on hardware.&lt;br /&gt;
&lt;br /&gt;
Kernel driver supports resolution 800*600,   NV16 and YUV420P formats. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Read image from ffmpeg.&lt;br /&gt;
  ffmpeg -f video4linux2 -s 800*600 -r 20 -i /dev/video0 test.mp4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V4L2 program read examples.&lt;br /&gt;
  NV16 format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/cap_img_nv16.c&lt;br /&gt;
&lt;br /&gt;
  YUV422P format read and display example.&lt;br /&gt;
  http://dl.radxa.com/users/jack/cap_img_yuv422p.c&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock2/wireless</id>
		<title>Rock2/wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock2/wireless"/>
				<updated>2015-07-09T12:43:55Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock2_header}}&lt;br /&gt;
1 change user to root&lt;br /&gt;
  sudo su&lt;br /&gt;
&lt;br /&gt;
2 install and config hostapd&lt;br /&gt;
  #apt-get install hostapd&lt;br /&gt;
  #vim.tiny /etc/hostapd/hostapd.conf&lt;br /&gt;
  interface=wlan0&lt;br /&gt;
  ctrl_interface=/var/run/hostapd&lt;br /&gt;
  ssid=squareAP&lt;br /&gt;
  channel=6&lt;br /&gt;
  wpa=2&lt;br /&gt;
  wpa_passphrase=12345678&lt;br /&gt;
  #bridge=br0&lt;br /&gt;
&lt;br /&gt;
3 install and config dnsmasq&lt;br /&gt;
  #apt-get install dnsmasq&lt;br /&gt;
  #vim.tiny /etc/dnsmasq.conf &lt;br /&gt;
  interface=wlan0 &lt;br /&gt;
  bind-interfaces &lt;br /&gt;
  except-interface=lo &lt;br /&gt;
  dhcp-range=192.168.2.150,192.168.2.254,12h #configure the range of available ip&lt;br /&gt;
  dhcp-option=3,192.168.2.1 #configure the server&lt;br /&gt;
&lt;br /&gt;
4 edit /etc/network/interfaces&lt;br /&gt;
  #vim.tiny /etc/network/interfaces&lt;br /&gt;
  # interfaces(5) file used by ifup(8) and ifdown(8)&lt;br /&gt;
  auto wlan0&lt;br /&gt;
  iface wlan0 inet static&lt;br /&gt;
  address 192.168.2.1&lt;br /&gt;
  netmask 255.255.255.0&lt;br /&gt;
 &lt;br /&gt;
5 install haveged&lt;br /&gt;
  #apt-get install haveged&lt;br /&gt;
&lt;br /&gt;
6 start ap  &lt;br /&gt;
  #sudo su&lt;br /&gt;
  #echo 2 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  #hostapd -B /etc/hostapd/hostapd.conf &lt;br /&gt;
  #ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
  #service dnsmasq start &lt;br /&gt;
  #echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
  #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
  #/etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
7 change from AP mode to normal mode&lt;br /&gt;
  #echo 0 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  #reboot&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock2/wireless</id>
		<title>Rock2/wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock2/wireless"/>
				<updated>2015-07-09T12:41:42Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock2_header}}&lt;br /&gt;
1 change user to root&lt;br /&gt;
  sudo su&lt;br /&gt;
&lt;br /&gt;
2 install and config hostapd&lt;br /&gt;
  #apt-get install hostapd&lt;br /&gt;
  #vim.tiny /etc/hostapd/hostapd.conf&lt;br /&gt;
  interface=wlan0&lt;br /&gt;
  ctrl_interface=/var/run/hostapd&lt;br /&gt;
  ssid=squareAP&lt;br /&gt;
  channel=6&lt;br /&gt;
  wpa=2&lt;br /&gt;
  wpa_passphrase=12345678&lt;br /&gt;
  #bridge=br0&lt;br /&gt;
&lt;br /&gt;
3 install and config dnsmasq&lt;br /&gt;
  #apt-get install dnsmasq&lt;br /&gt;
  #vim.tiny /etc/dnsmasq.conf &lt;br /&gt;
  interface=wlan0 &lt;br /&gt;
  bind-interfaces &lt;br /&gt;
  except-interface=lo &lt;br /&gt;
  dhcp-range=192.168.2.150,192.168.2.254,12h #configure the range of available ip&lt;br /&gt;
  dhcp-option=3,192.168.2.1 #configure the server&lt;br /&gt;
&lt;br /&gt;
4 edit /etc/network/interfaces&lt;br /&gt;
  #vim.tiny /etc/network/interfaces&lt;br /&gt;
  # interfaces(5) file used by ifup(8) and ifdown(8)&lt;br /&gt;
  auto wlan0&lt;br /&gt;
  iface wlan0 inet static&lt;br /&gt;
  address 192.168.2.1&lt;br /&gt;
  netmask 255.255.255.0&lt;br /&gt;
 &lt;br /&gt;
5 install haveged&lt;br /&gt;
  #apt-get install haveged&lt;br /&gt;
&lt;br /&gt;
6 start ap  &lt;br /&gt;
  #sudo su&lt;br /&gt;
  #echo 2 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  #hostapd -B /etc/hostapd/hostapd.conf &lt;br /&gt;
  #ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
  #service dnsmasq start &lt;br /&gt;
  #echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
  #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
  #/etc/init.d/haveged start&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock2/wireless</id>
		<title>Rock2/wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock2/wireless"/>
				<updated>2015-07-09T12:38:30Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock2_header}}&lt;br /&gt;
1 change user to root&lt;br /&gt;
  sudo su&lt;br /&gt;
&lt;br /&gt;
2 install and config hostapd&lt;br /&gt;
  #apt-get install hostapd&lt;br /&gt;
  #vim.tiny /etc/hostapd/hostapd.conf&lt;br /&gt;
  interface=wlan0&lt;br /&gt;
  ctrl_interface=/var/run/hostapd&lt;br /&gt;
  ssid=squareAP&lt;br /&gt;
  channel=6&lt;br /&gt;
  wpa=2&lt;br /&gt;
  wpa_passphrase=12345678&lt;br /&gt;
  #bridge=br0&lt;br /&gt;
&lt;br /&gt;
3 install and config dnsmasq&lt;br /&gt;
  #apt-get install dnsmasq&lt;br /&gt;
  #vim.tiny /etc/dnsmasq.conf &lt;br /&gt;
  interface=wlan0 &lt;br /&gt;
  bind-interfaces &lt;br /&gt;
  except-interface=lo &lt;br /&gt;
  dhcp-range=192.168.2.150,192.168.2.254,12h #configure the range of available ip&lt;br /&gt;
  dhcp-option=3,192.168.2.1 #configure the server&lt;br /&gt;
&lt;br /&gt;
4 edit /etc/network/interfaces&lt;br /&gt;
  #vim.tiny /etc/network/interfaces&lt;br /&gt;
  # interfaces(5) file used by ifup(8) and ifdown(8)&lt;br /&gt;
  auto wlan0&lt;br /&gt;
  iface wlan0 inet static&lt;br /&gt;
  address 192.168.2.1&lt;br /&gt;
  netmask 255.255.255.0&lt;br /&gt;
 &lt;br /&gt;
5 install haveged&lt;br /&gt;
  #apt-get install haveged&lt;br /&gt;
&lt;br /&gt;
6 start ap  &lt;br /&gt;
  #sudo su&lt;br /&gt;
  #echo 2 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  #hostapd -B /etc/hostapd/hostapd.conf &lt;br /&gt;
  #ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
  #service dnsmasq start &lt;br /&gt;
  #echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
  #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
  #/etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
7 change from AP mode to normal mode&lt;br /&gt;
  #sudo su&lt;br /&gt;
  #echo 0 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  #reboot&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock2/wireless</id>
		<title>Rock2/wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock2/wireless"/>
				<updated>2015-07-09T10:05:52Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock2_header}}&lt;br /&gt;
1 change user to root&lt;br /&gt;
  sudo su&lt;br /&gt;
&lt;br /&gt;
2 install and config hostapd&lt;br /&gt;
  #apt-get install hostapd&lt;br /&gt;
  #vim.tiny /etc/hostapd/hostapd.conf&lt;br /&gt;
  interface=wlan0&lt;br /&gt;
  ctrl_interface=/var/run/hostapd&lt;br /&gt;
  ssid=squareAP&lt;br /&gt;
  channel=6&lt;br /&gt;
  wpa=2&lt;br /&gt;
  wpa_passphrase=12345678&lt;br /&gt;
  #bridge=br0&lt;br /&gt;
&lt;br /&gt;
3 install and config dnsmasq&lt;br /&gt;
  #apt-get install dnsmasq&lt;br /&gt;
  #vim.tiny /etc/dnsmasq.conf &lt;br /&gt;
  interface=wlan0 &lt;br /&gt;
  bind-interfaces &lt;br /&gt;
  except-interface=lo &lt;br /&gt;
  dhcp-range=192.168.2.150,192.168.2.254,12h #configure the range of available ip&lt;br /&gt;
  dhcp-option=3,192.168.2.1 #configure the server&lt;br /&gt;
&lt;br /&gt;
4 edit /etc/network/interfaces&lt;br /&gt;
  #vim.tiny /etc/network/interfaces&lt;br /&gt;
  # interfaces(5) file used by ifup(8) and ifdown(8)&lt;br /&gt;
  auto wlan0&lt;br /&gt;
  iface wlan0 inet static&lt;br /&gt;
  address 192.168.2.1&lt;br /&gt;
  netmask 255.255.255.0&lt;br /&gt;
 &lt;br /&gt;
5 install haveged&lt;br /&gt;
  #apt-get install haveged&lt;br /&gt;
&lt;br /&gt;
6 start ap  &lt;br /&gt;
  #sudo su&lt;br /&gt;
  #echo 2 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  #hostapd -B /etc/hostapd/hostapd.conf &lt;br /&gt;
  #ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
  #service dnsmasq start &lt;br /&gt;
  #echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
  #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
  #/etc/init.d/haveged start&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock2/wireless</id>
		<title>Rock2/wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock2/wireless"/>
				<updated>2015-07-09T10:04:07Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock2_header}}&lt;br /&gt;
1 change user to root&lt;br /&gt;
  sudo su&lt;br /&gt;
&lt;br /&gt;
2 install and config hostapd&lt;br /&gt;
  #apt-get install hostapd&lt;br /&gt;
  #vim.tiny /etc/hostapd/hostapd.conf&lt;br /&gt;
  interface=wlan0&lt;br /&gt;
  ctrl_interface=/var/run/hostapd&lt;br /&gt;
  ssid=squareAP&lt;br /&gt;
  channel=6&lt;br /&gt;
  wpa=2&lt;br /&gt;
  wpa_passphrase=12345678&lt;br /&gt;
  #bridge=br0&lt;br /&gt;
&lt;br /&gt;
3 install and config dnsmasq&lt;br /&gt;
  #apt-get install dnsmasq&lt;br /&gt;
  #vim.tiny /etc/dnsmasq.conf &lt;br /&gt;
  interface=wlan0 &lt;br /&gt;
  bind-interfaces &lt;br /&gt;
  except-interface=lo &lt;br /&gt;
  dhcp-range=192.168.2.150,192.168.2.254,12h #configure the range of available ip&lt;br /&gt;
  dhcp-option=3,192.168.2.1 #configure the server&lt;br /&gt;
&lt;br /&gt;
4 edit /etc/network/interfaces&lt;br /&gt;
  #vim.tiny /etc/network/interfaces&lt;br /&gt;
  # interfaces(5) file used by ifup(8) and ifdown(8)&lt;br /&gt;
  auto wlan0&lt;br /&gt;
  iface wlan0 inet static&lt;br /&gt;
  address 192.168.2.1&lt;br /&gt;
  netmask 255.255.255.0&lt;br /&gt;
 &lt;br /&gt;
5 install haveged&lt;br /&gt;
  #apt-get install haveged&lt;br /&gt;
&lt;br /&gt;
6 start ap  &lt;br /&gt;
  #echo 2 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  #hostapd -B /etc/hostapd/hostapd.conf &lt;br /&gt;
  #ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
  #service dnsmasq start &lt;br /&gt;
  #echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
  #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
  #/etc/init.d/haveged start&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/linein</id>
		<title>Rock/linein</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/linein"/>
				<updated>2015-06-04T02:05:48Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: rock pro/lite line in&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
&lt;br /&gt;
There are Line In from the extension header on rock pro. The latest Rabian has enabled Line in.&lt;br /&gt;
&lt;br /&gt;
1 Tested module&lt;br /&gt;
    http://detail.tmall.com/item.htm?spm=a1z10.3-b.w4011-3079905380.27.SocVjO&amp;amp;id=42576261888&amp;amp;rn=b482a0f48f9bab9ef1f5e1ffb433daed&amp;amp;abbucket=7#&lt;br /&gt;
    Module power supply pins VCC GND  connect to pro/lite extend port J8  pins 2 1.&lt;br /&gt;
    Module audio out pin OUT connect to  pro/lite extend port J8  pins 5/6.&lt;br /&gt;
&lt;br /&gt;
2 Select capture from mic / line in &lt;br /&gt;
    echo 1 &amp;gt; /tmp/rk1000_input_sel    #RK1000 capture from mic&lt;br /&gt;
    echo 2 &amp;gt; /tmp/rk1000_input_sel    #RK1000 capture from line in&lt;br /&gt;
&lt;br /&gt;
3 test cmd&lt;br /&gt;
    capture:&lt;br /&gt;
    arecord -D 'default' -V stereo -c 2 -f dat -d 100 out.wav    #100 capture duration&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/linein</id>
		<title>Rock/linein</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/linein"/>
				<updated>2015-06-01T07:44:34Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: rock pro/lite line in&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1 Tested module&lt;br /&gt;
    http://detail.tmall.com/item.htm?spm=a1z10.3-b.w4011-3079905380.27.SocVjO&amp;amp;id=42576261888&amp;amp;rn=b482a0f48f9bab9ef1f5e1ffb433daed&amp;amp;abbucket=7#&lt;br /&gt;
    Module power supply pins VCC GND  connect to pro/lite extend port J8  pins 2 1.&lt;br /&gt;
    Module audio out pin OUT connect to  pro/lite extend port J8  pins 5/6.&lt;br /&gt;
&lt;br /&gt;
2 Select capture from mic / line in &lt;br /&gt;
    echo 1 &amp;gt; /tmp/rk1000_input_sel    #RK1000 capture from mic&lt;br /&gt;
    echo 2 &amp;gt; /tmp/rk1000_input_sel    #RK1000 capture from line in&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/linein</id>
		<title>Rock/linein</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/linein"/>
				<updated>2015-06-01T07:34:24Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: rock pro/lite line in&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1 Line in signal connect&lt;br /&gt;
    Line in signal can connect to rock pro/lite extend port J8  PIN  5/6.  &lt;br /&gt;
&lt;br /&gt;
2 Select capture from mic / line in &lt;br /&gt;
    echo 1 &amp;gt; /tmp/rk1000_input_sel    #RK1000 capture from mic&lt;br /&gt;
    echo 2 &amp;gt; /tmp/rk1000_input_sel    #RK1000 capture from line in&lt;br /&gt;
&lt;br /&gt;
3 Tested module&lt;br /&gt;
    http://detail.tmall.com/item.htm?spm=a1z10.3-b.w4011-3079905380.27.SocVjO&amp;amp;id=42576261888&amp;amp;rn=b482a0f48f9bab9ef1f5e1ffb433daed&amp;amp;abbucket=7#&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock2/wireless</id>
		<title>Rock2/wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock2/wireless"/>
				<updated>2015-05-05T07:50:07Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1 change ap6335 mode and install driver&lt;br /&gt;
  echo 2 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  install ap6335 driver &lt;br /&gt;
  insmod wlan.ko  or echo 1 &amp;gt; /sys/class/rkwifi/driver&lt;br /&gt;
&lt;br /&gt;
2 install and config hostapd&lt;br /&gt;
  apt-get install hostapd&lt;br /&gt;
  edit /etc/hostapd/hostapd.conf&lt;br /&gt;
  interface=wlan0&lt;br /&gt;
  ctrl_interface=/var/run/hostapd&lt;br /&gt;
  ssid=squareAP&lt;br /&gt;
  channel=6&lt;br /&gt;
  wpa=2&lt;br /&gt;
  wpa_passphrase=12345678&lt;br /&gt;
  #bridge=br0&lt;br /&gt;
&lt;br /&gt;
3 install and config dnsmasq&lt;br /&gt;
  apt-get install dnsmasq&lt;br /&gt;
  edit /etc/dnsmasq.conf &lt;br /&gt;
  interface=wlan0 &lt;br /&gt;
  bind-interfaces &lt;br /&gt;
  except-interface=lo &lt;br /&gt;
  dhcp-range=192.168.2.150,192.168.2.254,12h #configure the range of available ip&lt;br /&gt;
  dhcp-option=3,192.168.2.1 #configure the server&lt;br /&gt;
&lt;br /&gt;
4 edit /etc/network/interfaces &lt;br /&gt;
  # interfaces(5) file used by ifup(8) and ifdown(8)&lt;br /&gt;
  auto wlan0&lt;br /&gt;
  iface wlan0 inet static&lt;br /&gt;
  address 192.168.2.1&lt;br /&gt;
  netmask 255.255.255.0&lt;br /&gt;
 &lt;br /&gt;
5 install haveged&lt;br /&gt;
  apt-get install haveged&lt;br /&gt;
&lt;br /&gt;
6 start ap  &lt;br /&gt;
  hostapd -B /etc/hostapd/hostapd.conf &lt;br /&gt;
  ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
  service dnsmasq start &lt;br /&gt;
  echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
  iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
  /etc/init.d/haveged start&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock2/wireless</id>
		<title>Rock2/wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock2/wireless"/>
				<updated>2015-05-05T07:47:42Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: Rock2 AP6335 AP mode&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1 change ap6335 mode and install driver&lt;br /&gt;
  echo 2 &amp;gt; /sys/module/bcmdhd/parameters/op_mode&lt;br /&gt;
  install ap6335 driver &lt;br /&gt;
  insmod wlan.ko  or echo 1 &amp;gt; /sys/class/rkwifi/driver&lt;br /&gt;
&lt;br /&gt;
2 install hostapd&lt;br /&gt;
  edit /etc/hostapd/hostapd.conf&lt;br /&gt;
  interface=wlan0&lt;br /&gt;
  ctrl_interface=/var/run/hostapd&lt;br /&gt;
  ssid=squareAP&lt;br /&gt;
  channel=6&lt;br /&gt;
  wpa=2&lt;br /&gt;
  wpa_passphrase=12345678&lt;br /&gt;
  #bridge=br0&lt;br /&gt;
&lt;br /&gt;
3 install and config dnsmasq&lt;br /&gt;
  apt-get install dnsmasq&lt;br /&gt;
  edit /etc/dnsmasq.conf &lt;br /&gt;
  interface=wlan0 &lt;br /&gt;
  bind-interfaces &lt;br /&gt;
  except-interface=lo &lt;br /&gt;
  dhcp-range=192.168.2.150,192.168.2.254,12h #configure the range of available ip&lt;br /&gt;
  dhcp-option=3,192.168.2.1 #configure the server&lt;br /&gt;
&lt;br /&gt;
4 edit /etc/network/interfaces &lt;br /&gt;
  # interfaces(5) file used by ifup(8) and ifdown(8)&lt;br /&gt;
  auto wlan0&lt;br /&gt;
  iface wlan0 inet static&lt;br /&gt;
  address 192.168.2.1&lt;br /&gt;
  netmask 255.255.255.0&lt;br /&gt;
 &lt;br /&gt;
5 install haveged&lt;br /&gt;
  apt-get install haveged&lt;br /&gt;
&lt;br /&gt;
6 start ap  &lt;br /&gt;
  hostapd -B /etc/hostapd/hostapd.conf &lt;br /&gt;
  ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
  service dnsmasq start &lt;br /&gt;
  echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
  iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
  /etc/init.d/haveged start&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/U-Boot</id>
		<title>Rock/U-Boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/U-Boot"/>
				<updated>2015-01-19T03:47:36Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* Flash */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/U-Boot}}&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* both Rockchip proprietary USB protocol and fastboot USB protocol are supported (Rockchip USB tools works)&lt;br /&gt;
* format of partitions (images) are compatible to Rockchip proprietary bootloader (rkcrc, mkbootimg works)&lt;br /&gt;
* (need more investigation...)&lt;br /&gt;
&lt;br /&gt;
== For NAND flash ==&lt;br /&gt;
&lt;br /&gt;
=== Build ===&lt;br /&gt;
Refer [[Rock/install_toolchain | install toolchain]] if you don't have arm-eabi-  on your system. Other toolchain(Linaro arm-linux-gnueabihf-gcc 4.9) may cause data abort errors.&lt;br /&gt;
 git clone -b u-boot-rk3188 https://github.com/radxa/u-boot-rockchip.git&lt;br /&gt;
 cd u-boot-rockchip&lt;br /&gt;
 make rk30xx&lt;br /&gt;
&lt;br /&gt;
The binary we need for nand flash are '''RK3188Loader_miniall.bin''' and '''uboot.img'''.&lt;br /&gt;
&lt;br /&gt;
=== Flash ===&lt;br /&gt;
refer [[rock/flash_the_image| flash image page]]&lt;br /&gt;
&lt;br /&gt;
use the new u-boot to erase the old loader&lt;br /&gt;
    sudo upgrade_tool ef RK3188Loader_miniall.bin&lt;br /&gt;
&lt;br /&gt;
flash new loader&lt;br /&gt;
    sudo upgrade_tool ul RK3188Loader_miniall.bin&lt;br /&gt;
&lt;br /&gt;
format NAND (first time only)&lt;br /&gt;
    sudo upgrade_tool lf&lt;br /&gt;
&lt;br /&gt;
flash parameter&lt;br /&gt;
    upgrade_tool di -p parameter&lt;br /&gt;
&lt;br /&gt;
paramter file &lt;br /&gt;
    FIRMWARE_VER:4.2.2&lt;br /&gt;
    MACHINE_MODEL:radxa_rock&lt;br /&gt;
    MACHINE_ID:007&lt;br /&gt;
    MANUFACTURER:RADXA&lt;br /&gt;
    MAGIC: 0x5041524B&lt;br /&gt;
    ATAG: 0x60000800&lt;br /&gt;
    MACHINE: 3066&lt;br /&gt;
    CHECK_MASK: 0x80&lt;br /&gt;
    KERNEL_IMG: 0x60408000&lt;br /&gt;
    CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init mac_addr=de:ad:de:ad:be:ef initrd=0x62000000,0x00800000  mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00008000@0x00004000(boot),-@0x000c0000(linuxroot)&lt;br /&gt;
&lt;br /&gt;
flash U-Boot&lt;br /&gt;
    sudo upgrade_tool wl 0x2000 uboot.img&lt;br /&gt;
    sudo upgrade_tool rd&lt;br /&gt;
&lt;br /&gt;
flash kernel + ramdisk&lt;br /&gt;
    upgrade_tool di -b boot-linux.img&lt;br /&gt;
&lt;br /&gt;
flash root fs&lt;br /&gt;
    upgrade_tool di linuxroot rootfs.img&lt;br /&gt;
&lt;br /&gt;
Booting log can be found at: http://paste.ubuntu.com/9623598/&lt;br /&gt;
&lt;br /&gt;
== For SD card ==&lt;br /&gt;
=== Build ===&lt;br /&gt;
Refer [[Rock/install_toolchain | install toolchain]] if you don't have arm-eabi-  on your system. Other toolchain(Linaro arm-linux-gnueabihf-gcc 4.9) may cause data abort errors.&lt;br /&gt;
 git clone -b u-boot-rk3188-sdcard https://github.com/radxa/u-boot-rockchip.git&lt;br /&gt;
 cd u-boot-rockchip&lt;br /&gt;
 make rk30xx&lt;br /&gt;
 ./pack-sd.sh&lt;br /&gt;
&lt;br /&gt;
The binary we need for sdcard is '''u-boot-sd.img'''.&lt;br /&gt;
&lt;br /&gt;
=== Flash ===&lt;br /&gt;
&lt;br /&gt;
 sudo dd if=u-boot-sd.img of=/dev/sdx seek=64&lt;br /&gt;
&lt;br /&gt;
Insert the uSD card to rock pro, it will boot from u-boot on uSD card.&lt;br /&gt;
&lt;br /&gt;
== Develop ==&lt;br /&gt;
&lt;br /&gt;
Some important files and directories related to the Rockchip platform:&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/UserManual '''UserManual'''] - documentation&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/include/configs/rk30xx.h '''include/configs/rk30xx.h'''] - configuration file&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/tools/rk_tools '''tools/rk_tools''']&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip '''board/rockchip''']&lt;br /&gt;
     ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common '''common''']&lt;br /&gt;
     │   ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/armlinux '''armlinux''']&lt;br /&gt;
     │   ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/common '''common''']&lt;br /&gt;
     │   │   ├── A8MMU&lt;br /&gt;
     │   │   ├── crc&lt;br /&gt;
     │   │   ├── emmc&lt;br /&gt;
     │   │   ├── fat&lt;br /&gt;
     │   │   ├── rc4&lt;br /&gt;
     │   │   ├── rockusb&lt;br /&gt;
     │   │   ├── serial_p9&lt;br /&gt;
     │   │   └── SPI&lt;br /&gt;
     │   └── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/platform '''platform''']&lt;br /&gt;
     │       ├── rk2928&lt;br /&gt;
     │       └── rk30&lt;br /&gt;
     └── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/rk30xx '''rk30xx''']&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/arch/arm/cpu/armv7/rk30xx '''arch/arm/cpu/armv7/rk30xx''']&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/arch/arm/include/asm/arch-rk30xx/ '''arch/arm/include/asm/arch-rk30xx''']&lt;br /&gt;
&lt;br /&gt;
== Unbrick ==&lt;br /&gt;
&lt;br /&gt;
If something goes wrong and your device doesn't boot anymore, read [[rock/unbrick | Unbrick Rock]].&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* http://androtab.info/rockchip/u-boot/ (working binaries)&lt;br /&gt;
* https://github.com/linux-rockchip/u-boot-rockchip (some improvement)&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/U-Boot</id>
		<title>Rock/U-Boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/U-Boot"/>
				<updated>2015-01-19T02:33:06Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* Flash */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/U-Boot}}&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* both Rockchip proprietary USB protocol and fastboot USB protocol are supported (Rockchip USB tools works)&lt;br /&gt;
* format of partitions (images) are compatible to Rockchip proprietary bootloader (rkcrc, mkbootimg works)&lt;br /&gt;
* (need more investigation...)&lt;br /&gt;
&lt;br /&gt;
== For NAND flash ==&lt;br /&gt;
&lt;br /&gt;
=== Build ===&lt;br /&gt;
Refer [[Rock/install_toolchain | install toolchain]] if you don't have arm-eabi-  on your system. Other toolchain(Linaro arm-linux-gnueabihf-gcc 4.9) may cause data abort errors.&lt;br /&gt;
 git clone -b u-boot-rk3188 https://github.com/radxa/u-boot-rockchip.git&lt;br /&gt;
 cd u-boot-rockchip&lt;br /&gt;
 make rk30xx&lt;br /&gt;
&lt;br /&gt;
The binary we need for nand flash are '''RK3188Loader_miniall.bin''' and '''uboot.img'''.&lt;br /&gt;
&lt;br /&gt;
=== Flash ===&lt;br /&gt;
refer [[rock/flash_the_image| flash image page]]&lt;br /&gt;
&lt;br /&gt;
use the new u-boot to erase the old loader&lt;br /&gt;
    sudo upgrade_tool ef RK3188Loader_miniall.bin&lt;br /&gt;
&lt;br /&gt;
flash new loader&lt;br /&gt;
    sudo upgrade_tool ul RK3188Loader_miniall.bin&lt;br /&gt;
&lt;br /&gt;
format NAND (first time only)&lt;br /&gt;
    sudo upgrade_tool lf&lt;br /&gt;
&lt;br /&gt;
flash parameter&lt;br /&gt;
    upgrade_tool di -p parameter&lt;br /&gt;
&lt;br /&gt;
paramter file &lt;br /&gt;
    FIRMWARE_VER:4.2.2&lt;br /&gt;
    MACHINE_MODEL:radxa_rock&lt;br /&gt;
    MACHINE_ID:007&lt;br /&gt;
    MANUFACTURER:RADXA&lt;br /&gt;
    MAGIC: 0x5041524B&lt;br /&gt;
    ATAG: 0x60000800&lt;br /&gt;
    MACHINE: 3066&lt;br /&gt;
    CHECK_MASK: 0x80&lt;br /&gt;
    KERNEL_IMG: 0x60408000&lt;br /&gt;
    CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init mac_addr=de:ad:de:ad:be:ef initrd=0x62000000,0x00800000  mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00008000@0x00004000(boot),-@0x000c0000(linuxroot)&lt;br /&gt;
&lt;br /&gt;
flash U-Boot&lt;br /&gt;
    sudo upgrade_tool wl 0x2000 uboot.img&lt;br /&gt;
    sudo upgrade_tool rd&lt;br /&gt;
&lt;br /&gt;
flash kernel&lt;br /&gt;
    upgrade_tool di -b boot-linux.img&lt;br /&gt;
&lt;br /&gt;
flash root fs&lt;br /&gt;
    upgrade_tool di linuxroot rootfs.img&lt;br /&gt;
&lt;br /&gt;
Booting log can be found at: http://paste.ubuntu.com/9623598/&lt;br /&gt;
&lt;br /&gt;
== For SD card ==&lt;br /&gt;
=== Build ===&lt;br /&gt;
Refer [[Rock/install_toolchain | install toolchain]] if you don't have arm-eabi-  on your system. Other toolchain(Linaro arm-linux-gnueabihf-gcc 4.9) may cause data abort errors.&lt;br /&gt;
 git clone -b u-boot-rk3188-sdcard https://github.com/radxa/u-boot-rockchip.git&lt;br /&gt;
 cd u-boot-rockchip&lt;br /&gt;
 make rk30xx&lt;br /&gt;
 ./pack-sd.sh&lt;br /&gt;
&lt;br /&gt;
The binary we need for sdcard is '''u-boot-sd.img'''.&lt;br /&gt;
&lt;br /&gt;
=== Flash ===&lt;br /&gt;
&lt;br /&gt;
 sudo dd if=u-boot-sd.img of=/dev/sdx seek=64&lt;br /&gt;
&lt;br /&gt;
Insert the uSD card to rock pro, it will boot from u-boot on uSD card.&lt;br /&gt;
&lt;br /&gt;
== Develop ==&lt;br /&gt;
&lt;br /&gt;
Some important files and directories related to the Rockchip platform:&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/UserManual '''UserManual'''] - documentation&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/include/configs/rk30xx.h '''include/configs/rk30xx.h'''] - configuration file&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/tools/rk_tools '''tools/rk_tools''']&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip '''board/rockchip''']&lt;br /&gt;
     ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common '''common''']&lt;br /&gt;
     │   ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/armlinux '''armlinux''']&lt;br /&gt;
     │   ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/common '''common''']&lt;br /&gt;
     │   │   ├── A8MMU&lt;br /&gt;
     │   │   ├── crc&lt;br /&gt;
     │   │   ├── emmc&lt;br /&gt;
     │   │   ├── fat&lt;br /&gt;
     │   │   ├── rc4&lt;br /&gt;
     │   │   ├── rockusb&lt;br /&gt;
     │   │   ├── serial_p9&lt;br /&gt;
     │   │   └── SPI&lt;br /&gt;
     │   └── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/platform '''platform''']&lt;br /&gt;
     │       ├── rk2928&lt;br /&gt;
     │       └── rk30&lt;br /&gt;
     └── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/rk30xx '''rk30xx''']&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/arch/arm/cpu/armv7/rk30xx '''arch/arm/cpu/armv7/rk30xx''']&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/arch/arm/include/asm/arch-rk30xx/ '''arch/arm/include/asm/arch-rk30xx''']&lt;br /&gt;
&lt;br /&gt;
== Unbrick ==&lt;br /&gt;
&lt;br /&gt;
If something goes wrong and your device doesn't boot anymore, read [[rock/unbrick | Unbrick Rock]].&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* http://androtab.info/rockchip/u-boot/ (working binaries)&lt;br /&gt;
* https://github.com/linux-rockchip/u-boot-rockchip (some improvement)&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/U-Boot</id>
		<title>Rock/U-Boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/U-Boot"/>
				<updated>2015-01-19T02:04:44Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* Flash */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/U-Boot}}&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* both Rockchip proprietary USB protocol and fastboot USB protocol are supported (Rockchip USB tools works)&lt;br /&gt;
* format of partitions (images) are compatible to Rockchip proprietary bootloader (rkcrc, mkbootimg works)&lt;br /&gt;
* (need more investigation...)&lt;br /&gt;
&lt;br /&gt;
== For NAND flash ==&lt;br /&gt;
&lt;br /&gt;
=== Build ===&lt;br /&gt;
Refer [[Rock/install_toolchain | install toolchain]] if you don't have arm-eabi-  on your system. Other toolchain(Linaro arm-linux-gnueabihf-gcc 4.9) may cause data abort errors.&lt;br /&gt;
 git clone -b u-boot-rk3188 https://github.com/radxa/u-boot-rockchip.git&lt;br /&gt;
 cd u-boot-rockchip&lt;br /&gt;
 make rk30xx&lt;br /&gt;
&lt;br /&gt;
The binary we need for nand flash are '''RK3188Loader_miniall.bin''' and '''uboot.img'''.&lt;br /&gt;
&lt;br /&gt;
=== Flash ===&lt;br /&gt;
refer [[rock/flash_the_image| flash image page]]&lt;br /&gt;
&lt;br /&gt;
use the new u-boot to erase the old loader&lt;br /&gt;
    sudo upgrade_tool ef RK3188Loader_miniall.bin&lt;br /&gt;
&lt;br /&gt;
flash new loader&lt;br /&gt;
    sudo upgrade_tool ul RK3188Loader_miniall.bin&lt;br /&gt;
&lt;br /&gt;
format NAND (first time only)&lt;br /&gt;
    sudo upgrade_tool lf&lt;br /&gt;
&lt;br /&gt;
flash parameter&lt;br /&gt;
    upgrade_tool di -p parameter&lt;br /&gt;
&lt;br /&gt;
paramter file &lt;br /&gt;
    FIRMWARE_VER:4.2.2&lt;br /&gt;
    MACHINE_MODEL:radxa_rock&lt;br /&gt;
    MACHINE_ID:007&lt;br /&gt;
    MANUFACTURER:RADXA&lt;br /&gt;
    MAGIC: 0x5041524B&lt;br /&gt;
    ATAG: 0x60000800&lt;br /&gt;
    MACHINE: 3066&lt;br /&gt;
    CHECK_MASK: 0x80&lt;br /&gt;
    KERNEL_IMG: 0x60408000&lt;br /&gt;
    CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init mac_addr=de:ad:de:ad:be:ef initrd=0x62000000,0x00800000      mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00008000@0x00004000(boot),-@0x000c0000(linuxroot)&lt;br /&gt;
&lt;br /&gt;
flash U-Boot&lt;br /&gt;
    sudo upgrade_tool wl 0x2000 uboot.img&lt;br /&gt;
    sudo upgrade_tool rd&lt;br /&gt;
&lt;br /&gt;
flash kernel&lt;br /&gt;
    upgrade_tool di -b boot-linux.img&lt;br /&gt;
&lt;br /&gt;
flash root fs&lt;br /&gt;
    upgrade_tool di linuxroot rootfs.img&lt;br /&gt;
&lt;br /&gt;
Booting log can be found at: http://paste.ubuntu.com/9623598/&lt;br /&gt;
&lt;br /&gt;
== For SD card ==&lt;br /&gt;
=== Build ===&lt;br /&gt;
Refer [[Rock/install_toolchain | install toolchain]] if you don't have arm-eabi-  on your system. Other toolchain(Linaro arm-linux-gnueabihf-gcc 4.9) may cause data abort errors.&lt;br /&gt;
 git clone -b u-boot-rk3188-sdcard https://github.com/radxa/u-boot-rockchip.git&lt;br /&gt;
 cd u-boot-rockchip&lt;br /&gt;
 make rk30xx&lt;br /&gt;
 ./pack-sd.sh&lt;br /&gt;
&lt;br /&gt;
The binary we need for sdcard is '''u-boot-sd.img'''.&lt;br /&gt;
&lt;br /&gt;
=== Flash ===&lt;br /&gt;
&lt;br /&gt;
 sudo dd if=u-boot-sd.img of=/dev/sdx seek=64&lt;br /&gt;
&lt;br /&gt;
Insert the uSD card to rock pro, it will boot from u-boot on uSD card.&lt;br /&gt;
&lt;br /&gt;
== Develop ==&lt;br /&gt;
&lt;br /&gt;
Some important files and directories related to the Rockchip platform:&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/UserManual '''UserManual'''] - documentation&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/include/configs/rk30xx.h '''include/configs/rk30xx.h'''] - configuration file&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/tools/rk_tools '''tools/rk_tools''']&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip '''board/rockchip''']&lt;br /&gt;
     ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common '''common''']&lt;br /&gt;
     │   ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/armlinux '''armlinux''']&lt;br /&gt;
     │   ├── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/common '''common''']&lt;br /&gt;
     │   │   ├── A8MMU&lt;br /&gt;
     │   │   ├── crc&lt;br /&gt;
     │   │   ├── emmc&lt;br /&gt;
     │   │   ├── fat&lt;br /&gt;
     │   │   ├── rc4&lt;br /&gt;
     │   │   ├── rockusb&lt;br /&gt;
     │   │   ├── serial_p9&lt;br /&gt;
     │   │   └── SPI&lt;br /&gt;
     │   └── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/common/platform '''platform''']&lt;br /&gt;
     │       ├── rk2928&lt;br /&gt;
     │       └── rk30&lt;br /&gt;
     └── [https://github.com/radxa/u-boot-rockchip/tree/master/board/rockchip/rk30xx '''rk30xx''']&lt;br /&gt;
&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/tree/master/arch/arm/cpu/armv7/rk30xx '''arch/arm/cpu/armv7/rk30xx''']&lt;br /&gt;
  * [https://github.com/radxa/u-boot-rockchip/blob/master/arch/arm/include/asm/arch-rk30xx/ '''arch/arm/include/asm/arch-rk30xx''']&lt;br /&gt;
&lt;br /&gt;
== Unbrick ==&lt;br /&gt;
&lt;br /&gt;
If something goes wrong and your device doesn't boot anymore, read [[rock/unbrick | Unbrick Rock]].&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* http://androtab.info/rockchip/u-boot/ (working binaries)&lt;br /&gt;
* https://github.com/linux-rockchip/u-boot-rockchip (some improvement)&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/pilight</id>
		<title>Rock/pilight</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/pilight"/>
				<updated>2014-12-26T11:41:54Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;pilight is a free open source full fledge domotica solution that runs on a Raspberry Pi, HummingBoard, BananaPi, Radxa, but also on *BSD and various linuxes (tested on Arch, Ubuntu and Debian). It's open source and freely available for anyone. pilight works with a great deal of devices and is frequency independent. Therefor, it can control devices working at 315Mhz, 433Mhz, 868Mhz etc. &lt;br /&gt;
   &lt;br /&gt;
Pilight website: http: //pilight.org/&lt;br /&gt;
Patch and config file: http://dl.radxa.com/users/jack/pilight/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run Pilight on Radxa rock pro:&lt;br /&gt;
&lt;br /&gt;
1 Download Pilight code&lt;br /&gt;
&lt;br /&gt;
    git clone -b development https://github.com/pilight/pilight.git&lt;br /&gt;
&lt;br /&gt;
2 Apply patch&lt;br /&gt;
&lt;br /&gt;
    git apply 0001-Modify-for-radxa-rock-pro.patch&lt;br /&gt;
&lt;br /&gt;
3 Installation Tools&lt;br /&gt;
&lt;br /&gt;
    apt-get install cmake&lt;br /&gt;
    apt-get install libunwind8-dev&lt;br /&gt;
&lt;br /&gt;
4 Compiled code&lt;br /&gt;
    ./setup.sh&lt;br /&gt;
&lt;br /&gt;
5 Add config file, need to modify configuration file for your device&lt;br /&gt;
    cp config.json /etc/pilight/&lt;br /&gt;
&lt;br /&gt;
6 Run Pilight&lt;br /&gt;
    pilight-daemon&lt;br /&gt;
&lt;br /&gt;
7 Phone / PC Login Pilight web server for remote control&lt;br /&gt;
&lt;br /&gt;
[[File:Pilight_web_server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next time, we will update&lt;br /&gt;
how to use the Rock + Pilight control 433 MHz wireless devices.&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock</id>
		<title>Rock</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock"/>
				<updated>2014-12-26T11:40:20Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|rock}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-8 mwbs-color-darker&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;thumbnail &amp;quot;&amp;gt;http://wiki.radxa.com/mw/images/3/36/Rock.jpg&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3&amp;gt;Radxa Rock(Pro/Lite)&amp;lt;/h3&amp;gt;&lt;br /&gt;
        &amp;lt;p class=&amp;quot;text-justify&amp;quot;&amp;gt;Radxa Rock is a RK3188 based SBC(Single Board Computer) by [[Special:SpecialContact| Radxa]]. It has a quad core ARM processor, can run android or some Linux distributions. It also features 80 pin 2.54mm headers, which makes it easy to connect other sensors or use the GPIO.&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-9&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt; &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hand-o-up&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Getting started&amp;lt;/h3&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
The Radxa Rock is shipped with Android 4.2.2 (Jelly Bean) and Ubuntu/Linaro 13.09 dual boot on the NAND flash (on-board storage) and it works out of the box(Rock Pro is shipped with Android 4.4.2(Kitkat) on NAND flash). Let's read [[rock/Getting Started|Radxa Rock Getting Started Guide]] and hook everything up and start playing with the board.&lt;br /&gt;
&lt;br /&gt;
Once you get started, you can [[Rock/flash_the_image|flash]] latest [[Rock/prebuilt_images|Android image and several Linux images]], or you can try to [[Rock/SD_images|boot Android/Linux from SD card]]. You can also [[Rock/Android_Build|build your own Android]], [[Rock/Booting_Linux|build your own kernel]], [[Rock/ubuntu|build your own Ubuntu root file system]], or whatever you want.&lt;br /&gt;
&lt;br /&gt;
'''FAQs'''&lt;br /&gt;
&lt;br /&gt;
Before you ask any questions about the Radxa Rock check if your question has already been asked and answered [[rock/FAQ|Radxa Rock FAQ]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-3 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-download&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Download&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
Visit the '''[[rock/download| download]]''' page to get the download link and description of the source code, tools, images etc&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-users&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Community&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Users'''&lt;br /&gt;
&lt;br /&gt;
* [http://talk.radxa.com/ Radxa Talk]&lt;br /&gt;
* [https://plus.google.com/communities/114007636590240429960 Radxa Google Plus community]&lt;br /&gt;
* [https://www.facebook.com/groups/218416868348521/ Facebook Group Page]&lt;br /&gt;
&lt;br /&gt;
'''Developers'''&lt;br /&gt;
&lt;br /&gt;
* [https://groups.google.com/forum/#!forum/radxa radxa google groups], send emails to radxa@googlegroups.com to subscribe &lt;br /&gt;
* &amp;lt;tt&amp;gt;#radxa&amp;lt;/tt&amp;gt; [http://en.wikipedia.org/wiki/Internet_Relay_Chat IRC] channel on [http://freenode.net/ Freenode]. Click to [http://webchat.freenode.net/?channels=radxa join #radxa on Freenode (WebChat mode)], or consult [http://irclog.whitequark.org/radxa/ IRC logs].     &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-linux&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Linux&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/Booting Linux | Build your own kernel and boot into Linux]]&lt;br /&gt;
* [[rock/Linux Mainline | Build Linux Mainline]]&lt;br /&gt;
* [[rock/ubuntu| Make Ubuntu image]]&lt;br /&gt;
* [[rock/audio | Audio on Rock]]&lt;br /&gt;
* [[rock/display | Display on Rock]]&lt;br /&gt;
* [[rock/LED| Using LEDs on Rock]]&lt;br /&gt;
* [[rock/vnc | Setting up VNC server on Rock]]&lt;br /&gt;
* [[rock/sd lubuntu | Boot Lubuntu from SD card]] '''OBSOLETE'''       &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-cog&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Common HowTos&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/flash the image | Flash the image to NAND]]&lt;br /&gt;
* [[rock/SD images | Flash the image to SD card]]&lt;br /&gt;
* [[rock/SD upgrading | Upgrade NAND from SD card]]&lt;br /&gt;
* [[rock/backup| Backing up]]&lt;br /&gt;
* [[rock/Serial debug tools Setting | Serial console debugging]]&lt;br /&gt;
* [[rock/unbrick | Unbrick Rock]]&lt;br /&gt;
* [[rock/resize linux rootfs |Resize linux rootfs ]]&lt;br /&gt;
* [[rock/ir| Using IR on Rock]]&lt;br /&gt;
* [[rock/usb| Using USB on Rock]]&lt;br /&gt;
* [[rock/Wireless | Using Wireless on Rock]]&lt;br /&gt;
* [[rock/Camera | Using Camera on Rock]]&lt;br /&gt;
* [[rock/Tp,Lvds,Camera | Using Lvds,Tp,Camera on Rock]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-check-circle&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Others&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/dual boot| Dual boot Android/Linux]]&lt;br /&gt;
* [[rock/FreeBSD| Boot FreeBSD]] &lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-gamepad&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Addons&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/cases | Cases]]&lt;br /&gt;
* [[rock/cables | Cables]]&lt;br /&gt;
* [[rock/shields | Extension boards]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hdd-o&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Hardware&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/specifications| Specifications]]&lt;br /&gt;
* [[rock/hardware revision | Hardware Revision]]&lt;br /&gt;
* [[rock/extension header | Extension Header]]&lt;br /&gt;
* [[rock/hardware docs | hardware documents]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-android&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Android&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/windows adb| ADB under Windows]]&lt;br /&gt;
* [[rock/linux adb| ADB under Linux]]&lt;br /&gt;
* [[rock/Android Build|Build Android image for RR]]&lt;br /&gt;
* [[rock/SD booting | Making bootable SD card]]&lt;br /&gt;
* [[rock/AP android |Make radxa as a WIFI_AP]]&lt;br /&gt;
* [[rock/Android backup | Backup your apps]]&lt;br /&gt;
* [[rock/Android dev tips | Some tips for android development]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-bold&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Bootloader&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/bootloader | Boot Loader]]&lt;br /&gt;
* [[rock/U-Boot | U-Boot]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-left&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;Projects&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [http://radxa.com/Rock/pilight Run Pilight on Radxa Rock for remote control]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/diy-nas-with-rk3188-device-radxa-rock.html DIY low power NAS (home file server) with Radxa Rock]&lt;br /&gt;
* [http://www.megaleecher.net/Network_Sharing_Radxa_Rock Network sharing on Radxa Rock]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/radxa-rock-communicating-with-i2c.html Hardware hacking: Communicating the Radxa with external I2C devices]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/bitbanging-radxa-rock-gpios.html Hardware hacking: Control Radxa Rock's expansion header GPIOs]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-right&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-primary-light-border&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;References&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Photos'''&lt;br /&gt;
&lt;br /&gt;
* [http://dl.radxa.com/rock/media/pic/hd/ Some high definition photos of the Radxa Rock engineering samples]&lt;br /&gt;
&lt;br /&gt;
'''External'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.cnx-software.com/2013/09/07/radxa-rock-development-boards-with-rockchip-rk3188-are-available-for-developers-now/ cnx-soft - radxa rock development boards with rockchips rk3188 are available for developers now]&lt;br /&gt;
* [http://linuxgizmos.com/open-sbc-runs-android-and-linux-on-quad-core-rockchip/ linuxgizmos - open sbc runs android and linux on quad core rockchip]&lt;br /&gt;
* [http://minipute.com/2013/09/12/new-radxa-rock-single-board-computer-runs-rockchip-rk3188-90/3246 minipute - new radxa rock single board computer runs rockchip rk3188]&lt;br /&gt;
* [http://omglaptop.com/desktops/radxa-rock-specs-price/ omglaptop - Radxa Rock Specs]&lt;br /&gt;
* [http://liliputing.com/2013/10/picuntu-4-5-installer-loads-ubuntu-onto-rockchip-rk3188-devices.html PicUntu 4.5 with a GUI installer for RK3188 based devices]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Rock]]&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/pilight</id>
		<title>Rock/pilight</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/pilight"/>
				<updated>2014-12-26T11:31:37Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: Created page with &amp;quot;pilight is a free open source full fledge domotica solution that runs on a Raspberry Pi, HummingBoard, BananaPi, Radxa, but also on *BSD and various linuxes (tested on Arch, U...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;pilight is a free open source full fledge domotica solution that runs on a Raspberry Pi, HummingBoard, BananaPi, Radxa, but also on *BSD and various linuxes (tested on Arch, Ubuntu and Debian). It's open source and freely available for anyone. pilight works with a great deal of devices and is frequency independent. Therefor, it can control devices working at 315Mhz, 433Mhz, 868Mhz etc. &lt;br /&gt;
   &lt;br /&gt;
Pilight website: http: //pilight.org/&lt;br /&gt;
Patch and config file: http://dl.radxa.com/users/jack/pilight/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run Pilight on Radxa rock pro:&lt;br /&gt;
&lt;br /&gt;
1 Download Pilight code&lt;br /&gt;
&lt;br /&gt;
    git clone -b development https://github.com/pilight/pilight.git&lt;br /&gt;
&lt;br /&gt;
2 Apply patch&lt;br /&gt;
&lt;br /&gt;
    git apply 0001-Modify-for-radxa-rock-pro.patch&lt;br /&gt;
&lt;br /&gt;
3 Installation Tools&lt;br /&gt;
&lt;br /&gt;
    apt-get install cmake&lt;br /&gt;
    apt-get install libunwind8-dev&lt;br /&gt;
&lt;br /&gt;
4 Compiled code&lt;br /&gt;
    ./setup.sh&lt;br /&gt;
&lt;br /&gt;
5 Add config file, need to modify configuration file for your device&lt;br /&gt;
    cp config.json /etc /pilight /&lt;br /&gt;
&lt;br /&gt;
6 Run Pilight&lt;br /&gt;
    pilight-daemon&lt;br /&gt;
&lt;br /&gt;
7 Phone / PC Login Pilight web server for remote control&lt;br /&gt;
&lt;br /&gt;
[[File:Pilight_web_server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next time, we will update&lt;br /&gt;
how to use the Rock + Pilight control 433 MHz wireless devices.&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/File:Pilight_web_server.png</id>
		<title>File:Pilight web server.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/File:Pilight_web_server.png"/>
				<updated>2014-12-26T10:25:53Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/display</id>
		<title>Rock/display</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/display"/>
				<updated>2014-12-20T03:59:54Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* Set full color depth */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|rock/display}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
The cpu of Radxa Rock - RK3188 has two LCD controllers, LCD0 and LCD1. On RR, LCD1 is connected to HDMI and LCD0 is connect to AV out and the LCD0 signal are also exported on the extension header.&lt;br /&gt;
&lt;br /&gt;
There is some sysfs interface exported to control the display related stuff. '''The following should work on both Android and Linux.'''&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
=== Set display scale ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    root@radxa:# export SCALE=/sys/class/graphics/fb0/scale&lt;br /&gt;
    #For the new Ubuntu 14.04 image, the path is changed to /sys/class/display/HDMI/scale, run&lt;br /&gt;
    root@radxa:# export SCALE=/sys/class/display/HDMI/scale&lt;br /&gt;
    root@radxa:# cat $SCALE&lt;br /&gt;
    xscale=95 yscale=95&lt;br /&gt;
    root@radxa:# echo 100 &amp;gt; $SCALE&lt;br /&gt;
    root@radxa:# cat $SCALE&lt;br /&gt;
    xscale=100 yscale=100&lt;br /&gt;
&lt;br /&gt;
You can also set different scales for X and Y:&lt;br /&gt;
&lt;br /&gt;
    root@radxa:# echo xscale=80 &amp;gt; $SCALE&lt;br /&gt;
    root@radxa:# echo yscale=100 &amp;gt; $SCALE&lt;br /&gt;
    root@radxa:# cat $SCALE&lt;br /&gt;
    xscale=80 yscale=100&lt;br /&gt;
&lt;br /&gt;
=== Set HDMI output mode ===&lt;br /&gt;
you can see supported output modes by the following commands:&lt;br /&gt;
    root@radxa:# cat /sys/class/display/display0.HDMI/modes&lt;br /&gt;
    #For the new Ubuntu 14.04 image, the path is changed to&lt;br /&gt;
    root@radxa:# cat /sys/class/display/HDMI/modes&lt;br /&gt;
    1920x1080p-60&lt;br /&gt;
    1920x1080p-50&lt;br /&gt;
    1280x720p-60&lt;br /&gt;
    1280x720p-50&lt;br /&gt;
    720x576p-50&lt;br /&gt;
    720x480p-60&lt;br /&gt;
check out the current display mode&lt;br /&gt;
    root@radxa:# cat /sys/class/display/display0.HDMI/mode&lt;br /&gt;
    #For the new Ubuntu 14.04 image, the path is changed to&lt;br /&gt;
    root@radxa:# cat /sys/class/display/HDMI/mode&lt;br /&gt;
    1280x720p-60&lt;br /&gt;
It's 720p@60hz&lt;br /&gt;
&lt;br /&gt;
change the mode to 1080p@60hz&lt;br /&gt;
    root@radxa:# echo 1920x1080p-60 &amp;gt; /sys/class/display/display0.HDMI/mode&lt;br /&gt;
    #For the new Ubuntu 14.04 image, the path is changed to&lt;br /&gt;
    root@radxa:# echo 1920x1080p-60 &amp;gt; /sys/class/display/HDMI/mode&lt;br /&gt;
&lt;br /&gt;
=== Set font size of X and console ===&lt;br /&gt;
Change DPI to increase the font size in X&lt;br /&gt;
 rock@radxa:~$ sudo nano ~/.Xresources&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
 ! Xft settings &lt;br /&gt;
 Xft.dpi: 120&lt;br /&gt;
 Xft.antialias: true&lt;br /&gt;
 Xft.rgba: rgb&lt;br /&gt;
 Xft.hinting: true&lt;br /&gt;
 Xft.hintstyle: hintslight&lt;br /&gt;
&lt;br /&gt;
Change the console settings:&lt;br /&gt;
 rock@radxa:~$ sudo dpkg-reconfigure console-setup&lt;br /&gt;
Go through the setup: hit enter, hit enter, choose the font and hit enter, hit enter, choose size and hit enter&lt;br /&gt;
&lt;br /&gt;
Switch to console via ctrl+alt+f1 and verify your settings:&lt;br /&gt;
 root@radxa:~# setupcon&lt;br /&gt;
Find the best solution by repeating the console-setup...&lt;br /&gt;
&lt;br /&gt;
=== Set full color depth ===&lt;br /&gt;
&lt;br /&gt;
To use full 24/32 bits color depth on the radxa rock linux image:&lt;br /&gt;
&lt;br /&gt;
 apt-get install fbset&lt;br /&gt;
&lt;br /&gt;
 cat &amp;lt;&amp;lt;eof&amp;gt;&amp;gt; /etc/init/fbset.conf&lt;br /&gt;
 # fbset - run fbset to set truecolor fbmode&lt;br /&gt;
 description &amp;quot;run fbset ASAP&amp;quot;&lt;br /&gt;
 start on startup and started udev or starting lightdm&lt;br /&gt;
 task&lt;br /&gt;
 script&lt;br /&gt;
     echo 0 &amp;gt; /sys/class/display/HDMI/enable&lt;br /&gt;
     [ -x /bin/fbset ] &amp;amp;&amp;amp; /bin/fbset -a -nonstd 1 -depth 32 -rgba &amp;quot;8/0,8/8,8/16,8/24&amp;quot;&lt;br /&gt;
     echo 1 &amp;gt; /sys/class/display/HDMI/enable&lt;br /&gt;
 end script&lt;br /&gt;
 eof&lt;br /&gt;
&lt;br /&gt;
 cat &amp;lt;&amp;lt;eof&amp;gt;&amp;gt; /etc/X11/xorg.conf&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
     Identifier &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
     DefaultDepth 24&lt;br /&gt;
 EndSection&lt;br /&gt;
 eof&lt;br /&gt;
&lt;br /&gt;
After rebooting you should ''not'' see green/purple screen. If you do, something went wrong. You can then use serial console or SSH from another machine and manually submit these commands:&lt;br /&gt;
&lt;br /&gt;
 service lightdm stop&lt;br /&gt;
 fbset -a -nonstd 1 -depth 32 -rgba 8/0,8/8,8/16,8/24&lt;br /&gt;
 service lightdm start&lt;br /&gt;
&lt;br /&gt;
To make this change permanent, timing is critical during bootup. fbset will need to be called before X / lightdm starts. In Linaro/Ubuntu an upstart script is needed - '''fbset.conf''' - see above. The condition &amp;quot;startup and started udev&amp;quot; will try to run fbset as early as possible. On my rk3188 this works reliably, but if you have issues, your best bet is to tinker with these &amp;quot;start on&amp;quot; conditions. Do not use '''/etc/rc.local''' for this - this script is run long ''after'' lightdm has been started by upstart.&lt;br /&gt;
&lt;br /&gt;
=== Set framebuffer resolution ===&lt;br /&gt;
&lt;br /&gt;
Set framebuffer resolution to 720 x 480 pixels&lt;br /&gt;
 service lightdm stop&lt;br /&gt;
 fbset -a -xres 720  -yres  480 -vxres 720  -vyres  480&lt;br /&gt;
 service lightdm start&lt;br /&gt;
&lt;br /&gt;
If you get a blank screen, try to reactivate the display&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/graphics/fb0/enable&lt;br /&gt;
&lt;br /&gt;
A few examples of other framebuffer resolution settings: 720x576, 1024x600, 1280x720, 1920x1080&lt;br /&gt;
 fbset -a -xres 720  -yres  576 -vxres 720  -vyres  576&lt;br /&gt;
 fbset -a -xres 1024 -yres  600 -vxres 1024 -vyres  600&lt;br /&gt;
 fbset -a -xres 1280 -yres  720 -vxres 1280 -vyres  720&lt;br /&gt;
 fbset -a -xres 1920 -yres 1080 -vxres 1920 -vyres 1080&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/flash_the_image</id>
		<title>Rock/flash the image</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/flash_the_image"/>
				<updated>2014-11-27T05:30:41Z</updated>
		
		<summary type="html">&lt;p&gt;Jack: /* Before you start */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|rock/flash_the_image}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This page describes how to install an image to the nand flash of Radxa Rock, ie, how to flash the board. You can choose to either flash the whole nand image (ie, [[rock/update.img |update.img]]) to the board or just flash the selected [[rock/partitions |partitions]]. You can download the [[rock/prebuilt images| prebuilt images]] from our [http://dl.radxa.com/rock/images/ server] or build your own images.&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
 &lt;br /&gt;
Keep in mind that:&lt;br /&gt;
    '''You can always flash the rock, it never bricks (as the name :)) unless some hardware damage occurs.'''&lt;br /&gt;
&lt;br /&gt;
What you will need to flash the board is:&lt;br /&gt;
* a Radxa Rock board (check [[Rock/hardware_revision | hardware revision]]. there are Pro and Full/Lite, firmware is different)&lt;br /&gt;
* a PC running Windows (XP 32/64bit, Windows 7 32/64 bit) or Linux (32/64bit)&lt;br /&gt;
* a micro USB cable with one side plugged in to the OTG port of Radxa Rock and the other side plugged into the USB port on PC.&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
The Windows tool for flashing the image is provided by Rockchip. To flash the [[rock/update.img| update.img]](you'd better click this link and read this page,it's very Important for the radxa beginner), you need to use the RKBatchTool and to flash the [[rock/partitions| partitions]], you will need to use RKDevelopTool. Both RKBatchTool and RKDevelopTool rely on the RK USB driver so you will need to install it first as below:&lt;br /&gt;
&lt;br /&gt;
=== Install driver ===&lt;br /&gt;
# install using RKDriverAssistant tools - the easy way(Just for winXp, Vista, Win7,not support Win8)&lt;br /&gt;
# install manually (WinXp,Vista,Win7,Win8)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
'''If you have already installed the USB driver please skip this step.'''&lt;br /&gt;
&lt;br /&gt;
====a. Install using RK Driver Assistant tools ====&lt;br /&gt;
Note:The method just support WinXp,Vista,Win7, NOT SUPPORT Win8&lt;br /&gt;
&lt;br /&gt;
There’s no need to connect your Rockchip device during this procedure just download and extract [http://dl.radxa.com/rock/tools/windows/RK_DriverAssitant.zip RKDriverAssistant.zip]&lt;br /&gt;
Then double click on DriverInstall.exe in the RKDriverAssistant directory to start the utility.&lt;br /&gt;
If you've previously tried to install the Rockchip USB  drivers for any Rockchip devices make sure you click “Uninstall Driver” first.&lt;br /&gt;
&lt;br /&gt;
[[File:RK_Driver_Assistant_Install_Uninstall.jpg]]&lt;br /&gt;
&lt;br /&gt;
Then click “Install Driver” and when the driver has finish installing then shut down radxa board and connect the Radxa Rock board to your computer and let the board go to [[Rock/Loader mode|loader mode]], then your computer will detect the board and you will see it within device manager.&lt;br /&gt;
&lt;br /&gt;
[[File:RK_Driver_Assistant_Install_Usb_driver.png]]&lt;br /&gt;
&lt;br /&gt;
Now the driver should have been installed successfully!&lt;br /&gt;
&lt;br /&gt;
====b. Install Manually====&lt;br /&gt;
&lt;br /&gt;
Download driver file first. For WinXp,Vista,Win7,Download the file (usb_driver_v3.5.zip) from [http://dl.radxa.com/rock/tools/windows/usb_driver_v3.5.zip here] . For Win8 Download the file(usb_driver_v3.7.zip) from [http://dl.radxa.com/rock/tools/windows/Rockusb%20Driver%20v3.7.zip here]. shut down the Radxa Rock board then connect the Radxa Rock board to the computer and let the board go to [[Rock/Loader mode|loader mode]]. After your computer should detect the board and you will see an unknown device within device manager.&lt;br /&gt;
&lt;br /&gt;
[[File:flash_image_1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Select the Unknown device then right click and select &amp;quot;Update Driver Software&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:flash_image_2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;Browse the computer for driver software&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:flash_image_2.5.jpg]]&lt;br /&gt;
&lt;br /&gt;
Find the file unzipped file you downloaded earlier (usb_driver_v3.5.zip) and select either the 32/64bit folder then click &amp;quot;OK&amp;quot; to install.&lt;br /&gt;
&lt;br /&gt;
[[File:flash_image_3.jpg]]&lt;br /&gt;
&lt;br /&gt;
When the driver is installed successful you will then see a Rockusb Device in the device manager window.&lt;br /&gt;
&lt;br /&gt;
[[File:flash_image_6.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
===Flash Image===&lt;br /&gt;
There are two methods to flash an image.&lt;br /&gt;
 &lt;br /&gt;
# use RKBatchTool   (Factory upgrading firmware tool, flash update.img only, it will erase everything.) &lt;br /&gt;
# use RKAndroidTool (Development tool, can flash by partitions)&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
====Using RKBatchTool to flash update.img====&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Download RKBatchTool from [http://dl.radxa.com/rock/tools/windows/RK_BatchTool_V1.7.zip here]. Then unzip it and double click RKBatchTool.exe, you will now see the interface as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:flash_image_7.jpg]]&lt;br /&gt;
&lt;br /&gt;
Select an image (rockdev/update.img). For information on how to make nand image see [[Rock/update.img | update.img]]&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:flash_image_8.jpg]]&lt;br /&gt;
&lt;br /&gt;
Power down the Radxa Rock board and connect the Radxa Rock board to the computer then let the board go to [[Rock/Loader mode|loader mode]] after the program should detect the device.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:flash_image_9.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click the &amp;quot;Upgrade&amp;quot; button to begin flashing and when the flashing process finishes successfully you will see the following interface.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:flash_image_10.jpg]]&lt;br /&gt;
&lt;br /&gt;
If the flashing has aborted ,it could possibly be an error with the update.img, you can either try to redo the operations above or make the update.img again!&lt;br /&gt;
&lt;br /&gt;
Here is the video&lt;br /&gt;
&lt;br /&gt;
http://v.youku.com/v_show/id_XNjkzNDk3MjEy.html&lt;br /&gt;
&lt;br /&gt;
====Using RKAndroidTool to flash image by partitions ====&lt;br /&gt;
Download RKAndroidTools from [http://dl.radxa.com/rock/tools/windows/RKDevelopTool_v1.37.zip here]. Unzip it the file and double click RKAndroidTool.exe, you will then see the interface as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:rkandroidtool_flash_image_1.png]]&lt;br /&gt;
&lt;br /&gt;
Power down the Radxa Rock board and connect the Radxa Rock board to the computer and let the board go to [[Rock/Loader mode|loader mode]] then the program will detect it.&lt;br /&gt;
&lt;br /&gt;
[[File:rkandroidtool_flash_image_2.png]]&lt;br /&gt;
&lt;br /&gt;
There are eight selections to choose from so select the correct row and then select the checkbox to the left of the row to select it. After you must click the column on the right side for the path of the file you want to flash. You can then select one or more files and flash them at once. Finally Click &amp;quot;Run&amp;quot; to flash images to the device (the right most selection shows the log of the progress).&lt;br /&gt;
&lt;br /&gt;
[[File:rkandroidtool_flash_image_3.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rkandroidtool_flash_image_4.png]]&lt;br /&gt;
&lt;br /&gt;
If successful the board will disconnect from the tool and boot into the system.&lt;br /&gt;
&lt;br /&gt;
Please Note:&lt;br /&gt;
&lt;br /&gt;
# The kernel is contained within the boot.img when you package the image by  &amp;quot;./mkimage.sh ota&amp;quot;  please see [[Rock/Android_Build]] for more information.&lt;br /&gt;
# you can flash one of more image at one time as needed&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
==== RKBatchTool can not recognize the board ==== &lt;br /&gt;
1.Loader mode : USB device HW:  VID_2207&amp;amp;PID_310B &amp;lt;br/&amp;gt;&lt;br /&gt;
2.Boot into Android: USB device HW: VID_2207&amp;amp;PID_0006&lt;br /&gt;
&lt;br /&gt;
For loader mode&amp;lt;br/&amp;gt;&lt;br /&gt;
I have use manual install within loader mode for PID_310B.&lt;br /&gt;
The &amp;quot;Rockusb device&amp;quot; driver installed successfully on Vista but the RKBatchTool can not connect to the RK3188 board for img flashing.&lt;br /&gt;
&lt;br /&gt;
For loader mode cannot connect issue [Solved]&amp;lt;br/&amp;gt;&lt;br /&gt;
Root Cause: RK3188 board is connected to laptop via USB 3.0 PMMCIA card.&lt;br /&gt;
It's a USB2.0 to USB3.0 compatibility issue so switch USB 3.0 port to a USB 2.0 then the RKBatchTool should connect to the RK3188 board for img flashing.&lt;br /&gt;
&lt;br /&gt;
==== Flashing failed ====&lt;br /&gt;
&lt;br /&gt;
After flashing, the uart print&lt;br /&gt;
&lt;br /&gt;
    DDR Version 1.04 20130517 In DDR3 300MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Die Bus-Width=16 Size=2048MB Memory OK OUT BUILD=====6 SdmmcInit=0 20 F:32 1061 0 0 40 FlashReadRetry error!!,row = fff000 FlashReadRetry error!!,row = fff000&lt;br /&gt;
&lt;br /&gt;
and not boot.&lt;br /&gt;
&lt;br /&gt;
If flashing failed, try to format the nand flash before flashing it. &lt;br /&gt;
* RKAndroid tool - click &amp;quot;Erease IDB&amp;quot; button to format the nand flash&lt;br /&gt;
* RK Batch tool - click &amp;quot;Restore&amp;quot; to format and then flash the image&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Preparing IDB failed ====&lt;br /&gt;
This happens at upgrading bootloader, if you need to upgrade the bootloader or the update.img contains a new bootloader, you probably will meet this. The rock is &amp;quot;bricked&amp;quot;. Follow this [[rock/unbrick | unbrick instructions]] to unbrick it.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
Rockchip has provided tools for upgrading within Linux (closed source) since Android 4.4. It's called '''upgrade_tool'''.&lt;br /&gt;
It supports update.img, parameter, bootloader and other partitions, and it's command line based.&lt;br /&gt;
&lt;br /&gt;
rkflashkit is an open source GUI version flashing tool for rockchip devices. It can not flash bootloader or parameter, only supports kernel and other partitions, but it supports backup the partitions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For developers:&lt;br /&gt;
''The initial RE work of the Rockchip bootloader updating protocol is by naobsd and has been improved by some in '''rkflashtool'''. linuxerwang has made a GUI version of the rkflashtool called '''rkflashkit'''. Please note: both '''rkflashtool''' and '''rkflashkit''' can '''not''' flash the [[rock/update.img]] and can only flash within [[rock/bootloader]] mode and not [[rock/mask rom]] mode because the [[rock/mask rom]] updating protocol is not RE yet. If you are interested in the RE protocol ping naobsd at #radxa on IRC. Since the [[rock/bootloader]] has remained unchanged for a long time it's enough for normal usage. If you don't know what this means, just ignore it.''&lt;br /&gt;
&lt;br /&gt;
=== Upgrade_tool from Rockchip ===&lt;br /&gt;
&lt;br /&gt;
Download the Rockchip linux upgrade tool [http://dl.radxa.com/rock/tools/linux/Linux_Upgrade_Tool_v1.21.zip here]. Unzip it and you will get a file called '''upgrade_tool''' which is a binary executable file under Linux.&lt;br /&gt;
==== Flash update.img ====&lt;br /&gt;
Let the board go to [[Rock/Loader mode|loader mode]] and run the following command to flash the [[rock/update.img | update.img]]:&lt;br /&gt;
    sudo ./upgrade_tool '''uf'''  /path/to/update.img          #(UF Upgrade Flash)&lt;br /&gt;
&lt;br /&gt;
If you have an error with upgrading you can low level format the nand flash first with the following command:&lt;br /&gt;
    sudo ./upgrade_tool '''lf'''       #(LF Lowlevel Format) This will erase everything on nand&lt;br /&gt;
&lt;br /&gt;
==== Flash parameter ====&lt;br /&gt;
    sudo ./upgrade_tool '''di''' -p /path/to/parameter    #(DI Download Image)&lt;br /&gt;
&lt;br /&gt;
==== Flash bootloader ====&lt;br /&gt;
    sudo ./upgrade_tool '''ul''' /path/to/bootloader  #(UL Upgrade Loader)&lt;br /&gt;
&lt;br /&gt;
==== Flash the kernel(boot.img) ====&lt;br /&gt;
    sudo ./upgrade_tool '''di''' -b /path/to/boot.img    #(DI Download Image)&lt;br /&gt;
&lt;br /&gt;
==== Others ====&lt;br /&gt;
There are other commands in the upgrade_tool, such as:&lt;br /&gt;
    UL: upgrade the loader&lt;br /&gt;
    EF: erease the nand flash&lt;br /&gt;
&lt;br /&gt;
=== Flash with rkflashtool ===&lt;br /&gt;
&lt;br /&gt;
rkflashtool is an open source tool to write nand flash via the loader mode for rockchip platform.&lt;br /&gt;
&lt;br /&gt;
To install rkflashtool:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential libusb-1.0-0-dev&lt;br /&gt;
 git clone https://github.com/linux-rockchip/rkflashtool&lt;br /&gt;
 cd rkflashtool&lt;br /&gt;
 make&lt;br /&gt;
 sudo cp rkflashtool rkcrc rkunpack rkunsign /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
To read/write parameter:&lt;br /&gt;
&lt;br /&gt;
 rkflashtool p &amp;gt; param&lt;br /&gt;
 rkflashtool P &amp;lt; param&lt;br /&gt;
&lt;br /&gt;
To read/write partitions:&lt;br /&gt;
&lt;br /&gt;
 rkflashtool r boot &amp;gt; boot.img&lt;br /&gt;
 rkflashtool w boot &amp;lt; boot.img&lt;br /&gt;
&lt;br /&gt;
 rkflashtool r linuxroot &amp;gt; linuxroot.ext4&lt;br /&gt;
 rkflashtool w linuxroot &amp;lt; linuxroot.ext4&lt;br /&gt;
&lt;br /&gt;
=== Rkflashkit with GUI ===&lt;br /&gt;
You can download the pre-built rkflashkit [http://dl.radxa.com/rock/tools/linux/rkflashkit_0.1.1_all.deb here] or build it yourself with the following command:&lt;br /&gt;
&lt;br /&gt;
    git clone https://github.com/linuxerwang/rkflashkit &lt;br /&gt;
    cd rkflashkit &lt;br /&gt;
    ./waf debian &lt;br /&gt;
&lt;br /&gt;
And install it with the following command&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install python-gtk2 &lt;br /&gt;
    sudo dpkg -i rkflashkit_0.1.1_all.deb&lt;br /&gt;
&lt;br /&gt;
Run it with the following command&lt;br /&gt;
&lt;br /&gt;
    sudo rkflashkit&lt;br /&gt;
&lt;br /&gt;
You can see the interface looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:rkflashkit1.png| 600px]]&lt;br /&gt;
&lt;br /&gt;
Connect the Radxa Rock board to the computer and let the board go into [[Rock/Loader mode|loader mode]] you will then see the the program detect the board in loader mode. &lt;br /&gt;
&lt;br /&gt;
# Click the Nand partition and you will see the partitions of the board listed then choose the one you want to flash. &lt;br /&gt;
# Choose the location of the image you want to flash to that partition. &lt;br /&gt;
# Click the &amp;quot;Flash image&amp;quot; button and it will start flashing&lt;br /&gt;
# After it's finished click &amp;quot;Reboot Device&amp;quot; button to reboot the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:rkflashkit2.png| 500px]] [[File:rkflashkit3.png| 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
==== Creating Comm Object failed! ====&lt;br /&gt;
that's udev issues… You can solve this by creating a new file in /etc/udev/rules.d/ with the rule for the rock.&lt;br /&gt;
&lt;br /&gt;
To do that, copy and paste these commands:&lt;br /&gt;
&lt;br /&gt;
 echo 'SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2207&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;' | sudo tee /etc/udev/rules.d/51-android.rules&lt;br /&gt;
&lt;br /&gt;
Finally, just remove and reinsert the USB cable.&lt;br /&gt;
&lt;br /&gt;
==== What's verision of My board and Which Image should I flash! ====&lt;br /&gt;
&lt;br /&gt;
refer to [[Rock/update.img|update.img]]&lt;br /&gt;
&lt;br /&gt;
== Install the image on RR without PC ==&lt;br /&gt;
If you want to write the image on RR without any other host PC, you can download the image and write with dd:&lt;br /&gt;
     sudo dd if=XXX.img of=/dev/block/mtd/by-name/XXX bs=16384 conv=sync,fsync&lt;br /&gt;
&lt;br /&gt;
== Videos tutorial ==&lt;br /&gt;
*Flashing the image to nand flash https://www.youtube.com/watch?v=r20lOKu2E1s&amp;amp;feature=youtu.be&lt;/div&gt;</summary>
		<author><name>Jack</name></author>	</entry>

	</feed>