aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
AgeCommit message (Collapse)Author
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-14linux-yocto/qcom: enable CONFIG_SCSIDmitry Baryshkov
CONFIG_SCSI is a requirement for CONFIG_UFSHCD and the rest of UFS symbols. It got disabled somehow, so reenable it back. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-03linux-yocto: technology preview of RB* / Dragonboard supportDmitry Baryshkov
Provide necessary configuration for the linux-yocto recipe to enable support for Qualcomm Dragonboard 410c, 820c and RB[1235] devices. This is intended as a preview for now, since only the boot-to-rootfs functionality was tested. Some of the platform support patches were not ported, connectivity and sound were not tested, etc. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-03linux-qcom-bootimg: convert to the bbclassDmitry Baryshkov
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>
2023-11-03linux-qcom-bootimg: declare variable dependencyDmitry Baryshkov
The do_qcom_img_deploy function references several variables (and flags) in a way that is not visible to bitbake. Declare vardeps manually to let bitbake know it and reschedule the function if one of variables changes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-03linux-linaro-qcomlt: drop historical kernelsDmitry Baryshkov
We do not update / support older kernels anymore. Drop recipes building those kernels. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-07-28linux-qcom-bootimg: fix the initrd image name handlingDmitry Baryshkov
Follow recent OE-core changes and include ${IMAGE_NAME_SUFFIX} into the initrd image name. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-07-28linux-linaro-qcomlt-6.4: bump SRCREVDmitry Baryshkov
Bump SRCREV to include necessary fixes for the RB2 board. This includes interconnect fixups and GPU support. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-07-25linux-linaro-qcomlt: package kernel 6.4Dmitry Baryshkov
Add recipe to build Qualcomm-targeted kernel 6.4. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-06-02linux-linaro-qcomlt_6.0: bump SRCREVDmitry Baryshkov
Bump SRCREV to include a fix for 32-bit machines and gcc-13. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-03-31linux-linaro-qcomlt-dev: fix SRCREV overrideDmitry Baryshkov
Currently linux-linaro-qcomlt-dev fails because SRCREV is applied too late to be fully processed, which results in the following bitbake error. Fix it by enforcing immediate parsing of SRCREV assignment. ERROR: /home/lumag/Projects/RPB/build-rpb/conf/../../layers/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb: AUTOREV/SRCPV set too late for the fetcher to work properly, please set the variables earlier in parsing. Erroring instead of later obtuse build failures. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-03-09kernel: switch git url to codelinaroNicolas Dechesne
Linaro git trees have been moved from git.linaro.org to git.codelinaro.org. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2022-11-21linux-qcom-bootimg: Fix SyntaxWarning messagesDaniel Thompson
Currently linux-qcom-bootimg.inc issues warnings like the following with some versions of Python 3: WARNING: linux-linaro-qcomlt-6.0-r0 do_qcom_img_deploy: .../meta-qcom/recipes-kernel/linux/linux-qcom-bootimg.inc:51: SyntaxWarning: "is" with a literal. Did you mean "=="? Using is to test for equality is wrong. is only works "by accident" and relies on some rather dubious assumptions about how CPython manages the string literal pool There are three occurrences, the first two are fixed the obvious way and the final one is simply removed because the code was unreachable anyway (the empty string already evaluates to False when used in a logic expression). Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2022-11-08linux: include qcomlt 6.0 release branch recipeNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2022-08-25linux-firmware: use alternatives for WCN6855 firmwareDmitry Baryshkov
Firmware from linux-firmware has issues on sm8450/wcn6856 platforms (inability to load board file). Allow installing alternative firmware files. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-08-25linux-firmware: stop influencing non-qcom platformsDmitry Baryshkov
The meta-qcom layer uses alternatives with the linux-firmware recipe to be able to update/override provided files. However this is against Yocto guidelines. In particular it makes the layer fail the yocto-check-layer tests. Only enable the update-alternatives when building for Qualcomm platforms. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-08-25linux-firmware: fix ALTERNATIVE override for ath6k firmwareDmitry Baryshkov
ar6004-hw13-bdata (/lib/firmware/ath6k/AR6004/hw1.3/bdata.bin) is an alternative in the linux-firmware-ath6k package, not the linux-firmware itself. Correct the override. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-05-10linux-firmware: remove alternatives for db820c and rb5 BDF filesDmitry Baryshkov
DB820c and RB5 recipes stopped providing alternatives for BDF files, as respective board files were merged upstream. Remove alternatives from the linux-firmware recipe too. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-24linux-firmware: Use nonarch_base_libdir instead of hardcoding /libKhem Raj
Using /lib is not going to work when using usrmerge distro features therefore use proper variable to adapt it to these kind of situations Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11linux-firmware: handle the conflict with firmware-ath6klDmitry Baryshkov
The file /lib/firmware/ath6k/AR6004/hw1.3/bdata.bin is provided both by linux-firmware and by firmware-ath6kl. Handled this conflict by using alternatives. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-03-24Merge pull request #431 from lumag/install-modulesNicolas Dechesne
Install modules into rootfs
2022-03-23initramfs-rootfs-image: exclude all kernel images from the imageDmitry Baryshkov
Exclude all the kernel images from this initramfs. This shrinks the initramfs for a few megs. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-03-23initramfs-rootfs-image: enable module installation on demandDmitry Baryshkov
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-03-23linux-qcom-bootimg: prevent installing /boot/Image* into rootfsDmitry Baryshkov
We do not need kernel images in the rootfs when using linux-qcom-bootimg, the image is flashed into special partition instead. So, prevent clobbering rootfs (and especially initramfs) with the kernel images. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-03-23initramfs-qcom-image: Qualcomm-specific version of initramfs-root-imageDmitry Baryshkov
Add Qualcomm-specific extension of initramfs-root-image. This initramfs image contains necessary files to probe the rootfs and pivot into it. It expected to be kept reasonably small. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-03-23packagegroup-qcom-boot: group modules required to find rootfsDmitry Baryshkov
Add a packagegroup which would recommend kernel modules (and, if required, other packages) necessary to find rootfs on supported Qualcomm boards. Probably it is not the full list (ext4 is not included for example), but it lists packages required to boot when using the vanilla kernel defconfig for arm64 platform. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-03-23initramfs-rootfs-image: add initramfs that pivots into rootfsDmitry Baryshkov
Add small initramfs image that will detect, mount and switch into specified rootfs. At this moment this recipe does not pull any kernel modules on its own, users of the initramfs have to do that on their own. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-03-06linux-linaro-qcom,lava-test-shell: Use SPDX naming convention for LICENSEKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-13linux: Update SRCREV for release/sa8155p-adp/qcomlt-5.16Bhupesh Sharma
Update the SRCREV in linux-linaro-qcomlt_5.16.bb file for sa8155p adp board, which now supports additional ethernet fixes for kernel version 5.16. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
2021-12-22Merge pull request #410 from bhupesh-sharma/move-sa8155p-adp-to-5.16-masterNicolas Dechesne
linux: Add new .bb files for release/sa8155p-adp/qcomlt-5.16
2021-12-22linux: Revert "kbuild: Enable DT schema checks for %.dtb targets" for sa8155pBhupesh Sharma
This reverts kernel commit 53182e81f47d4ea0c727c49ad23cb782173ab849 for sa8155p as it supports 5.16 kernel version now. This added tool dependencies on various build systems using %.dtb targets. Validation will need to be controlled by a kconfig or make variable instead, but for now let's just revert it. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
2021-12-22linux: Add new .bb file for release/sa8155p-adp/qcomlt-5.16Bhupesh Sharma
Create a new .bb file for sa8155p adp board which now supports kernel version 5.16. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
2021-12-22Merge pull request #405 from alimon/masterNicolas Dechesne
recipes-kernel: Linux 5.15 bump to rev 9bc25b368335 (v5.15.7)
2021-12-21linux-linaro-qcomlt-dev: remove DT-schema-disablement patchDmitry Baryshkov
Respective change was merged upstream, so drop unused patch. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-12-16recipes-kernel: Linux 5.15 bump to rev 9bc25b368335 (v5.15.7)Aníbal Limón
No custom changes, window is v5.15.6..v5.15.7. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-12-07recipes-kernel: Linux 5.15 bump to rev 43aa1d1f5fcf (v5.15.6)Aníbal Limón
Changes, 43aa1d1f5fcf Merge tag 'v5.15.6' into HEAD ... 485c2c5a3cce drivers/net/wireless/ath: ath11k wmi restore mgmt_rx_event_params.chan_freq Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-11-25Merge pull request #392 from alimon/linux_5.15Nicolas Dechesne
recipes-kernel: Linux 5.15 bump to rev 485c2c5a3cce (v5.15.4)
2021-11-24linux-linaro-qcomlt-dev: revert dtschema enforced enablingDmitry Baryshkov
There is no need to check dtb schema while building OE kernel images. Not to mention that supporting dtschema properly requires significant changes to the OE-core layer (which are still pending). With all that in mind revert the commit making dtschema validation mandatory when building individual dtb files. Revert the patch here rather than in the integration tree itself, so that users of the integration tree still can benefit from enforced dt schema validation. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>