summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2018-01-16i.MX6: u-boot: Update patch for u-boot-script-boundaryMihail Grigorov1-10/+14
Now u-boot should switch in HD resolution Change-Id: I4451746dc9a364af3460339c0a54f364e0606491 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
2017-12-22weston-ini-conf: Disable kingfisher's 2nd and 3rd outputHarunobu Kurokawa2-0/+9
Kingfisher has tree display output, currently AGL use only one output from micro HDMI. Change-Id: Ife61da4bfd2127a49c50247c26d8a7693960d439 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-12-20Adding lua to Host SDKRomain Forlot1-0/+1
Bug-AGL: SPEC-1215 Change-Id: I32cb7e3aeb8e4decafb3bf4b76b4ee7e39b10226 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Add SCHED_DEBUG and PROC_EVENT config fragmentFrode Isaksen2-0/+3
Needed by blsched user space big.LITTLE scheduler. Change-Id: I7920c6b7796064636756edd7f62a0dd765e54508 Signed-off-by: Frode Isaksen <fisaksen@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12403 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-13Enabled general Intel bluetooth driver support instead of specific one.Kien Dinh2-7/+4
ibt-11-5 is the specific firmware for Joule. The image for IA should be able to include multiple firmware, including this one. For having the firmware in the image, please include linux-firmware-ibt by IMAGE_INSTALL_append = ' linux-firmware-ibt' Change-Id: I4451dbbf54145df784b763dd3ef924d8a7ac8863 Signed-off-by: Kien Dinh <kien.t.dinh@intel.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12421 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-13meta-intel: Ensure we pass the microcode as initrd in wic imagesTom Rini2-2/+2
We need to ensure that the microcode is passed to the kernel as an initrd to allow for application of required updates. Bug-AGL: SPEC-1173 Change-Id: I37a2ca401df9a9c17cf2d3a60151af639a3aba28 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12451 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-10meta-intel: Switch to using WIC images onlyTom Rini4-25/+44
The hddimg format has a hard-stop at 4GB sized images. We can trigger this rather easily at this point under agl-demo-platform-crosssdk. WIC images do not have any such limitation, so we remove hddimg from the list of built images. The main impact of this is that whereas before we would modify the default kernel command line via APPEND in the conf file we would now modify it via the wks file we create for each platform and that mkefi-agl.sh is now redundant. These wks files are based on the systemd one but also reflect the design of mkefi-agl.sh in that they drop the swap partition. Much of the APPEND commentary is moved to the wks file and we remove some irrelevant comments as well. Bug-AGL: SPEC-963 Change-Id: If667e1f946e4b9793b63f6d7f572d56d73e35767 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12159 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-12-08linux-renesas_%.bbappend: Fix ath9k_htc.cfg and rtl_sdr.cfgLeon Anavi1-4/+0
Files ath9k_htc.cfg and rtl_sdr.cfg are provided by linux-agl.inc. As of the moment there is no need linux-renesas_%.bbappend also to provide them and furthermore this patches fixes the kernel build. Bug-AGL: SPEC-1152 Change-Id: I29ddac799469e0a3107037bb11918c228d10b5db Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12297 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-01meta-agl-bsp: move usbaudio.cfg to linux-agl.incMatt Porter3-1/+3
USB audio should be enabled for all AGL BSPs. Move the usbaudio.cfg from the Renesas BSP bbappend (it's actually not even used there as the fragment is not being appended) to linux-agl.inc and append it. Bug-AGL: SPEC-1148 Change-Id: I219d0d0355a4d57f883086631e07f3d191be2975 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12253 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-30Fix Linux Kernel fragment for netbootKotaro Hashimoto1-1/+1
Previous change caused issue of missing nbd.cfg at bitbaking for non-netboot environment. This patch fix netboot setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/12063/ Change-Id: I61a9e2ac9aecc98b6a379c4587a025710aaebfbb Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12215 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-30meta-agl-bsp/meta-rcar-gen3: Add default asound.state fileTom Rini2-0/+322
The m3/h3 platforms have certain mixer settings that must be enabled and levels set before anything will be heard. Provide a default that sets this to a comfortable default along with other volumes. Bug-AGL: SPEC-792 Change-Id: I1b983b75fd580ae39495a47058bb568b7f75a479 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12199 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-27Added XDG compatibility to ivi-shellRomain Forlot1-0/+0
Backported M.Teyfel patch from wayland-devel mailing list: https://lists.freedesktop.org/archives/wayland-devel/2017-November/035700.html Upgrade wayland-ivi-extension to v2.0.2 but keep using 1.1x for now with PREFERRED_VERSION until HMI could use the new version. Added Emre Ucan simple-id-agent to review. Bug-AGL: SPEC-1096 Change-Id: I74c4ae0bf0bf822e27dcbb193dc9f7a13d3e270d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11991 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp> Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22Add sota support for Renesas R-Car M3Anton Gerasimov2-0/+2
Everything for R-Car M3 support is in place, just DISTRO_FEATURES 'sota' was missing. Change-Id: Ib22ee4ace894ff5426ba4f06c7ec8bd208cb4e5f Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12091 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini46-553/+83
- All kernel recipes must inherit linux-agl.inc - All kernel recipes for a given version (e.g. 4.9) should include linux-VER-agl.inc in order to avoid duplication (such as the SMACK label patch or security fixes) - We enforce having merge_config.sh be invoked at the end, in order to make sure fragments will be applied. - Add a new fragment for Raspberry Pi to ensure the Pi Touchscreen is still enabled. With all of the above, we fix a number of minor issues as well, such as platforms manually enabling NBD/RAMDISK for netboot as the previous logic was not working in all cases. Bug-AGL: SPEC-946 Change-Id: Ic688e899df5861d83712af12d8e1c6c3c9643300 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12063 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-14Add Logicool G29 steering wheel kernel configYuichi Kusakabe1-0/+3
AGL simple CAN simulator use Logicool G29 steering wheel, shift knob and pedal. https://gaming.logicool.co.jp/ja-jp/product/g29-driving-force Change-Id: I4b6ed6a5e1592c6aa4075d7d3e89ec90c006f7dd Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11919 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-08meta-agl-bsp: kernel: remove linux-boundary defconfig from meta-freescale-layer.Mihail Grigorov2-457/+0
Its do not needed anymore here, because we started to using meta-boundary layer Bug-AGL: SPEC-905 Change-Id: I179ac8747fe24293be89d3138f54589511ed2b63 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11749 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-31meta-agl-bsp: templates: update of nitrogen6x machine templateMihail Grigorov1-0/+5
Bug-AGL: SPEC-905 Change-Id: I959a9f8d085b0fb247998790191c3dcf2e4e34fa Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11567 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Matt Porter <mporter@konsulko.com>
2017-10-31imx6qsabrelite starts to using 'meta-boundary' layerMihail Grigorov1-2/+3
a) Adding 'meta-boundary' to bblayers.conf. b) Prevent of build errors from missing bb files (firefox, chromium), with help of BBMASK variable. Bug-AGL: SPEC-905 Change-Id: Id0b823d4f0e8977206dbd22684e0d2cf9e88465f Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11569 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Matt Porter <mporter@konsulko.com>
2017-10-31meta-agl-bsp: imx6qsabrelite: Switch to WIC imageMihail Grigorov3-3/+82
To produce a bootable WIC image, we needs to make some changes in 6x_bootscript for compatibility with WIC and SDCARD images. Because in case of WIC, we have one partition, and the kernel files are located in /boot directory. In case of SDCARD image, kernel files are in root directory of first partition. Bug-AGL: SPEC-899 Change-Id: Ie4b26a703cc468ff8c8405e957aacc2973ee289a Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11571 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Matt Porter <mporter@konsulko.com>
2017-10-29python-wand: Add patch to ensure our built ImageMagick is usedTom Rini2-1/+38
It can be slightly tricky to build a copy of python-wand that will also function. A problem is that without additional logic (MAGICK_HOME), the python code will not look outside of system paths for a copy of the imagemagick library. However, even with this path added to the search list, the code will still try a 'naked' load of the library it wants. This can result in a visible failure if you have a new enough imagemagic-6 installed (such as 6.9.7) as the date string checking logic will fail. Work around these problems by setting MAGICK_HOME globally to the correct location and patch the api code to look for the form of imagemagick that we build first, rather than last, so that we are going to first search for what we know we built. Bug-AGL: SPEC-984 Backport: https://lists.linaro.org/pipermail/openembedded/2017-October/000102.html Change-Id: I9f0e3e64ab4601845e4f336aa81ce7c3d01ff7b7 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11587 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-29meta-agl-bsp/meta-rcar-gen3: Import imagemagick_6.9.2.bbTom Rini1-0/+90
In order for python-wand to function, it must have ImageMagick 6.9.2 available. Import this recipe from meta-linaro. Bug-AGL: SPEC-984 Backport: https://git.linaro.org/openembedded/meta-linaro.git/commit/?h=pyro&id=74dacb34c13d1c85fe4627a890b9c04940f9ffeb Change-Id: I6ddda052213d41ce3de115a4a3e5cf65afeaf5ee Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11585 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-28Add joystick.cfg for usb joystick and steering-wheel kernel configurezheng_wenlong9-2/+30
Add joystick.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/10463/ Change-Id: Ie484cc8017e7198cefa0d8e7476032c325a8348d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11575 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-21R-Car Gen3: Add WIC supportTom Rini3-0/+15
Add a new wks file for the R-Car Gen3 platforms. Given that U-Boot is on-device and not updated by us, we just need to make a single partition that contains the rootfs. This matches the existing instructions. We need to include kernel-devicetree into the resulting image so that we have the device tree there to be loaded in. Bug-AGL: SPEC-899 Change-Id: Iad55ef0ed49e7a53846fa36393e71d16cd5e423d Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11391 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2017-10-20weston-ini-conf: Rework to use fragments to construct weston.iniTom Rini15-76/+70
Switch to constructing the weston.ini from fragments of files instead of variables and variable flags. This allows for much easier tracking of signatures by leveraging existing mechanisms. Update the Readme to explain how to do the various operations with fragments as well. Note that for QEMU we do not need to pass -show-cursor as it's already provided and we do want to change the VGA driver to one that reliably provides DRM support. For the HDMI connected screens, rather than name them by vendor name them first for connection and then required transformation for correct orientation. For board-specific options, move them to the board directories. When we need to change existing cfg options, rather than replace them the proper location to do this in is the do_configure function. Bug-AGL: SPEC-964 Change-Id: I2cceb4fd64f51eb2ab1d47419b77153cf02d7c12 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11375 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-18Backport fix for image class dependenciesJan-Simon Möller1-5/+9
This ports http://lists.openembedded.org/pipermail/openembedded-core/2017-September/142760.html to our local image.bbclass overlay. We see frequent issues during do_image_complete especially on the release build jobs like: https://build.automotivelinux.org/job/release-jjb-eel-snapshot/7/MACHINE=intel-corei7-64,label=agl-test-slave/console The race window shows particularly well when there is *no* parallelism. PARALLEL_MAKE = "-j1" BB_NUMBER_THREADS = "1" Also the efi bootloader packages in meta-intel seem to particularly trigger this condition which is caused by a race-condition in the yocto image generation functions and the license file handling. Bug-AGL: SPEC-643 Change-Id: I2464216b054f360647b7aec461320aa769fde65e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11351 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-14meta-agl-bsp: Make more and better use of WIC imagesTom Rini4-3/+10
- When we are using a WIC image, we should compress it (xz), provide a sha256sum of the compressed image and provide a bmap file for the uncompressed image. - Ensure that in these targets we are listing WIC as the AGL_EXTRA_IMAGE_FSTYPES to be used. - Based on the Beaglebone example, add WIC support for dra7xx-evm. The only change from Beaglebone is that we must also include uEnv.txt as this is what controls the DTB for the correct LCD. Bug-AGL: SPEC-899 Change-Id: I3f310a2eb268a4aaa0d791dfaa68d7fee350e150 Tested-by: Matt Porter <mporter@konsulko.com> (dra7xx-evm) Tested-by: Tom Rini <trini@konsulko.com> (Intel) Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11161 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14BSPs: Do not use := for AGL_DEFAULT_IMAGE_FSTYPESTom Rini5-5/+5
An OpenEmbedded best practice would be to use '=' here to allow users to append to it later on. Bug-AGL: SPEC-899 Change-Id: I5a664df7c5eb8d71f0ab6d0723292f3a187fe752 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11229 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14meta-agl-bsp: Re-merge image-vm/image.bbclass overlaysTom Rini2-7/+7
As part of the pyro merge we need to continue to overlay these classes in order to support vmdk.xz. While upstream has some of the underlying required changes, we had dropped 'vmdk' as a standalone image type and now have 'wic.vmdk' there. This was too invasive for pyro however. This in turn means that we carry vmdk.xz support here. Another part of this is that in some places we were checking only for the string vmdk but also need to check for the string vmdk.xz as well. Update these locations to use bb.utils.contains_any so that we can catch both easily. Bug-AGL: SPEC-899, SPEC-775, SPEC-776 Change-Id: I0cc3c06d59c97c0a76819209e313bc6f5495cc31 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11153 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14meta-agl-bsp: Enable WIC support for Raspberry Pi 2/3Tom Rini2-10/+26
In order to have WIC images be fully functional for both u-boot and non-u-boot we need to bring in more logic in determining what files will get mapped to what location. This is not found in meta-raspberrypi/pyro but is found in their master branch. These changes bring us in sync with meta-raspberrypi/conf/machine/include/rpi-base.inc as of their revision c26e9d3df54293a88fba047a29b335f52b01120e for Pi 2 and Pi 3. We do not attempt to bring in the additional logic they have to handle Pi 3-64 and U-Boot at this time as that is more invasive and not required for our use cases. Bug-AGL: SPEC-409 Change-Id: I642735a9be3daad96c0c1376cd6341b0697ffc09 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11207 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14meta-agl-bsp: imx6: Add EGL support for iMX6 in Weston 2.0Mihail Grigorov5-0/+388
In Weston 2.0, the EGL support was dropped from the fbdev-backend, as that was not the correct way to initialize EGL. However, the vendor support patches in Weston 1.11 still require that functionality. Restore the EGL support in the fbdev-backend, until the issue is resolved, by either adding a standalone backend, or switching to etnaviv. Bug-AGL: SPEC-905 Change-Id: I9fc00e35c2eefee07998053e1fccec6265ac3b9e Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11305 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Porter <mporter@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14meta-agl-bsp: imx6: Update the imx6sabreauto machine templateMihail Grigorov1-0/+1
* Chnage the Weston provider to Weston 2.0 Bug-AGL: SPEC-905 Change-Id: I164285dfb63491f2164d667fc51f64b66e5cee27 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11309 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Matt Porter <mporter@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14meta-agl-bsp: imx6: Update the imx6qsabrelite machine templateMihail Grigorov1-0/+34
* Add include/agl_imx6qsabrelite.inc * Change the FSL layer from meta-fsl-* to meta-freescale-* * Rename 50_bblayers.conf.inc to 40_bblayers.conf.inc Bug-AGL: SPEC-905 Change-Id: I29563fa7bc25240018383fba2b30e2171366282a Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11307 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14meta-agl-bsp: imx6: Add new defconfig for the linux-boundary kernelMihail Grigorov2-0/+457
The default configuration for the linux-boundary kernel uses AppArmor, but we want to use Smack. * Switch from using AppArmor to Smack * Enable CONFIG_HID_MULTITOUCH Bug-AGL: SPEC-905 Change-Id: Idfcad0ea4c242c30df97407a31661e02df710b2e Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11311 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Matt Porter <mporter@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-12weston-ini-conf: Make this track variables correctly for signaturesTom Rini5-4/+7
bitbake does not know to track values that are found and used via getVarFlags() without them being otherwise refernced and tracked in ways that are otherwise caught. Further given that we use multiple levels of varflags here we need to be explicit in their tracking. Add all variables that we use to varflags where they are added to the metadata. Bug-AGL: SPEC-939 Change-Id: I32cf16c4354d733e086c6ea9a845934beff94715 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11255 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11Support CANUSB deviceRomain Forlot1-0/+1
http://www.can232.com/?page_id=16 Change-Id: I0f65143a366c723937451bfbd8ed40402805136e Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10749 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11adding eGalax screen support for demoDominig ar Foll (Intel Open Source)1-0/+8
Change-Id: I4e483052a88faebf21a50515b275326628731930 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11linux-intel: Pull in common configuration fragmentsScott Murray3-20/+22
Rework things so that the common kernel configuration fragment additions are in a new include file, linux-agl.inc, and both the existing linux-yocto_%.bbappend and the new linux-intel_%.bbappend in meta-intel pull it in to pick up them up. This avoids hitting other linux-* recipes, and allows the possibility of using the include file in kernel recipe bbappends for other BSPs. Change-Id: I8f4f67c444c47b6a978d95fab660d478d5f764c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11129 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-09meta-intel: Include and deploy a startup.nsh fileTom Rini2-0/+8
On EFI systems we need to include a startup.nsh file that EFI will load and run, in the case of not having the device we're booting from be defined in the boot order. We have the kernel provide this as it is independent of boot loader. Bug-AGL: SPEC-898 Change-Id: Ifdf615e78012e2dbcbd87ee97e4c9d9a19ea01fc Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11101 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-09enable vmware drm driversMartin Kelly1-3/+2
This speeds up VMWare graphics performance. Previously, I recall this not working, but I tested again and it's working fine as long as it's compiled builtin and not as a module. Change-Id: I2efe9e5c776e74ebf92a2ff80651dee37d0c48da Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11169 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-05dra7xx-evm: fix build by including linux-dtb.incMatt Porter1-0/+2
meta-ti does not maintain a pyro branch. As such we are relying on building with the master branch. This broke due to commit 391bfb8c3002bbf5ba6a51d689a7f2ba511c6682 which removes support for linux-dtb.inc from the linux-ti-staging recipe due to an oe-core change on master. Add linux-dtb.inc to the bbappend to fix. Bug-AGL: SPEC-932 Change-Id: I3fb6799a5fe4a083159b600a81764d67e5b22771 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11149 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-28cleaning kernel config warnings under pyroDominig ar Foll (Intel Open Source)2-2/+3
Change-Id: Ica910a7ac3115df1247e60c25ee4cd53f331af47 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11025 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-26adding a symlink to keep compatibility with linux-yoctoDominig ar Foll (Intel Open Source)3-35/+13
Change-Id: Id81cb1fe7a949850aef1b4178883c853d0e07aa1 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10979 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-24meta-agl-bsp: meta-ti: Rework Weston patches for 2.0Tom Rini7-258/+21
We can drop the changes for the compositor to support RGB565 as this is now upstream. The other compositor patch is no longer relevant. The soc performance patch needs additional work to link but is also not required for overall functionality so leave that broken. For the rest of the patches we just need to make minor changes about the location of the source files now as the code has reorganized since the patches were written. Bug-AGL: SPEC-908 Change-Id: I7034219510821b8f720328318e3e560783cf16d6 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11019 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-18Add uvc.cfg for usb video class kernel configurezheng_wenlong10-0/+28
Add uvc.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. See: https://gerrit.automotivelinux.org/gerrit/#/c/10803/ Change-Id: I5faebefef3560a27496103e1ad4a1ca70377a1ba Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10893 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-17Fix rpm metadata clash due to change of rpm backendJan-Simon Möller2-0/+6
The rpm backend used in pyro changed behaviour and if multiple packages 'own' a directory the installation will fail. Inject a flag to mitigate this and avoid the break. Conflicting packages libgbm-dev and ti-sgx-ddk-um-dev on /usr/lib/pkgconfig . Change-Id: I52439d94c230a9314a543e00edd247f29d10e113 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10927 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-09-15Create virtual-gles-user-module recipesRonan Le Martret3-4/+11
* fix recipe-sysroot build dependency Change-Id: I59285efd0894592d23c9114e08dc923e168f03db Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10917 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-15Remove weston.bin pkg from gen3 machine confRonan Le Martret3-6/+0
* weston.bin should be add only with pkg-group or image recipes. * No weston on m3ulcb-nogfx Change-Id: Iaa62cbf3a07714a5c9dad014b72feb00927b1e71 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10907 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-09-15realigning Joule on kernel 4.9Dominig ar Foll (Intel Open Source)1-1/+0
Change-Id: Ie376f6dbbc31fe59fd55655eec9be8f989a8a5e1 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10897 Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-15Update rcar gen3 to BSP 2.23Ronan Le Martret1-3/+3
* WARNING: The URL to download the Renesas BSP driver are change for v2.23 https://www.renesas.com/en-us/solutions/automotive/rcar-demoboard-2.html (needed for WESTON 2.0) Bug-AGL: SPEC-890 Change-Id: Ia5c788383331cae01cf8517468c326f6368050ea Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10911 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-13Fix ovmf parallel build issueJan-Simon Möller1-0/+1
References: https://www.yoctoproject.org/irc/%23yocto.2017-04-04.log.html https://www.yoctoproject.org/irc/%23yocto.2017-09-13.log.html Upstream status: not merged Change-Id: If5643daef4c115a48f348ef3922edd5c97cd524a Bug-AGL: SPEC-873 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10887