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

Difference between revisions of "Rock/bootloader"

(Reverse engineering)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|rock/bootloader}}
  
Currently all rk3188 based devices including radxa rock uses the same bootloader from Rockchip. Rockchip don't provide the source code of the bootloader. The bootloader's main task is:
+
== Boot Loader ==
  
* Load and boot the kernel.img/boot.img or recovery.img from correspoding partition
+
Currently almost of all RK3188 based devices including the Radxa Rock use proprietary bootloader from Rockchip. Unfortunately Rockchip does not provide the source code for the bootloader.
 +
 
 +
Some(few?) RK3188 devices use [[rock/U-Boot | U-Boot based bootloader]].
 +
 
 +
The bootloaders main task is to:
 +
 
 +
* Load and verify the parameter
 +
* Load and run the command in misc partition
 +
* Load, verify, and boot the kernel and ramdisk from kernel, boot, or recovery partition.
 
* Communicate with the host PC to download the image/firmware for [[rock/flash the image | upgrading]]
 
* Communicate with the host PC to download the image/firmware for [[rock/flash the image | upgrading]]
  
==Download==
+
== Download ==
The bootloader of radxa rock can be found at this address
+
 
 +
The proprietary bootloader of the Radxa Rock can be downloaded from this address:
 
     http://dl.radxa.com/rock/images/loader/
 
     http://dl.radxa.com/rock/images/loader/
  
==Reverse engineering ==
+
== Analysis ==
The analysis of the bootloader is done by sarg. Ping sarg in #linux-rockchip if you are interested. You can find the details here:
+
 
 +
The analysis of the bootloader is done by sarg. You can contact sarg on IRC on the channel #linux-rockchip if you are interested. You can find the details here:
 
     https://gist.github.com/sarg/5028505
 
     https://gist.github.com/sarg/5028505
  
[http://blog.csdn.net/faithsws/article/details/17245699 chines information about sarg's work]
+
You can find more information on sargs work [http://blog.csdn.net/faithsws/article/details/17245699 here] although the article is in Chinese.

Latest revision as of 16:29, 31 March 2014

Boot Loader

Currently almost of all RK3188 based devices including the Radxa Rock use proprietary bootloader from Rockchip. Unfortunately Rockchip does not provide the source code for the bootloader.

Some(few?) RK3188 devices use U-Boot based bootloader.

The bootloaders main task is to:

  • Load and verify the parameter
  • Load and run the command in misc partition
  • Load, verify, and boot the kernel and ramdisk from kernel, boot, or recovery partition.
  • Communicate with the host PC to download the image/firmware for upgrading

Download

The proprietary bootloader of the Radxa Rock can be downloaded from this address:

   http://dl.radxa.com/rock/images/loader/

Analysis

The analysis of the bootloader is done by sarg. You can contact sarg on IRC on the channel #linux-rockchip if you are interested. You can find the details here:

   https://gist.github.com/sarg/5028505

You can find more information on sargs work here although the article is in Chinese.