Age | Commit message (Collapse) | Author |
|
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.
* dtbToo 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.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(cherry picked from commit 4c4994c05053e73eac3622ab6f793db3eb8dbed3)
(cherry picked from commit ae07326b0fc16237ade9d8447b96da445eb7bbf8)
|
|
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>
|
|
Backport a patch from upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
and KERNEL_CONFIG_FRAGMENTS setting to the common
include file.
Signed-off-by: Matt Madison <matt@madison.systems>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
copied from meta-96boards.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
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>
|
|
we will reuse this file for multiple kernel moving forward.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|