How to generate boot.img and recovery.img from RK3188 kernel?

937 views
Skip to first unread message

Hardiksingh Rajput

unread,
Jun 8, 2017, 9:06:56 AM6/8/17
to linux-rockchip
Guys,

I need help with steps to generate boot.img and recovery.img.
It would be helpful if someone can explain differences between these images.

Thanks,
Hardik

Alejandro Martin

unread,
Jun 9, 2017, 9:51:07 PM6/9/17
to Hardiksingh Rajput, linux-rockchip
At the moment I cannot help you with generating those images.

However, I can mention that:

A. Generally speaking in the Android world:
- recovery.img is the image being flashed to the "recovery" partition. This image contains the tools for recovering the system in case Android is not working well or the user wants to recover the system.
- boot.img contains the file structure necessary for the Android system to work: the (GNU/linux) Android kernel. This works in conjunction with rootfs located in system.img

B. In running GNU/linux in the Android device:
- recovery.img is intended for booting linux as secondary OS, generally diverting to external rootfs (ie: sd card). recovery.img contains the kernel and somewhere else (ie: sd card) the rootfs is located.
- boot.img is intended for running GNU/linux as primary OS. If you flash a boot.img containing GNU/linux system, you lose Android. boot.img contains GNU/linux kernel and rootfs shall be in system.img like in Android.

You may take as a reference (but keep in mind every device has different features, so you shall adapt information) Radxa Rock wiki:

Also, as reference, the website from the team that manages this mailing list:

Cheers
Jandro

--
You received this message because you are subscribed to the Google Groups "linux-rockchip" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-rockchip+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/linux-rockchip.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages