From Rockchip open source Document
Revision as of 08:43, 19 June 2018 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


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/

├── recovery.img
├── rootfs.cpio
└── rootfs.cpio.gz

Please refer to Buildroot user manual for more detail about Buildroot