<?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=Mustafa+Can</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=Mustafa+Can"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Special:Contributions/Mustafa_Can"/>
		<updated>2026-06-17T17:44:29Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/Rock/update.img</id>
		<title>Rock/update.img</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/update.img"/>
				<updated>2014-10-21T14:50:06Z</updated>
		
		<summary type="html">&lt;p&gt;Mustafa Can: /* Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
'''update.img''' is Rockchip's closed image format for nand flash images, which can be flashed via the [http://dl.radxa.com/rock/tools/windows/RK_BatchTool_V1.7.zip rockchip batch tool] into nand flash. You can find our prebuilt update image of android and ubuntu at [http://dl.radxa.com http://dl.radxa.com]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Note : ===&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
'''the different hardware vision can't flash the same image.  otherwise the board can't boot or no video output.'''&lt;br /&gt;
&lt;br /&gt;
How to download the right image,please refer to the following content&lt;br /&gt;
&lt;br /&gt;
1:  Make sure what your board vision is, refer to [[Rock/hardware_revision | hardware_revision]]&lt;br /&gt;
&lt;br /&gt;
2:  All the images and source code are stored on the  [http://dl.radxa.com dl.radxa.com]&lt;br /&gt;
&lt;br /&gt;
3: Images are stored under the sub-folder by product name&lt;br /&gt;
&lt;br /&gt;
there are four sub-folders named by product name: '''rock''', '''rock_lite''','''rock_pro''','''rock2'''(coming soon)&lt;br /&gt;
    e.g. &lt;br /&gt;
    radxa rock's images are under rock folder , the link is  [http://dl.radxa.com/rock dl.radxa.com/rock]&lt;br /&gt;
    radxa rock pro's images are under rock_pro folder. the link is  [http://dl.radxa.com/rock_pro dl.radxa.com/rock_pro]&lt;br /&gt;
    radxa rock lite's images are under rock_lite folder, the link is [http://dl.radxa.com/rock_lite dl.radxa.com/rock_lite]&lt;br /&gt;
&lt;br /&gt;
4: the image's name contains many info,you can know whether the image is right for   your board&lt;br /&gt;
    e.g. &lt;br /&gt;
    a) radxa_rock_android_kitkat_r2_140911_sdcard.zip&lt;br /&gt;
    radxa_rock  : the product name, for radxa_rock&lt;br /&gt;
    android     : the image's os       &lt;br /&gt;
    kitkat      : the os vision is android 4.4&lt;br /&gt;
    r2         : release version&lt;br /&gt;
    140911     : release date (2014.9.11)&lt;br /&gt;
    sdcard      : image for sdcard,  sdcard boot needs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    b)radxa_rock_ubuntu_14.04_server_140820_update.zip&lt;br /&gt;
    radxa_rock   :  the product name, for radxa_rock&lt;br /&gt;
    ubuntu      :  the image's os       &lt;br /&gt;
    14.04        :  the os vision is ubuntu 14.04&lt;br /&gt;
    server       :  server version,not desktop, NO GUI&lt;br /&gt;
    140820      :  release date (2014.8.20)&lt;br /&gt;
    update       :  no means, just tell us it's a update image&lt;br /&gt;
&lt;br /&gt;
==Generating the image==&lt;br /&gt;
===Windows===&lt;br /&gt;
A window batch tool is provided by Rockchip to create the image, which calls the AFPTool.exe and RKImageMaker.exe to generate the image. You can find the batch tool at the rockdev folder of the SDK source code.&lt;br /&gt;
    Afptool -pack ./ Image\update.img&lt;br /&gt;
    RKImageMaker.exe -RK31 RK3188Loader(L)_V1.24.bin  Image\update.img update.img -os_type:androidos&lt;br /&gt;
&lt;br /&gt;
The afptool reads the package-file which contains what files to be packed into the image.&lt;br /&gt;
    # NAME		Relative path&lt;br /&gt;
    #&lt;br /&gt;
    #HWDEF		HWDEF&lt;br /&gt;
    package-file	package-file&lt;br /&gt;
    bootloader	RK3188Loader(L)_V1.24.bin&lt;br /&gt;
    parameter	parameter&lt;br /&gt;
    misc		Image/misc.img&lt;br /&gt;
    kernel	Image/kernel.img&lt;br /&gt;
    boot		Image/boot.img&lt;br /&gt;
    recovery	Image/recovery.img&lt;br /&gt;
    system	Image/system.img&lt;br /&gt;
    backup			RESERVED&lt;br /&gt;
    update-script	update-script&lt;br /&gt;
    recover-script	recover-script&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
A linux version of afptool and image maker by fonix232 can be found on github, below is the packing tool using afptool and image maker to pack the image.&lt;br /&gt;
    git clone https://github.com/radxa/rockchip-pack-tools.git&lt;br /&gt;
    ./getimage.sh # Download the kernel and rootfs from dl.radxa.com&lt;br /&gt;
    ./mkupdate.sh # Pack the image NOTE: you should put boot.img and rootfs.img in Linux/ directory&lt;br /&gt;
&lt;br /&gt;
You will get the update.img&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
====Source code====&lt;br /&gt;
The source code of afptool and img_maker:&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;
&lt;br /&gt;
==Flash the image==&lt;br /&gt;
* Windows - http://wiki.radxa.com/Rock/flash_the_image#Using_RKBatchTool_to_flash_update.img&lt;br /&gt;
* Linux - http://wiki.radxa.com/Rock/flash_the_image#Flash_update.img&lt;/div&gt;</summary>
		<author><name>Mustafa Can</name></author>	</entry>

	</feed>