aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/dragonboard-410c.conf
AgeCommit message (Collapse)Author
2018-04-10machine: do not use _append for IMAGE_FSTYPESimage-fstypesNicolas Dechesne
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>
2018-03-05dragonboard-410c.conf: define default u-boot machineRicardo Salveti
As DB410c is supported by u-boot upstream, define default machine configuration. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
2017-12-06dragonboard-410c.conf: add wic.bmap image typeHéctor Orón Martínez
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>
2017-11-24dragonboard-410c.conf: use wic.gz by defaultRicardo Salveti
Prefer the compressed version of the sdcard image by default as it is substantially smaller. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
2017-11-12Merge pull request #49 from madrypl/master-sdcard-image-supportNicolas Dechesne
Bootable SD card image - master
2017-11-12sdimg: use WIC to assemble sd-card imageArtur Mądrzak
2017-11-07firmware-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>
2017-11-04sdimg: build bootimg for sd-cardArtur Mądrzak
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 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)
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-05improve spacing and indentation in machine configuration files and recipesNicolas Dechesne
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-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-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-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>
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-13dragonboard-410c: include the proprietary firmware if EULA was acceptedNicolas 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: 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-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>