aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-12-05Revert "Efi boot support"revert-548-efi-bootDmitry Baryshkov
2023-12-05Merge pull request #548 from quic-vkraleti/efi-bootDmitry Baryshkov
Efi boot support
2023-12-05esp-qcom-image: Add an image recipe to generate ESP binaryViswanath Kraleti
ESP (EFI System Partition) is used by UEFI to start kernel and various utilities. An ESP contains the bootloaders, kernel image, dtb files and optionally initrd. ESP is formatted as a FAT filesystem. esp-qcom-image recipe generates an ESP binary (efi.bin) by combining systemd-boot as a boot manager, Linux kernel UKI, systemd.efi, and DTB files that UEFI can load. Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2023-12-05linux-yocto: Generate UKI for kernelViswanath Kraleti
Inherit uki bbclass to generate UKI with kernel Image. Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2023-12-05linux-qcom-bootimg: Fix a typo in adding task dependenciesViswanath Kraleti
Make sure qcom_img_deploy task run only after initramfs is available Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2023-12-05linux-qcom-bootimg: Read dtb from KERNEL_DTBDESTViswanath Kraleti
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-05classes: Add bbclass for generating UKIViswanath Kraleti
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-05systemd-boot: Add recipe to compile nativeViswanath Kraleti
systemd-boot native recipe provides ukify tool to build UKI images for systemd-boot Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2023-12-04Merge pull request #556 from lumag/adreno-fwDmitry Baryshkov
Add Adreno firmware to the packaged firmware for several boards
2023-12-01Merge pull request #555 from lumag/linux-yocto-updateDmitry Baryshkov
Update linux-yocto support for armv8 Qualcomm boards
2023-11-29firmware-qcom-sm8150-hdk: package Adreno firmware for SM8150-HDKDmitry Baryshkov
In order to package Adreno ZAP shader, add the following line to local.conf: ADRENO_URI:pn-firmware-qcom-sm8150-hdk = "file:///PATH/proprietary-sm8150-hdk-1.1.tar.gz;striplevel=5;fwpath=vendor/firmware" Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-29firmware-qcom-sm8350-hdk: package Adreno firmware for SM8350-HDKDmitry Baryshkov
In order to package Adreno ZAP shader, add the following line to local.conf: ADRENO_URI:pn-firmware-qcom-sm8350-hdk = "file:///PATH/proprietary-sm8350-hdk-1.1.tar.gz;striplevel=5;fwpath=vendor/firmware" Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-29firmware-qcom-ifc6560: package Adreno firmware for IFC6560Dmitry Baryshkov
In order to package Adreno ZAP shader, add the following line to local.conf: ADRENO_URI:pn-firmware-qcom-ifc6560 = "file:///PATH/proprietary-ifc6560-1.1.tar.gz;striplevel=6;fwpath=firmware" Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-29firmware-qcom-adreno: package Adreno-specific firmwareDmitry Baryshkov
Adreno firmware is not a part of the NON-HLOS.bin, but it can be found inside the vendor-provided 'proprietary.tar.gz' archives. Add support for packaging Adreno zap shaders from such archives. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-29linux-yocto: enable misc devicesDmitry Baryshkov
Enable the following devices: - CCI, CamSS, camera subsystem - Venus, V4L video encoder / decoder - AF_CAN and mcp251xfd - ATL1C (network found on db820c) - SMSC USB251X Hub driver - Coresiht subsystem - Perf events to get ARMv3 PMU Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-29linux-yocto: enable support for sm8450 platformsDmitry Baryshkov
Enable support for the Qualcomm SM8450-based devices (e.g. SM8450-HDK). Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-29linux-yocto: enable WiFi, PHY and temp-alarm modules on sdm845Dmitry Baryshkov
Enable USB, WiFI and LMH on Qualcomm Robotics RB3 aka Dragonboard845c. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-28linux-yocto: compile rpmsg qcom_glink_smem as built-inDmitry Baryshkov
Enable CONFIG_RPMSG_QCOM_GLINK_SMEM=y instead of being selected as module to fix configuration issues on RB5 board. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-28linux-yocto: enable WiFi on msm8996 platformsDmitry Baryshkov
Enable WiFi on APQ8096 Dragonboard820c. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-28linux-yocto: enable WiFi on sm8250 platformsDmitry Baryshkov
Enable WiFI on Qualcomm Robotics RB5 platform. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-28linux-yocto: enable WiFi SoftMAC modulesDmitry Baryshkov
Enable prerequisites to enabling WCN36xx / ath10k/ ath11k modules. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-28linux-yocto: add QCA6390 DTS patchesDmitry Baryshkov
Enable WiFI/BT control on SM8250-based platforms (i.e. QRB5165 RB5). Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-28linux-yocto: add patches for the qca6390-like devicesDmitry Baryshkov
Add patchseries enabling control over WiFi/BT chips found on SM8x50 platforms. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-22Merge pull request #554 from lumag/fix-warningsDmitry Baryshkov
qcom-armv8a: fix the freshly introduced warnings
2023-11-22qcom-armv8a: fix the freshly introduced warningsDmitry Baryshkov
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-22Merge pull request #553 from chirag-jn/adbfixDmitry Baryshkov
android-gadget-setup: fix conditional argument to assign serial variable
2023-11-22android-gadget-setup: fix conditional argument to assign serial variableChirag Jain
Change the conditional argument to check if androidserial is non-empty. The condition `[ -n ]` when `androidserial` is empty is equated to `false` which results in an non-zero status from `android-gadget-setup.machine`. /usr/bin/android-gadget-setup starts with `set -e` is used to change behavior of the shell in various ways. `-e` option causes the shell to exit as soon a command exits with a non-zero status. Hence, executing `true` in the end results in a zero exit status in all cases, which suffices the condition for `set -e`, hence unblocking android-tools-adbd service when `androidserial` is not defined. Signed-off-by: Chirag Jain <quic_chirjain@quicinc.com>
2023-11-21Merge pull request #552 from lumag/default-kernelDmitry Baryshkov
qcom-common.inc: make it less insisting on the default kernel
2023-11-21qcom-common.inc: make it less insisting on the default kernelDmitry Baryshkov
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-21Merge pull request #541 from adhudase/qcm6490_rb3Dmitry Baryshkov
linux-yocto: add support for QCM6490 RB3 board
2023-11-21qcom-armv8a: add configuration for QCM6490 IDP and Robotics RB3 Gen2Atul Dhudase
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-21linux-yocto: qcom-armv8a: add config fragment for QCM6490Atul Dhudase
Add QCM6940 specific kernel configs to support QCM6940 IDP and RB3 Gen2 boards on linux-yocto. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: remove voltage voting for USB rails for qcm6490Atul Dhudase
USB driver does not vote for voltage on hsphy and ssphy rails. Due to which the initial voltage set by bootloader is overridden by regulator framework with min voltage specified on regulator registration. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Remove voltage vote support for UFS for IDP and RB3Atul Dhudase
UFS rails have different voltage requirement for UFS2.x v/s UFS3.x. Bootloader sets the proper voltage based on UFS type. There can be case where the voltage set by bootloader is overridden by HLOS client. To prevent above issue, Add change to remove voltage voting support for UFS rails. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: disable sdhc1 dt node for ufs targetAtul Dhudase
Disable sdhc1 for QCM6490 for ufs boot target to avoid probe for sdhc1 as vreg_l7b_2p9 is shared regulator for both ufs vcc and emmc vcc. Currently this is causing probe failure for ufs. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Add board-id and msm-id for qcm6490Atul Dhudase
Add board-id and msm-id for QCM6490 IDP and RB3 platform as a workaround for picking correct DTB. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Add UFS nodes for qcm6490 idp and rb3Atul Dhudase
Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: add devicetree file for QCM6490 RB3 Gen2Atul Dhudase
Add device tree file for Robotics RB3 Gen2 board for qcm6490 SoC. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Add QCM6490 IDP boardAtul Dhudase
Document the qcom,qcm6490-idp board based off qcm6490 SoC. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Add gpio-reserved-ranges for QCM6490 boardsAtul Dhudase
Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Update the protected clocks for QCM6490Atul Dhudase
Certain clocks are not accessible on QCM6490 board and thus require them to be marked protected. Also disable the LPASS nodes which are not to be used. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: add interconnect paths to UFSHC for SC7280Atul Dhudase
QCOM UFS host controller requires interconnect path configuration for proper working. So add them for SC7280 SoC. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: add UFS support for sc7280Atul Dhudase
Add UFS support for sc7280 boards. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: add devicetree file for QCM6490Atul Dhudase
Add qcm6490 devicetree file for QCM6490 SoC and QCM6490 IDP platform. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Add support to skip PLL configuration for sc7280Atul Dhudase
On certain targets the PLL configuration should be skipped, thus add a device property to support the same. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Enable the force mem core for UFS ICE clockAtul Dhudase
Enable the force mem core for UFS ICE clock. Update the gdsc transition delays to the recommended values for functional correctness. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: Add Phy Configuration support for SC7280Atul Dhudase
Add SC7280 specific register layout and table configs. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-21linux-yocto: add dma-buf support and fixesAtul Dhudase
Add proper kref handling on dma-buf heaps. Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
2023-11-20Merge pull request #550 from lumag/kirkstone-ciDmitry Baryshkov
CI: use sdx55-mtp for kirkstone
2023-11-20CI: use sdx55-mtp for kirkstoneDmitry Baryshkov
The kirkstone branch wasn't migrated to qcom-armv7a-modem machine. Continue using sdx55-mtp for the CI on that branch. Fixes: 61f8d5b5af0e ("CI: switch from sdx55-mtp to qcom-armv7a-modem") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>