aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2018-02-13Change image type to wic.vmdkChanghyeok Bae1-1/+2
vmdk image type is changed to wic.vmdk in upstream. (From Poky rev: 9d07c736e39a9aa922630b4241eda185a19a11ea) (From OE-Core rev: 929ba563f1bc7195c4981b8e139c432b2cc388ea) Bug-AGL: SPEC-1181 Change-Id: I94fab8ce4d075776b5f72d1c270a333d6b34a4b7 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13meta-agl-bsp/classes: Remove bbclass filesChanghyeok Bae3-989/+0
1. Remove sdcard_image-rpi 2. image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types (From Poky rev: 9d07c736e39a9aa922630b4241eda185a19a11ea) (From OE-Core rev: 929ba563f1bc7195c4981b8e139c432b2cc388ea) Bug-AGL: SPEC-1181 Change-Id: Ic184ff75526b9a0e67bd9d5175e094e81d23081d Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13mesa: Arrange the recipeChanghyeok Bae2-29/+0
Bug-AGL: SPEC-1181 Change-Id: I84044c6cbfaaf7481ea35af6576d616bfbd16008 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13linux-yocto_4.4: Remove the bbappendChanghyeok Bae5-1223/+0
rocko (Yocto 2.4) is not supported linux-yocto-4.4 and those commits are already applied in upstream 4.12. Bug-AGL: SPEC-1181 Change-Id: Ic3c39c919cc488e5eb1ef3f4cd3c3db653c3c0f7 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13harfbuzz: Rename .bbappend to match new version from meta-openembeddedChanghyeok Bae1-0/+0
Bug-AGL: SPEC-1181 Change-Id: I8ddf3f2b8a56fa5ba80081eaa4e31a124be18246 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-08Merge "setup_mm_packages.sh: handle weird terminals"Jan-Simon Moeller1-3/+7
2018-02-08Merge "meta-agl-bsp/meta-rcar-gen3: Improve AUTOLOAD for kernel module."Jan-Simon Moeller3-3/+6
2018-02-06meta-agl-bsp/meta-rcar-gen3: Improve AUTOLOAD for kernel module.Harunobu Kurokawa3-3/+6
These kernel modules are used in the video driver. In addition, the H.264 transfer from the IVI System to the Cluster in AGL demo also use the encoder plugin. For this the driver needs to be loaded before weston. Bug-AGL: SPEC-1038 Change-Id: If403b7dfa5d3402070f2596ae36a3c013495aa97 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-02-05bsp: add salvator-x H3 supportMartin Kelly1-0/+3
The Salvator-X uses the same SoC as the H3 but includes other peripherals. As a result, it can reuse the same h3ulcb config but needs a different device tree and kernel config. This is already supported in meta-rcar-gen3 but needs AGL plumbing, so add it. There is also an M3 version of the Salvator-X, but I don't have one and cannot test it. So I've added support only for the H3 version here. Change-Id: I64683f4f65dda3fee63e6243f0ba916e568ca245 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-02-05setup_mm_packages.sh: handle weird terminalsMartin Kelly1-3/+7
Currently, setup_mm_packages.sh fails on terminals that won't display colors (such as my Jenkins CI setup). Tweak the code to handle this case and display an error message instead of failing. Change-Id: If18e16ed385af567801a56871542b4eb86f4588d Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-29setup_mm_packages.sh: retab consistentlyMartin Kelly1-25/+25
setup_mm_packages.sh has a mix of 8 and 4 spaces per tab, so retab it consistently to 4 spaces. Change-Id: Icdabaf8a3bc4377660ea6b5de95785a9f01bc901 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-29setup_mm_packages.sh: remove BSP version mentionMartin Kelly1-2/+2
This version gets out-of-date very quickly, and mentioning it doesn't change the URL or anything else, so let's just remove the mention of it. Change-Id: I143d81ff4d4c47814e7bddf1572c3b2c92b1291e Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-16Merge "i.MX6: u-boot: Update patch for u-boot-script-boundary"Jan-Simon Moeller1-10/+14
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>
2018-01-10i.MX6: weston: Fix for missing flagsMihail Grigorov2-0/+14
The missed flags causes a stop of transformation SPEC-1192 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Change-Id: I601d2f35d2f73055187db827cc7687a25e4d4ece
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>