183 Commits

Author SHA1 Message Date
Dmitry Baryshkov
79c8835c15 qcom-armv7a-modem: restore machine configuration
Restore ARMv7a modem machine configuration, it has been dropped from
meta-qcom.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2025-02-21 06:28:23 +02:00
Dmitry Baryshkov
4a51c4a0cf conf: drop machine configs
Drop machine config files, they are destined to stay in meta-qcom.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-11-26 23:54:14 +02:00
Viswanath Kraleti
37c6eb601a qcom-armv8a.conf: Set KERNEL_IMAGETYPES to 'Image'
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>
2024-10-11 11:21:44 +05:30
Tommaso Merciai
6d7ec5a8e5 conf: machine: qcom-armv8a: add u-boot qcs6490-rb3gen2/sdm845-db845c cfg
Add qcs6490-rb3gen2/sdm845-db845c u-boot configs to build boot
configurations using qcom-armv8a machine.

Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
2024-09-20 09:30:34 +02:00
Tommaso Merciai
85f2b1bfda conf: machine: qcom-armv8a: set u-boot-qcom as default bootloader
Set u-boot-qcom as preferred virtual/bootloader.

Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
2024-09-20 09:30:34 +02:00
Tommaso Merciai
4bace93db0 conf: machine: qcom-armv8a: add QCOM_BOOTIMG_ROOTFS for qcs6490-rb3gen2
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>
2024-09-13 15:17:06 +02:00
Dmitry Baryshkov
f8e1b28131 Merge pull request #622 from quic-vkraleti/master
Support optional dtb loading via UKI
2024-09-05 14:00:49 +03:00
Viswanath Kraleti
fd305a603b linux-qcom-uki.bb: Support optional dtb loading via UKI
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>
2024-09-05 14:44:27 +05:30
Dmitry Baryshkov
e5bf97414c qcom-common.inc: set PREFERRED_VERSION for linux-yocto
Now as the OE-Core has gained several linux-yocto versions, specify the
preferred one.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-27 07:43:27 +03:00
Atul Dhudase
0325ed62fc qcom-armv8a.conf: install rb3gen2 firmware
Add packagegroup-firmware-rb3gen2 to MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS.

Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2024-08-21 17:55:24 +05:30
Atul Dhudase
a93c32e2a3 qcom-armv8a: Add support for Qualcomm SA8775p ride board
Add support for Qualcomm SA8775p ride board in yocto-linux.
2024-06-21 10:49:06 +05:30
Atul Dhudase
7e83135c4a linux-yocto: update qcm6490 device-tree patches
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.
2024-04-17 17:45:06 +05:30
Dmitry Baryshkov
1cb8061901 qcom-armv7a: enable dragonboard-apq8074
Enable another board used for testing, APQ8074 DragonBoard.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-02-12 22:27:09 +02:00
Dmitry Baryshkov
80cbdeef1e linux-linaro-qcomlt: update to 6.6 release branch
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>
2024-01-30 10:49:41 +02:00
Viswanath Kraleti
bf8c2a94b3 qcom-common.inc: Add 'Image' to KERNEL_IMAGETYPES
UKI generation needs uncompressed kernel image. Specifying
'Image' in KERNEL_IMAGETYPES ensures uncompressed kernel
image is always built.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-01-18 22:30:14 +05:30
Viswanath Kraleti
708e9feb34 qcom-common.inc: Drop EFILINUXDIR variable
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>
2024-01-16 23:18:00 +05:30
Dmitry Baryshkov
b27a7f1bfc Merge pull request #548 from quic-vkraleti/efi-boot
Efi boot support
2023-12-05 14:29:13 +02:00
Viswanath Kraleti
b568621c47 classes: Add bbclass for generating UKI
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>
2023-12-05 11:02:46 +05:30
Dmitry Baryshkov
5bc5f5d902 qcom-armv8a: fix the freshly introduced warnings
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>
2023-11-22 04:24:36 +03:00
Dmitry Baryshkov
f928227c46 qcom-common.inc: make it less insisting on the default kernel
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>
2023-11-21 15:22:15 +03:00
Atul Dhudase
9af775e0b5 qcom-armv8a: add configuration for QCM6490 IDP and Robotics RB3 Gen2
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>
2023-11-21 17:07:00 +05:30
Dmitry Baryshkov
6ed33b6f09 conf: drop individual sdx55 machines
Drop the individual sdx55 machines, they are merged into
qcom-armv7a-modem machine.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-15 16:25:21 +03:00
Dmitry Baryshkov
05d0db44d8 conf: drop legacy 32-bit machines
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>
2023-11-15 16:25:21 +03:00
Dmitry Baryshkov
6a814b250a dragonboard-410c-32: drop the 32-bit db410c
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>
2023-11-15 16:25:21 +03:00
Dmitry Baryshkov
f517940989 qcom-armv8a: drop the maxcpus=2 from apq8096-db820c
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>
2023-11-03 20:20:13 +03:00