Difference between revisions of "Recovery"

From Rockchip open source Document
Jump to: navigation, search
(Created page with "  ")
 
 
Line 1: Line 1:
  
 
+
We use buildroot to create recovery ramdisk. recovery image pack kernel, dtb, ramdisk into a Android boot image format.
 +
 
 +
Please make sure you have built kernel first. Please refer to [[Rockchip_Kernel|build kernel]] page for how to build kernel.
 +
 
 +
In your linux SDK root directory. Use beclow command to build recovery image
 +
<pre>./mk-recovery
 +
</pre>
 +
 
 +
It will generate the recovery image&nbsp;in buildroot/out/{config name}/images directory. For example, when you using&nbsp;rockchip_rk3399_recovery. image will be in&nbsp;buildroot/output/rockchip_rk3399_recovery/images/
 +
<pre>buildroot/output/rockchip_rk3399_recovery/images/
 +
├── recovery.img
 +
├── rootfs.cpio
 +
└── rootfs.cpio.gz
 +
</pre>
 +
 
 +
Please refer to&nbsp;[https://buildroot.org/downloads/manual/manual.html Buildroot user manual]&nbsp;for more detail about Buildroot

Latest revision as of 08:43, 19 June 2018

We use buildroot to create recovery ramdisk. recovery image pack kernel, dtb, ramdisk into a Android boot image format.

Please make sure you have built kernel first. Please refer to build kernel page for how to build kernel.

In your linux SDK root directory. Use beclow command to build recovery image

./mk-recovery

It will generate the recovery image in buildroot/out/{config name}/images directory. For example, when you using rockchip_rk3399_recovery. image will be in buildroot/output/rockchip_rk3399_recovery/images/

buildroot/output/rockchip_rk3399_recovery/images/
├── recovery.img
├── rootfs.cpio
└── rootfs.cpio.gz

Please refer to Buildroot user manual for more detail about Buildroot