Age | Commit message (Collapse) | Author |
|
On some Qualcomm platform, the firmware reside in their own partition, in such
situation we can mount this partition automatically at boot.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
there is no user of this kernel anymore.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
To ease the deployment on the target, build a valid boot image that can be
booted with 'fastboot boot <image>', or flashed into the eMMC with 'fastboot
flash boot <image>'.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
This is needed since the bootloader is ancient, and doens't know anything about
DTBs..
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
This recipe builds the LT release branch, and this kernel already has all the
configs properly set in arch/arm/configs/qcom_defconfig and
arch/arm64/configs/defconfig, so let's use that instead of manually importing
the defconfig as a local file at each update.
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>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
* this branch supports both IFC6410 and DB410c
* added relevant defconfig files
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
as of now, the support for boot image is missing in IFC6410 bootloader, so let's
not create the boot image. We can revisit later when proper support is
implemented in the bootloader.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
On the case of wayland, we must use the "gles2" configuration
instead of "opengl" configuration.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
So far, mesa-driver-msm is included only if/when X11 is used since we included
it through XSERVER variable. As such images with Wayland/Weston do not get it,
and will fail to use the GPU.
This commit adds mesa-driver-msm as a machine RRECOMMENDS, if opengl is enabled
in DISTRO_FEATURES. This is still not quite ideal, since we don't need it in all
images, e.g. console only image should not have it... So we still need to fix it
properly, but in the mean time this is now 'less worse'..
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Users might need to accept the EULA, in order to use the Linux Board Support
Package.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Ouch, boot image won't boot because of the typo...
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
when the .ext4 raw image is not a multiple of 4096 , fastboot will fail to cut
it into chunks when running 'fastboot flash' command.
If the image size is less than the intermediate buffer that fastboot uses to
copy the image file from host, then it won't cut it into chunks, and in that
case the alignment is not really needed, but to be safe, let's make sure all
images for this board are aligned properly.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
mmcblk0p10 corresponds to 'rootfs' partition when using the default Linux
bootloaders for DragonBoard 410c.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Add support for building the custom boot.img that can be booted on targets
running LK/fastboot. It takes care of the dt image creation as well, which needs
to be appended to the boot image.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
skales are tools to create boot images that can be loaded on target running the
QCOM LK bootloader.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
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>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
When DISTRO_FEATURES has opengl, we want to include all the proper drivers and
modules to get freedreno to run.
Note that support for Adreno 306 was added in Mesa 10.6.3 (and 10.7 branch)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
This machine is defined in meta-96boards
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
[Imported from meta-96boards, fixed up path for arm64 include]
Squashed in fixes from Nicolas:
* default UART for console is ttyMSM0
* remove earlyprintk support
* default rootfs partition on db410c is mmcblk0p10 (or
/dev/disk/by-partlabel/rootfs)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
[Imported from meta-96boards, modified to use .inc files from meta-qualcomm]
Squashed changes in from Nicolas:
* update latest 4.0 kernel
* use distro.config included in the kernel branch
* update defconfig to match the QCOM LT kernel (remove wlan and v4l2 for now
since they need firmware)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
* simplify the management of the opengl DISTRO_FEATURE
* add fbdev when !opengl
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Update kernel to Linaro 15.07 release.
Also, start using in-tree kernel config fragment.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
From:
http://cgit.freedesktop.org/xorg/driver/xf86-video-freedreno/commit/?id=33724ce4711ef98e93a9b16c1b7e974aa11086ed
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Instead of enabling for armv7a, try to be a better citizen for other BSP layers,
and only enable freedreno on machines that have Adreno GPU.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
copied from meta-96boards.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
angstrom also builds x86 images and freedreno
is not ported for it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
* update branch/commit
* update defconfig
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
it should never have been in the kernel recipe...
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
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>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
instead
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
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>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
with the recent kernel upgrade, it no longers boot without this updated
defconfig. it's the ifc6410_defconfig from Linaro 14.09 release.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Since version 1.2.0 this video driver has support for:
==
* platform-probe and autoconfig support, so no .conf file needed
with xserver 1.16+
==
However this requires Xorg 1.16 to work. As such we continue to include a custom
xorg.conf file, and this file is likely to break on non-freedreno
platforms. When Xorg is migrated to 1.16, we can remove the custom configuration
file, and solely rely on platform probe.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
see: http://releases.linaro.org/14.09/ubuntu/ifc6410/
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Other machines (e.g. genericarmv8) will pick it up and use it, leading
to errors like:
NOTE: recipe linux-linaro-lt-freedreno-3.4-r0: task do_configure:
Started
ERROR: Function failed: do_configure (log file is located at
/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/temp/log.do_configure.27740)
ERROR: Logfile of failure stored in:
/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/temp/log.do_configure.27740
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| NOTE: make oldnoconfig
| Makefile:490:
/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/git/arch/arm64/Makefile:
No such file or directory
| make: *** No rule to make target
`/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/git/arch/arm64/Makefile'.
Stop.
| NOTE: make oldconfig
| Makefile:490:
/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/git/arch/arm64/Makefile:
No such file or directory
| make: *** No rule to make target
`/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/git/arch/arm64/Makefile'.
Stop.
| ERROR: oe_runmake failed
| WARNING:
/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/temp/run.do_configure.27740:1
exit 1 from
| oe_runmake oldconfig
| ERROR: Function failed: do_configure (log file is located at
/build/jenkins/angstrom-v2014.12/machine/genericarmv8/build/tmp-angstrom_v2014_12-glibc/work/genericarmv8-angstrom-linux/linux-linaro-lt-freedreno/3.4-r0/temp/log.do_configure.27740)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|