Commit Graph

1279 Commits

Author SHA1 Message Date
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 5b2106aa90 recipes-kernel: Add linux-qcom-uki recipe
linux-qcom-uki recipe generates UKI by combining UEFI stub, kernel image,
initrd, os-release, optional dtb and other metadata like kernel cmdline.

Drop uki.bbclass as linux-qcom-uki is taking care of UKI generation.

Signed-off-by: Viswanath Kraleti <vkraleti@qti.qualcomm.com>
2024-01-18 22:38:38 +05:30
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 41f74d2802 initramfs-*: Set empty IMAGE_NAME_SUFFIX
initramfs images aren't used for rootfs, so the default '.rootfs' suffix
isn't valid. Just set the suffix to empty to override the default

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-01-18 22:24:08 +05:30
Atul Dhudase 329b1f0284 linux-yocto: disable qcom watchdog for QCM6490
Disable qcom watchdog for qcm6490 boards. With hypervisor enabled on
qcm6490, accessing watchdog registers results into an external abort.

Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2024-01-18 16:21:02 +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
Viswanath Kraleti 179fef684b linux-yocto: Don't generate UKI as part of kernel build
Generation of UKI needs Kernel Image to be available along with initrd and
other packages like os-release. It is convenient to have UKI generation as
part of an image rather than kernel build.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-01-16 23:17:24 +05:30
Dmitry Baryshkov 142e2b29d1 initramfs-firmware-sm8450-hdk-image: create board-specific initramfs
Add initramfs holding firmware for SM8450-HDK board.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-13 08:09:55 +02:00
Dmitry Baryshkov 92c2ece622 packagegroup-firmware-sm8450-hdk: package proprietary firmware for SM8450-HDK
Add packagegroup for the SM8450 HDK board.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-13 08:08:58 +02:00
Dmitry Baryshkov f36bee5f0c firmware-qcom-sm8450-hdk: package proprietary firmware for SM8450-HDK
Package proprietary firmware for the SM8450 HDK board. By default an
empty package will be built. To specify location of the NHLOS.bin add
the following line to local.conf:

NHLOS_URI:pn-firmware-qcom-sm8450-hdk = "file:///PATH/NON-HLOS-sm8450-hdk-1.0.bin"

Likewise the location of the archive with the Adreno firmware can be
specified.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-13 08:08:58 +02:00
Dmitry Baryshkov 3a1075faad firmware-qcom: add support for ipa_fws firmware
Add separate packages for IPA firmware.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-13 08:08:58 +02:00
Dmitry Baryshkov 01c94dc8af Merge pull request #564 from quic-vkraleti/drop-systemd-native
Drop systemd-boot-native recipe
2024-01-11 01:06:21 +02:00
Viswanath Kraleti edf23251ea Drop systemd-boot-native recipe
Drop systemd-boot-native recipe as it is now part of oe-core.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-01-11 00:50:01 +05:30
Dmitry Baryshkov 990061ec89 Merge pull request #560 from lumag/fix-8150-fw
firmware-qcom-sm8150-hdk: fix GMU binary installation
2024-01-09 17:22:12 +02:00
Dmitry Baryshkov 7818f9c246 Merge pull request #563 from lumag/linux-yocto-6.6
Update Linux yocto to v6.6
2024-01-09 16:58:42 +02:00
Dmitry Baryshkov b8f83a310e Merge pull request #561 from lumag/fdo-drop-xa
mesa: stop requiring the XA tracker
2024-01-09 11:02:07 +02:00
Dmitry Baryshkov 5e63b44cd8 linux-yocto: missing features support on qrb4210 / RB2
Import upstream patches to add support for interconnect, WiFI, BT and
MPSS on the RB2 platform. This also brings up several USB-related fixes
for the mentioned platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-08 03:23:05 +02:00
Dmitry Baryshkov 5b327d80ad linux-yocto: import the MDSS registers interconnect series
Import the series casting the vote on the MDSS configuration registers
bus connection. This also moves the DT bindigns patch from the RB1
features series to the more correct place, together with these patches.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-08 03:11:30 +02:00
Dmitry Baryshkov 8cfdec868a linux-yocto: enable MPM on QRB2210 / RB1 platform
Backport patches enabling support for MSM Power Manager on the RB1
platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-08 03:11:30 +02:00
Dmitry Baryshkov 08dfb17c79 linux-yocto: import RB1 features series
Import the patchset for RB1, enabling HDMI output, CAN and fixing WiFi
variant.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-08 03:11:28 +02:00
Dmitry Baryshkov f62c3f9415 linux-yocto: import non-ICC features series for RB1 board
Import patches enabling RB1 'sans ICC' features series.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-08 03:10:22 +02:00
Dmitry Baryshkov bad8f73d62 linux-yocto: stop overriding QCOM_WDT=y in qcom-qcm6490.cfg
Main qcom.cfg has QCONFIG_QCOM_WDT=y, stop overriding it in qcom-qcm6490.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-08 00:39:16 +02:00
Dmitry Baryshkov fee45f1c78 linux-yocto: rebase to 6.6
Upgrade linux-yocto recipe to work on top of linux-yocto_6.6 from
the master branch.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-01-07 03:23:30 +02:00
Dmitry Baryshkov eb46e24f66 mesa: stop requiring the XA tracker
The XA tracker is only useful for the VMWare DDX driver. Drop it from
PACKAGECONFIG_FREEDRENO. The XA tracer has been used for the
xf86-video-freedreno DDX, but it has been replaced with the generic
modesetting driver.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-12-28 00:26:31 +02:00
Dmitry Baryshkov c9d01d851d firmware-qcom-sm8150-hdk: fix GMU binary installation
Current recipes ends up installing a640_gmu.bin to ${FW_QCOM_PATH}
(/lib/firmware/qcom/sm8150), while it should be installed to
${FW_QCOM_BASE_PATH} (/lib/firmware/qcom/). Install it manually to fix the
installation path.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-12-22 02:24:47 +02:00