Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/SD upgrading"

(Requirements)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{rock_header}}
 
__TOC__
 
__TOC__
  
This chapter introduces how to upgrade android(linux will be supported later) from sdcard.
 
  
Preparation
+
This page introduces how to upgrade an update.img to NAND flash from sdcard.
 
+
1. a sdcard (4G at least)
+
2. a sdcard reader
+
3. Windows System ( the tool to make upgrade disk is exe format)
+
 
   
 
   
Get the upgrade image
+
 
 +
'''Note:'''
 +
 
 +
==Windows==
 +
 
 +
Rockchip provides the sd image tool.
 +
 
 +
Note: Only android update.img is supported now. More work needs to be done for linux update.img
 +
 
 +
===Requirements===
 +
 
 +
* a SD card (4G at least)
 +
* a SD card reader
 +
* Windows System ( the tool to make upgrade disk is exe format)
 +
 
 +
===Get the image for upgrading===
  
 
  The Image is just modified for upgrading android from sdcard. you can download from here  
 
  The Image is just modified for upgrading android from sdcard. you can download from here  
Line 15: Line 26:
 
  and then unzip it.
 
  and then unzip it.
  
Make the Upgrade Disk under Windows
+
===Make the Upgrade SD card===
 +
 
 +
#Download the tool to make upgrade disk and unzip it: http://dl.radxa.com/rock/tools/windows/SD_Firmware_Tool.zip
 +
#Insert the reader to pc and insert the sdcard to reader
 +
#Find SD_Fireware_Tool.exe under SD_Fireware_Tool and click it. See PIC_1
 +
#Select the insert sdcard  under "Choose removable disk" Item. See PIC_1
 +
#Select "Upgrade Fireware" (Note:Select only this item). See PIC_1
 +
#Click "Firmware" button to choose the image just  download and unzip.See PIC_1
 +
#Click "Create" to begin. when complete, there will be a dialog to tell you success
  
1. Download the tool to make upgrade disk and unzip it
 
    http://dl.radxa.com/rock/tools/windows/SD_Firmware_Tool.zip
 
2. Insert the reader to pc and insert the sdcard to reader
 
3. Find SD_Fireware_Tool.exe under SD_Fireware_Tool and click it. See PIC_1
 
4. Select the insert sdcard  under "Choose removable disk" Item. See PIC_1
 
5. Select "Upgrade Fireware" (Note:Select only this item). See PIC_1
 
6. Click "Firmware" button to choose the image just  download and unzip.See PIC_1
 
7. Click "Create" to begin. when complete, there will be a dialog to tell you success
 
  
 
[[File:upgrade_disk_1.jpg]] PIC_1
 
[[File:upgrade_disk_1.jpg]] PIC_1
  
Upgrade system by sdcard
+
=== Upgrade with SD card on RR===
 
   
 
   
 
   1. Power off the RR
 
   1. Power off the RR
Line 41: Line 52:
  
 
[[File:upgrade_disk_3.jpg]] PIC_3
 
[[File:upgrade_disk_3.jpg]] PIC_3
 +
 +
==Linux==
 +
 +
on Linux, write sdboot-header.img into beginning of your micro SD card. (you'll lose all data on it)
 +
 +
then, your SD card should have a 1GB FAT partition. format it, mount it, then put rksdfw.tag sd_boot_config.config, and Radxa's update image for SD card as "sdupdate.img" into root directory of SD card.
 +
 +
Download the binaries from http://files.androtab.info/radxa/sdboot.tgz, and unzip it.
 +
    dd if=sdboot-header.img of=/dev/sdX bs=1M conv=fsync
 +
    mkfs.vfat /dev/sdX1
 +
    mount /dev/sdX1 /mnt
 +
    cp rksdfw.tag sd_boot_config.config /mnt/
 +
    cp path/to/radxa_update.img /mnt/sdupdate.img
 +
    umount /mnt

Latest revision as of 19:03, 12 January 2015


This page introduces how to upgrade an update.img to NAND flash from sdcard.


Note:

Windows

Rockchip provides the sd image tool.

Note: Only android update.img is supported now. More work needs to be done for linux update.img

Requirements

  • a SD card (4G at least)
  • a SD card reader
  • Windows System ( the tool to make upgrade disk is exe format)

Get the image for upgrading

The Image is just modified for upgrading android from sdcard. you can download from here 
http://dl.radxa.com/rock/images/android/Upgrade_android_from_sdcard/radxa_rock_android_upgrade_from_sdcard_140314_update.zip
and then unzip it.

Make the Upgrade SD card

  1. Download the tool to make upgrade disk and unzip it: http://dl.radxa.com/rock/tools/windows/SD_Firmware_Tool.zip
  2. Insert the reader to pc and insert the sdcard to reader
  3. Find SD_Fireware_Tool.exe under SD_Fireware_Tool and click it. See PIC_1
  4. Select the insert sdcard under "Choose removable disk" Item. See PIC_1
  5. Select "Upgrade Fireware" (Note:Select only this item). See PIC_1
  6. Click "Firmware" button to choose the image just download and unzip.See PIC_1
  7. Click "Create" to begin. when complete, there will be a dialog to tell you success


Upgrade disk 1.jpg PIC_1

Upgrade with SD card on RR

 1. Power off the RR
 2. Insert the sdcard
 3. Power on the RR, then the process start,you will see the ui like PIC_2. 
 4. Wait for the process complete. this process will take serveral minutes.when upgrade sucessfully. you will see the result like PIC_3
 5. Power off the RR and remove the sdcard.
 6. Power on the RR. the system is the new version.

Upgrade disk 2.jpg PIC_2


Upgrade disk 3.jpg PIC_3

Linux

on Linux, write sdboot-header.img into beginning of your micro SD card. (you'll lose all data on it)

then, your SD card should have a 1GB FAT partition. format it, mount it, then put rksdfw.tag sd_boot_config.config, and Radxa's update image for SD card as "sdupdate.img" into root directory of SD card.

Download the binaries from http://files.androtab.info/radxa/sdboot.tgz, and unzip it.

   dd if=sdboot-header.img of=/dev/sdX bs=1M conv=fsync
   mkfs.vfat /dev/sdX1
   mount /dev/sdX1 /mnt
   cp rksdfw.tag sd_boot_config.config /mnt/
   cp path/to/radxa_update.img /mnt/sdupdate.img
   umount /mnt