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"

Line 1: Line 1:
 
{{Languages|rock/bootloader}}
 
{{Languages|rock/bootloader}}
  
__TOC__
+
== Introduction ==
  
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:
+
Currently all RK3188 based devices including the Radxa Rock use the same bootloader from Rockchip.
  
* Load and boot the kernel.img/boot.img or recovery.img from the corresponding partition.
+
Its main task is to:
 +
 
 +
* Load and start the kernel/boot images or recovery image from the corresponding partitions.
 
* 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 ==
  
 
The bootloader of the Radxa Rock can be downloaded from this address:
 
The 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/
 +
 +
== Source code ==
 +
 +
The bootloader is based on U-boot and source code is available now:
 +
https://github.com/neo-technologies/rockchip_u-boot
 +
 +
''TODO'': Add instructions to build bootloader from source.
 +
 +
== 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:
Line 15: Line 28:
  
 
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.
 
== u-boot ==
 

Revision as of 21:16, 29 March 2014

Introduction

Currently all RK3188 based devices including the Radxa Rock use the same bootloader from Rockchip.

Its main task is to:

  • Load and start the kernel/boot images or recovery image from the corresponding partitions.
  • Communicate with the host PC to download the image/firmware for upgrading

Download

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

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

Source code

The bootloader is based on U-boot and source code is available now: https://github.com/neo-technologies/rockchip_u-boot

TODO: Add instructions to build bootloader from source.

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.