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"

 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Languages|rock/bootloader}}
 
{{Languages|rock/bootloader}}
  
== Introduction ==
+
== Boot Loader ==
  
Currently all RK3188 based devices including the Radxa Rock use the same bootloader from Rockchip.
+
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.
  
Its main task is to:
+
Some(few?) RK3188 devices use [[rock/U-Boot | U-Boot based bootloader]].
  
* Load and start the kernel/boot images or recovery image from the corresponding partitions.
+
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 downloaded 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/
 
== 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.
 
 
== Recovery ==
 
 
If you get issues when flashing a new bootloader from development sources and your board doesn't seem to boot anymore, then read [[rock/unbrick | unbrick page]] to fix it and flash official Rockchip's bootloader.
 
  
 
== Analysis ==
 
== Analysis ==

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.