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"

m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Languages|rock/bootloader}}
 
{{Languages|rock/bootloader}}
  
__TOC__
+
== 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.
  
Currently all RK3188 based devices including the Radxa Rock use the same bootloader from Rockchip. Unfortunately Rockchip do not provide the source code for the bootloader. The bootloaders main task is to:
+
Some(few?) RK3188 devices use [[rock/U-Boot | U-Boot based bootloader]].
  
* Load and boot the kernel.img/boot.img or recovery.img from the corresponding partition.
+
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 the Radxa Rock can be downloading from 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. You can contact sarg on IRC on the channel #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
  
 
You can find more information on sargs work [http://blog.csdn.net/faithsws/article/details/17245699 here] although the article is in Chinese.
 
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.