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>
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>
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>