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)
|
|
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>
|
|
The DB820c default GPT was updated such that the 'rootfs' partition is now
expected to be /dev/sda1.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
qrtr and rmtfs are very standard user space helpers when using Qualcomm
Snapdragon processors. They are used to manage services running on remote cores,
such as modem, DSP, ... While they are needed for GPS, they could be needed for
other use cases, so let's add them by default from now on, insead of as a
dependency of GPSd.
While at it, at them for 8016 and 8096 targets.
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>
|
|
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[ndec: fixed up firmware-qcom-sd-600eval]
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Now that the LT 4.14 kernel branch has support for 8096 and DB820c, let's use it
by default. We no longer need (and maintain the 4.11 based recipe). At this
point, the 4.14 recipe is expected to be used for all 8064, 8016 and 8096
machines.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
As DB820c is supported by u-boot upstream, define default machine
configuration.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
As DB410c is supported by u-boot upstream, define default machine
configuration.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
New GPT scheme has been released, and the default scheme for DB820c now has
'rootfs' partition, like on DB410c, which is /dev/sda7 on DB820c.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
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
|
|
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
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)
|
|
Dragonboard 820c comes with a QCA6174 chip, on board, let's make sure that
appropriate firmware are added to images when wifi is enabled.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(cherry picked from commit 755332b65ebe9feabf9fe357b1c3aa3ac881fa62)
(cherry picked from commit dbd4a2c6f70645b288ceec83efcbaa6287b929f6)
|
|
For Dragonboard 820c we are currently using a custom kernel branch, rename the
kernel recipe accordingly to make it more obvious that we are using such custom
branch.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Add SoC customization for mesa, gstreamer and xorg.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
On 8096 machines (with UFS) the pagesize is 4096, not 2048. Not using the right
size might create images which won't be loaded by the bootloader (lk).
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Following the recommendation from freedreno author, let's switch the DDX from
-freedreno to -modesetting.
http://bloggingthemonkey.blogspot.fr/2016/11/a-quick-note-for-usersdistros.html
The freedreno driver will remain available in the BSP layer, but it will be less
tested from now on.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Add a new recipe for the 4.7 kernel release branch , from LT git tree. This
branch is mostly used for the 8096 machines. While other machines are regularly
tested as well, the preferred kernel for 8016 and 8064 remains 4.4 branch.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(cherry picked from commit 8fbb0af6c727c2959056bafe1918dfb9df4c75ec)
|
|
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>
|
|
|
|
Add minimal machine configuration files for DragonBoard820c. It is currently
supported in the LT tracking kernel branch. The support is minimal for now, and
it will improve over time.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
|
|
The SD 600eval is an APQ8064 based boards, following the 96boards CE
specifications. More information on:
https://eragon.einfochips.com/products/sd-600eval.html
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>
|
|
In order to support more apq8064 based boards, let's split the ifc6410 machine
configuration file and create apq8064.inc, which is meant to contain variables
common to all 8064 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>
|
|
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>
|
|
There are dependencies on symbols from these modules, which is exposed
when doing plugin preload, therefore add them to image
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
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>
|