Age | Commit message (Collapse) | Author |
|
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>
(cherry picked from commit 2fab6d1bda53a4784971d7ab24316b00fe79f0f4)
|
|
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>
|
|
we might need to do some customization (bbappend, or new recipes) only if our
BSP layer is used with others layers. So this commit will dynamically include
*.bb and *.bbappend from <other layer>/*, for each layer currently in use.
This is reusing the logic found in meta-fsl-arm.
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>
|
|
So this commit updates README and layer.conf file.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
The firmware for DragonBoard 410c are publicly available on Qualcomm Developer
Network website, but distributed with a specific EULA.
To manage the EULA, we are reusing the unpack functions from meta-fsl-arm, and
the user is required to explicitely accept the EULA by adding the following in
local.conf:
ACCEPT_QCOM_EULA="1"
If that variable is set, it is assumed that EULA was accepted and the firmware
can be added into the image.
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>
|
|
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>
|
|
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>
|
|
* simplify the management of the opengl DISTRO_FEATURE
* add fbdev when !opengl
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>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
- create meta-qualcomm OE layer
- add README and license file
- create machine configuration for ifc6410, using the 3.4+freedreno kernel
- configure freedreno in mesa, and create xf86-video-freedreno recipe
This has been tested with distro-less OE-core on IFC6410
meta = "master:6bc3696d8451a23d743daf03ee98c4ba54ce4551"
Using the following extra configuration in local.conf:
DISTRO_FEATURES_append = " opengl"
CORE_IMAGE_EXTRA_INSTALL += "mesa-demos"
VIRTUAL-RUNTIME_graphical_init_manager = ""
glxgears was tested using the GPU firmware from the Inforce BSP v1.5 release.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|