mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
qcom-abl: use mkbootimg package to generate abl boot image
This commit is contained in:
committed by
Jianfeng Liu
parent
d6deabaf06
commit
ac90826105
@@ -28,7 +28,7 @@ function post_build_image__900_convert_to_abl_img() {
|
||||
for dtb_name in "${ABL_DTB_LIST[@]}"; do
|
||||
display_alert "Creatng abl kernel boot image with dtb ${dtb_name}" "${EXTENSION}" "info"
|
||||
cat ${DESTIMG}/Image.gz ${new_rootfs_image_mount_dir}/usr/lib/linux-image-*/qcom/${dtb_name}.dtb > ${DESTIMG}/Image.gz-${dtb_name}
|
||||
${new_rootfs_image_mount_dir}/usr/local/bin/mkbootimg.py \
|
||||
${new_rootfs_image_mount_dir}/usr/bin/mkbootimg \
|
||||
--kernel ${DESTIMG}/Image.gz-${dtb_name} \
|
||||
--ramdisk ${new_rootfs_image_mount_dir}/boot/initrd.img-*-* \
|
||||
--base 0x0 \
|
||||
|
||||
Reference in New Issue
Block a user