Commit Graph

5 Commits

Author SHA1 Message Date
Ola Jeppsson
5a9fde6e1b linux-qcom-bootimg: Make root= cmdline arg optional
Make it possible to not set the root= argument in the image's kernel
cmdline.

Setting QCOM_BOOTIMG_ROOTFS to "" will skip setting the root= argument.

Determining the rootfs is now deferred to the bootloader.
One use-case for this is to support boot slots.

Signed-off-by: Ola Jeppsson <ola@snap.com>
2024-10-24 10:34:57 +02:00
Viswanath Kraleti
239eac4a32 linux-qcom-bootimg: Don't look for initramfs image with IMAGE_NAME_SUFFIX
initramfs images are no longer appended with '.rootfs' suffix. Adjust
baseinitrd lookup accordingly.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-01-18 23:07:06 +05:30
Viswanath Kraleti
37dbdfa8c8 linux-qcom-bootimg: Fix a typo in adding task dependencies
Make sure qcom_img_deploy task run only after initramfs is available

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2023-12-05 11:03:25 +05:30
Viswanath Kraleti
c48b6ca881 linux-qcom-bootimg: Read dtb from KERNEL_DTBDEST
KERNEL_DTBDEST is the right place to look for dtb files. This variable
may deafult to KERNEL_IMAGEDEST but not always. So to avoid failures
it is must to read dtb files only from KERNEL_DTBDEST.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2023-12-05 11:03:22 +05:30
Dmitry Baryshkov
2029315516 linux-qcom-bootimg: convert to the bbclass
In order to improve sharing of the bootimg code, convert it to the
BitBake class instead of it being just an include.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-03 20:20:13 +03:00