aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-linaro-qcom.inc
AgeCommit message (Collapse)Author
2023-08-16kernel: 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> (cherry picked from commit f6124d7878154c7f1307d3ed0abca5bdc17d3e1f)
2021-07-29linux-linaro-qcom: update LOCALVERSIONNicolas Dechesne
Fixes: 7829b0f0f691 (linux-linaro-qcomlt: move common settings to the include file) In this commit, some common config were moved into the shared include file, however LOCALVERSION was not updated based on its value in the kernel recipe. Restore LOCALVERSION to what it was before this patch. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit ede2390278bf6e0a7896d07f1f22e71a7e9d4d5e)
2021-07-28linux-linaro-qcom: simplify config handlingDmitry Baryshkov
Simplify handling of kernel config: - call sed directly from kernel_conf_variable function - split do_confugure into prepend and append functions to be wrapped around kernel_do_configure (removing make oldconfig call) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit ccbbcd8be95d663419a3d34e7e3698abafbed943) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-07-28linux-linaro-qcomlt: move common settings to the include fileDmitry Baryshkov
Move common linux-linaro-qcomlt settings to the include file, allowing recipes to contain just the 'reqiure' line and SRCREV. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 7829b0f0f6919053c7f28ab54a97634d26a00106) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-07-28linux-linaro-qcom.inc: use 'arm' override for 32-bit machinesDmitry Baryshkov
Use 'arm' override for apq8064 and sdx55 instead of specifying them one-by-one. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 85ff172c66f756e0b1649a4bd546c2de1bf586af) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-07-28linux-linaro-qcom.inc: allow recipes to override the DESCRIPTIONDmitry Baryshkov
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 65d6e3747e53cf4e6531e182f25442775b8cde43) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-04-09linux-qcom-bootimg.inc: Support to generate multiple Android boot imagesDmitry Baryshkov
Handle the creation of multiple Android boot images: set parameters like rootfs device, boot address and page size based on KERNEL_DEVICETREE. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 259d11793fd93a31874612923b4f4c63960b68cf)
2021-04-09linux-linaro: support building with multiple dtbsDmitry Baryshkov
Basing on the kernel from kernel-devicetree.bbclass support several devicetree files per machine. The first one from ${KERNEL_DEVICETREE} is used for 'default' boot images. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 0a8e0038e119e9f14a1946793ac2188e0c61e2d9)
2019-05-09meta-qcom: Add linux-linaro-qcomlt_5.1.bb kernel for DB845cAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 793cf41e45e87709c3ab4039e68dff87953e80a4)
2018-09-05kernel: append DTB to kernel imageNicolas Dechesne
Instead of using dtbTool to create a DT image , and include it into the boot image, we append DTB to the compressed kernel image. the LK bootloader knows how to retrieve DTB , when they are appeneded to compressed kernel image. Note: * it only works with compressed image. * dtbTool also typically adds msm-ids into the DTB, recent versions of LK exist that allow a single DTB to be used without the msm-ids, in which case it will work fine. when using older LK version, it is needed to patch the kernel and include the msm-ids. * QCOM_BOOTIMG_BUNDLE_DT can be unset , since we longer need the DT image to boot. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2017-05-12Revert "linux-linaro-qcom: Fix build with gcc7"Nicolas Dechesne
This reverts commit 2f6c73271d440bc78bf4a565df8bc8f0a3563eba. The same kernel patch is also there in 4.9 stable, and the kernel recipe was upgraded. Reported-by: Pramod Gurav pramod.gurav@linaro.org Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2017-04-17linux-linaro-qcom: Fix build with gcc7Khem Raj
Backport a patch from upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-02linux-linaro-qcom*: move KERNEL_DEFCONFIG settingsMatt Madison
and KERNEL_CONFIG_FRAGMENTS setting to the common include file. Signed-off-by: Matt Madison <matt@madison.systems>
2016-09-02linux-linaro-qcom*: remove duplicate appendMatt Madison
The do_compile_append is identical for both kernel recipes, so move it to the common include file. Signed-off-by: Matt Madison <matt@madison.systems>
2016-06-13linux-linaro-qcomlt: allows git location to be overriden in bbappendNicolas Dechesne
Some users need to be able to 'fork' our kernel, so let's make that possible to do that in .bbappend. For example: $ cat meta-foo/recipes-kernel/linux/linux-linaro-qcomlt_%.bbappend SRCREV="abcdefg" SRCBRANCH="somebranc-v1.0" LINUX_LINARO_QCOM_GIT="git://github.com/myproject/qcomlinux.git;protocol=https" Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-15linux-linaro-qcom: set LOCALVERSION to 'linaro'Koen Kooi
The Yocto Project is very touchy about using 'yocto' instead of 'yocto project' and it's a linaro vendor tree, not a Yocto Project one. This does make PV go backwards, but updating the kernel to 4.2.1 or 4.3.x should fix that in the near future. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-12linux: allow the kernel recipe to use defconfig from git treeNicolas Dechesne
Instead of requiring the defconfig file to be in SRC_URI, we leave the choice to the kernel recipe whether it has a local defconfif file, or if it uses a config file from the git tree directly, which can be specific with an absolute path in KERNEL_DEFCONFIG variable. If both the variable is set and the local file defconfig exists in SRC_URI, then the local file is used. This commit only adds a new feature, but none of the kernel recipe uses it for now. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-07-30linux-linaro-qcom: move COMPATIBLE_MACHINE in the .bb fileNicolas Dechesne
We want to reuse the .inc file for more machines, potentially not compatible between each other.. so let's move the COMPATIBLE_MACHINE definition in the .bb file directly, and keep the .inc generic. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-07-28linux-linaro-qcom.inc: add support for kernel config fragmentsNicolas Dechesne
copied from meta-96boards. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2014-12-30linux-linaro-qcomlt: Fix building using out-of-treeNicolas Dechesne
Since OE-Core:df9975f4 (kernel: Fix non linux-yocto builds) the way the build of kernel is done has change. Now the source code is moved placed at STAGING_KERNEL_DIR and the build is done at ${WORKDIR}/build which is B. This patch adapts the configure task prepending to cope with those changes, as well as do_compile_append that was hardcoded to work on ${S}. Patch largely inspired from: meta-fsl-arm:f69b21d3 (fsl-kernel-localversion.bbclass: Fix building using out-of-tree) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2014-12-03linux: rename linux-linaro-lt-freedreno.inc file linux-linaro-qcom.incNicolas Dechesne
we will reuse this file for multiple kernel moving forward. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>