Move KERNEL_IMAGETYPES setting from qcom-common.inc to qcom-armv8a.conf
as former is common for both qcom-armv7a and qcom-armv8a machines. We
need "Image" type kernel only for qcom-armv8a to support UKI.
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
Rootfs for qcs6490-rb3gen2 machine is placed under system partition.
Let's set this info into QCOM_BOOTIMG_ROOTFS var that set the rootfs
position for kernel cmdline.
Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
UEFI provides default compatible DTB. If a DTB is present in UKI,
systemd-boot passes the same to Linux instead of UEFI provided DTB.
This optional overriding of DTB via UKI allows the users to customize
DTBs as per product needs without regenerating the firmware.
To override DTB via UKI, users need to set EFI_LINUX_IMG_DTB to an
appropriate dtb file name. For example
EFI_LINUX_IMG_DTB = "qcs6490-rb3gen2.dtb"
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
Drop old qcm6490 device-tree structure and replace it
with upstream series. Few dependent patches would be dropped
now and will be added back after this series.
Also, drop other interim patches which are no longer needed.
Replace these patches with new patches from upstream.
0001-FROMLIST-dt-bindings-arm-qcom-Add-QCM6490-IDP-board.patch
0001-PENDING-dt-bindings-arm-qcom-Add-QCM6490-RB3-board.patch
0002-PENDING-arm64-dts-qcom-Add-qcm6490-rb3-support.patch
0001-FROMLIST-dt-bindings-arm-qcom-Add-QCM6490-Fairphone-.patch
0002-FROMLIST-arm64-dts-qcom-Use-QCOM_SCM_VMID-defines-fo.patch
0003-FROMLIST-arm64-dts-qcom-Add-qcm6490-dts-file.patch
These are no longer needed so dropped- gpio change is included
in upstream devcie-tree and board-id/msm-id change is no longer
needed as compatible string-check approach is being used to pick
the correct DTB now.
0001-PENDING-dt-bindings-pinctrl-qcom-sc7280-pinctrl-add-.patch
0002-PENDING-arm64-dts-qcom-qcm6490-Add-gpio-reserved-ran.patch
0001-QCLINUX-arm64-dts-qcom-Add-board-id-and-msm-id-for-Q.patch
0002-QCLINUX-arm64-dts-qcom-Add-board-id-and-msm-id-for-q.patch
Pull patches from mailing list to add DTS for Qualcomm qcs6490-rb3gen2
and IDP boards which uses QCS6490/QCM6490 SoC.
with backported device-tree pacthes, board name is changed from
qcm6490-rb3 to qcs6490-rb3gen2 so rename the dtb accordingly.
Update the linux-linaro-qcomlt to the branch 6.6. This also requires us
to change DTB paths in armv7 machines to follow upstream changes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Oe-core's image-uefi.conf defined EFI_UKI_PATH to point to the uki
inside an esp image. Use this variable in place of EFILINUXDIR.
Also, renamed a few other EFI variables for readability.
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
A unified kernel image (UKI) can be booted directly from UEFI.
The UKI is composed by an UEFI stub, the kernel Image, initrd and
other metadata like kernel cmdline.
This bbclass upon inherting in kernel recipe, generates UKI and
places the same under DEPLOY_DIR_IMAGE.
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
Fix the warnings introduced by qcm6490-rb3g2 support:
WARNING: KERNEL_DEVICETREE:append:pn-linux-yocto += is not a
recommended operator combination, please replace it.
WARNING: KERNEL_DEVICETREE:append:pn-linux-yocto += is not a
recommended operator combination, please replace it.
There is no need to use += together with the append.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
As we are transitioning to linux-yocto, make the life of machine config
files easier and let qcom-common.inc be less insisting on the preferred
kernel recipe.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Add configuration to support Qualcomm QCM6490 IDP and Robotics RB3 Gen2
boards for yocto-linux.
QCM6490 IDP is an internal platform, similar to RB3 board,
used by most of the internal developers.
Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
Drop ifc6410 and Nexus7-2013 machine configuration files. They are now
merged into the qcom-armv7a machine.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Drop the 32bit-rootfs-64bit-kernel configuration. One should use
qcom-armv7a machine instead and override the kernel to be linux-dummy.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
The supported kernels gained the CBF driver, that fixes SMP issues on
MSM8996 / APQ8096 platforms. Thus the maxcpus=2 override is not
necessary anymore.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>