Age | Commit message (Collapse) | Author |
|
In preparation to allowing rootfs specifications other than just a
device node, move '/dev/' prefix from linux-qcom-bootimg.inc to
individual machine config files.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
(cherry picked from commit 2a7b633ebe3af248febaf51bdfdd58c3489df18b)
|
|
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
(cherry picked from commit 65be9bd6a5fa96dd4ee441901b1fa464b72dfc98)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
This configuration recipe for wireless and bluetooth is deprecated now
remoteproc start is handled by rmtfs.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
New bootloader comes with new partitions to store rmtfs firmware [1].
[1] https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git/commit/?id=04008fd6570b566041e6ded5df738068416607e3
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Switch to use a Cortex A53 tune file as it is now available in OE-Core.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|
Adding overwriting options to certain variables to supply i.e. a different
kernel version or another serial output without having extra files. This also
allows setting these values via environment.
Signed-off-by: Thorben Vornholz <thorben.vornholz@baslerweb.com>
[nicolas.dechesne@linaro.org: extended initial PR to apply to all machines, not
just 820c]
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
As discussed on https://github.com/ndechesne/meta-qcom/issues/61, using _append
will modify IMAGE_FSTYPES unconditionnally and won't give DISTRO a chance to
override.
Let's set sane, default settings using ?= (or +=). If a DISTRO wants to change
them, we suppose they know what they do, and overwrite correctly.
Reported-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
As DB410c is supported by u-boot upstream, define default machine
configuration.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
It would allow us to avoid uncompressing wic image every time
we update SD card with new image using bmap-tools.
Signed-off-by: Héctor Orón Martínez <hector.oron@collabora.co.uk>
|
|
Prefer the compressed version of the sdcard image by default as it is
substantially smaller.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
Bootable SD card image - master
|
|
|
|
Since r1032.1 the Qualcomm firmware have been released with a license that
allows redistribution. And the file is now available publicly without the need
for user to read/accept EULA. As such, we remove the constraint on meta-qcom as
well.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
|
|
LK can boot compressed image , and support for building compressed image was
fixed in OE/core, in
cfc0c89765 kernel.bbclass: fix KERNEL_IMAGETYPE(S) for Image.gz
so let's switch to it.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(cherry picked from commit 460dd30b384a1cd6253aa076f68316f772ec9215)
|
|
This 32-bit machine is not intended to build 32-bit linux kernel,
so it uses "linux-dummy" for virtual/kernel provider, and doesn't
include the kernel into the rootfs image.
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
|
|
CMDLINE is not used anywhere, remove it to avoid confusion.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
into a single do_deploy_append for all targets, and move
the machine-/SoC-specific bootimg creation settings into
the relevant configuration files.
Signed-off-by: Matt Madison <matt@madison.systems>
[nicolas.dechesne@linaro.org: move dt image symlink creation]
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
In order to support more apq8016 based boards, let's split the dragonboard 410c
machine configuration file and create apq8064.inc, which is meant to contain
variables common to all 8016 based machines.
Later on, we will add support for SOC_FAMILY as well. This commit should be a
no-op.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
efi had been added by mistake initially, and should not have been there.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
instead of in the kernel recipe.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Bluez5 provides a tool called btmgmt that can be used to set/reset BT MAC
address. On DragonBoard 410c, there is no MAC address stored on the board, so we
will use this tool to set the BT MAC address at run time.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
this package contains WCN related config files (WLAN/BT) which are needed in all
images intended to run on dragonboard-410c.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Now that the layer shows up in the OpenEmbedded layer index, let's try to have
better descriptions.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
OE RPB setup scripts have a generic EULA implementation that can be used with
any BSP layer. This implementation is making a few assumptions:
* the BSP layer requires EULA is conf/eula/$MACHINE exists
* the user has accepted the EULA if ACCEPT_EULA_$MACHINE is set to 1
This commit implements these changes.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Instead of adding each module, one by one, rely on the kernel config and include
them all.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Currently , we do not need any firmware from linux-firmware anyways..
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Image format ext4.gz is enough, not need to deploy .ext4 as well..
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
This makes wifi work out of the box:
root@dragonboard-410c:~# dmesg | grep wcn | grep -v Cap
[ 0.224776] irq: no irq domain found for /soc/wcnss-smp2p/slave-kernel !
[ 2.074374] remoteproc0: Direct firmware load for wcnss.mdt failed with error -2
[ 4.953539] wcnss: IRIS Reg: 0x51120004
[ 5.165072] remoteproc0: Booting fw image wcnss.mdt, size 7260
[ 8.576187] wcnss: received WCNSS_CBC_COMPLETE_IND from FW
[ 8.577049] wcn36xx-msm a000000.qcom,wcn36xx: wcn36xx_msm_probe initialized
[ 8.596453] wcn36xx wcn36xx: Direct firmware load for wlan/macaddr0 failed with error -2
[ 8.596545] wcn36xx wcn36xx: Failed (-2) to read macaddressfile wlan/macaddr0, using a random address instead
[ 8.606677] wcn36xx: mac address: 00:0a:f5:3e:dd:52
[ 9.019923] wcn36xx: firmware WLAN version 'WCN v2.0 RadioPhy vRhea_GF_1.12 with 19.2MHz XO' and CRM version 'CNSS-PR-2-0-1-2-c1-00010'
[ 9.020020] wcn36xx: firmware API 1.5.1.2, 41 stations, 2 bssids
[ 48.928342] wcn36xx: ERROR SMD_EVENT (259) not supported
[ 112.929315] wcn36xx: ERROR SMD_EVENT (259) not supported
After configuring connman:
root@dragonboard-410c:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP8000> mtu 1500 qdisc mq qlen 1000
link/ether 00:0a:f5:3e:dd:52 brd ff:ff:ff:ff:ff:ff
inet 172.20.0.139/24 brd 172.20.0.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::20a:f5ff:fe3e:dd52/64 scope link
valid_lft forever preferred_lft forever
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>
|
|
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>
|
|
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>
|
|
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>
|
|
[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>
|