aboutsummaryrefslogtreecommitdiffstats
path: root/conf
AgeCommit message (Collapse)Author
2018-06-28conf: machine: *.conf: added overwrite options for all machinesmortyThorben Vornholz
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> (cherry picked from commit dfe5d143de324812ea63d4f535bf0203018ff192)
2017-11-08dragonboard820c: include firmware packageNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 96458cb6783e06a6a80cb5be9ccdafd897a7ddf7)
2017-11-08firmware-qcom-dragonboard410c: remove ACCEPT_EULA variableNicolas Dechesne
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> (cherry picked from commit f99e865f8944bc5a935a87bf289d322e898413cd)
2017-10-16dragonboard410c/820c: switch from Image to Image.gzNicolas Dechesne
LK can boot compressed image , and support for building compressed image was fixed in OE/core, in 241cc3083f kernel.bbclass: fix KERNEL_IMAGETYPE(S) for Image.gz so let's switch to it. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2017-06-23dragonboard820c: add firmware for ath10kNicolas Dechesne
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)
2017-05-09firmware-qcom-dragonboard: upgrade to r1032.1Nicolas Dechesne
Qualcomm has release Linux BSP firmware package r1032.1. Main changes are the following: * new LICENSE/EULA that allows redistribution * new SBL with support for CDT partition and LK signing * new DSP firmware with GPS and audio coexistence Since the new license allows redistribution, the firmware is no hosted on 96boards.org and the file is published as a standard ZIP file, not a self extractable archive as before. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 3e8c6e4de8c8a517d009bbd4449744b922fa3e5d)
2017-04-14dragonboard820c: rename kernel recipeNicolas Dechesne
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)
2017-03-01apq8096: enable freedreno graphicsNicolas Dechesne
Add SoC customization for mesa, gstreamer and xorg. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-12-22machine: apq8096: set pagesize to 4096Nicolas Dechesne
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>
2016-12-16xserver-xorg: switch to modesetting with glamor by defaultNicolas Dechesne
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>
2016-10-14linux-linaro-qcomlt: add 4.7 release branch for APQ8096 machinesNicolas Dechesne
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)
2016-09-22dragonboard-410c: create 32-bit machine configurationAndrey Konovalov
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>
2016-09-19dragonboard-{410c,820c}: remove unused variableNicolas Dechesne
CMDLINE is not used anywhere, remove it to avoid confusion. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-09-06linux-qcom-bootimg: consolidate deployment stepsMatt Madison
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>
2016-07-14Merge branch 'jethro'Nicolas Dechesne
2016-07-14machine: add dragonboard 820cNicolas Dechesne
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>
2016-07-05Merge branch 'jethro' into krogothNicolas Dechesne
2016-07-05sd-600eval: add new machineNicolas Dechesne
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>
2016-07-05improve spacing and indentation in machine configuration files and recipesNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-07-05machine: set SOC_FAMILY for apq8064 and apq8016 based machinesNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-07-05ifc6410: split machine configuration fileNicolas Dechesne
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>
2016-07-05dragonboard-410c: split machine configuration fileNicolas Dechesne
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>
2016-07-04Merge remote-tracking branch 'github/jethro' into krogothNicolas Dechesne
2016-06-30dragonboard-410c: remove efi , add ext2 in MACHINE_FEATURESNicolas Dechesne
efi had been added by mistake initially, and should not have been there. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-06-30dragonboard-410c: set KERNEL_DEVICETREE in machine configuration fileNicolas Dechesne
instead of in the kernel recipe. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-06-24machine: dragonboard410c: add wcnss-start package when wifi is enabledNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-06-24machine: dragonboard410c: add bluez5-noinst-toolsNicolas Dechesne
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>
2016-05-02Merge branch 'jethro'Nicolas Dechesne
2016-04-28dragonboard-410c: add wcnss-config package in all imagesNicolas Dechesne
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>
2016-04-10dragonboard-410c: Freedreno needs libint10 and exa xserver pluginsKhem Raj
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>
2016-04-04dragonboard410c: ifc6410: provide better name and descriptionNicolas Dechesne
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>
2016-03-17qcom eula: EULA variable were changed to match expectations from OE RPBNicolas Dechesne
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>
2016-02-09conf/layer.conf: allow adding recipes based on current enabled layersNicolas Dechesne
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>
2015-12-11dragonboard-410c: add all kernel-modules in MACHINE_EXTRA_RRECOMMENDSNicolas Dechesne
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>
2015-11-06dragonboard-410c: do not include linux-firmware by defaultNicolas Dechesne
Currently , we do not need any firmware from linux-firmware anyways.. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-21ifc6410: dragonboard410c: only generate ext4.gzNicolas Dechesne
Image format ext4.gz is enough, not need to deploy .ext4 as well.. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-19dragonboard-410c: recommend wifi modulesKoen Kooi
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>
2015-10-14meta-qualcomm: the layer was renamed meta-qcomNicolas Dechesne
So this commit updates README and layer.conf file. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-13dragonboard-410c: include the proprietary firmware if EULA was acceptedNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-13firmware: add recipe for DragonBoard 410c firmware fileNicolas Dechesne
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>
2015-10-12ifc6410: mount firmware partition at bootNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-12dragonboard-410c: switch from 4.0 to 4.2 kernelNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-12dragonboard-410c, ifc6410: create ext4.gz as wellNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-12ifc6410: ensure proper image size are generatedNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-12ifc6410: dragonboard410c: add mesa-driver-msm is added in wayland imagesNicolas Dechesne
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>
2015-10-08conf: add EULA fileNicolas Dechesne
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>
2015-09-03dragonboard410: align rootfs size on 4096Nicolas Dechesne
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>
2015-07-30dragonboard-410c: add support for openglNicolas Dechesne
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>
2015-07-30dragonboard-410c: add machine configKoen Kooi
[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>
2015-07-30ifc6410: rework XSERVER variable definitionNicolas Dechesne
* simplify the management of the opengl DISTRO_FEATURE * add fbdev when !opengl Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>