summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
AgeCommit message (Collapse)AuthorFilesLines
2019-04-29Merge "Add ARC HSDK board support"Jan-Simon Moeller1-0/+5
2019-04-29Merge "Remove inactive devices"Jan-Simon Moeller4-110/+0
2019-04-29Remove inactive devicesJan-Simon Möller4-110/+0
Remove device which are EOL, unused or do not work. As discussed during the SAT call: - rpi2 : -- will not work for IVI due to the CPU -- use the rpi3 instead - joule : -- EOL for ~1y, no longer available for purchase, no way to test. i.MX6: Remove currently unmaintaned boards. Can re-add on request. - imx6qsabrelite: -- replaced with uprev'd imx6qsabreauto -> imx6qdlsabreauto - nitrogen6x: -- no thud branch upstream. Bug-AGL: SPEC-2323 Change-Id: I28a70dcb7b48b6a9396d3003cc34d4c1f6570eca Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-26Add ARC HSDK board supportEvgeniy Didin1-0/+5
This changeset adds the necessary files to build image for Synopsys ARC HS Development Kit (HSDK). Most of necessary tunnings are stored in meta-synopys layer. Synopsys DesignWare HSDK (which stands for ARC HS Development Kit) is the latest and greatest development platform that sports quad-core ARC HS38 in real silicon. Most noticeable features of the board are: * Quad-core ARC HS38 CPU running at 1GHz * 4Gb of DDR * Built-in Vivante GPU * Built-in Wi-Fi/Bluetooth module Peripherals: * [micro] SD-card slot * 2 USB 2.0 ports * 1Gbit Ethernet port * Built-in Digilent JTAG probe * Serial port accessible via micro-USB port New feature: SPEC-2346 Change-Id: I8772ee51cc3db9f6549da2d6a5ea2d116586cde6 Signed-off-by: Evgeniy Didin <didin@synopsys.com>
2019-04-23Fix imx6qdlsabreauto machine configurationBechir Mghirbi2-47/+20
The imx6qsabreauto target was falling behind and could not be build for GG-7.0. The commit 808fff5 from 'AGL-repo' removed reference to external repos meta-freescale-3rdparty and meta-freescale-distro. However 'meta-agl' was not updated to follow up on this change which broke configuration for imx6 based targets. This patch makes the required changes to fix the imx6qsabreauto machine configuration: - removes reference to deleted layers: meta-freescale-3rdparty and meta-freescale-distro - updates MACHINE value to imx6qdlsabreauto as defined in meta-freescale layer - deletes reference to packagegroup-fscl-* not required to build AGL - add "agl-medium-arm-compiler" to DISTRO_FEATURES so DEFAULTTUNE is correctly set to 'armv7athf-neon' v2 (jsmoeller): moved board name to match MACHINE v3 (bechir.mghirbi): - remove wayland_2.0.0 as weston_4.0.0.imx is used. - use default IMAGE_FSTYPES as bitbake is complaining that no IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdcard' - Add CFG80211 Kernel configuration Change-Id: Ib8b1d254972c737725247a5b13ce333e8ef9d4dc Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-04Upgrade to thudScott Murray6-17/+8
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-11-30Enable agl-sota for h3ulcbAnton Gerasimov4-1/+10
Change-Id: I3c2d0df6e3afd4aa0671261f7d143ac15d88a836 Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2018-11-29agl_raspberrypi3.inc: Add create-combined-dtbLeon Anavi1-1/+1
Include the recently added Yocto/OE recipe create-combined-dtb for combining dtb and dtbo to Raspberry Pi builds. Bug-AGL: SPEC-1775 Change-Id: I4bb91d9e5d7f6f5b8fe6a9371d85b93aa26bff1e Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-11-14dragonboard-410c: change init sequence of the qcom kernel moduleYuya Ono1-1/+2
Since db410c's DSP is enabled from the rocko branch, an error occurs at boot time. This patch is workaround by change init sequence of kernel module on booted with reference to the following discussion. (https://lkml.org/lkml/2018/10/31/440) Change-Id: I5e1b94a7b17889610b3beecccd3e99f4bc445226 Signed-off-by: Yuya Ono <Ono.Yuya@ap.MitsubishiElectric.co.jp>
2018-11-07Latest meta-altera supports wic IMAGE_FSTYPEJan-Simon Möller1-1/+1
In preparation of the layer uprev, fix the IMAGE_FSTYPE. Change-Id: Ic4c78fb27b0676383143b943d97a511b960e01b1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-12[RCAR] Change RENESAS_DATADIR valueRonan Le Martret1-0/+2
* AGL doesn't use /usr/local for system files. All the Renesas libraries and binaries will be installed in /usr instead of /usr/local. Bug-AGL: SPEC-1571 Change-Id: Ibc40df5d492517773bf89e4e0f117a02d22d90cd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-08Mutualizes code for ulcb card family conf fileRonan Le Martret5-106/+52
Remove duplicate code between ulcb card configuration card. Since more an more ulcb card and extention, it becomes difficult to maintain the conf file of the ulcb family. Change-Id: Id5648f4e75c464875d3b175c769e1fdd7f4312f5 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-09-18agl_raspberrypi3.inc: WiFi on Raspberry Pi 3 B & B+Leon Anavi1-1/+1
Use linux-firmware-raspbian packages for bcm43430 and bcm43455. Bug-AGL: SPEC-1729, SPEC-1652 Change-Id: Ib634ee3351fa91d8d1704656f4a40d1b40cd05e3 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-09-13Uprev the nogfx machine include to the same stateJan-Simon Möller1-0/+3
as the ordinary m3 build. Change-Id: If07a26f1cb253b9863ea658e6cd122450f03a38b Bug-AGL: SPEC-1640 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-16Add machine templates for qemuarm and qemuarm64Jan-Simon Möller3-0/+49
This changeset adds the necessary tepmlates to build the qemu targets for ARM 32bit and 64bit. The MACHINE names are 'qemuarm' and 'qemuarm64'. As the compiler flags for qemuarm in Yocto are using the equivalent of armv5te, we need to ship our own machine/qemuarm.conf with our default tuning for armv7-a (YP name armv7ve), and overrides to build a v7 kernel and use a v7 capable QEMU machine. For qemuarm64, some additional kernel configuration is enabled to allow building and loading of the MOST drivers. Bug-AGL: SPEC-756 Change-Id: I0a688a1d61a75f1287902fc2733a8a54b0485a34 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-08-06Reduce fixed memory split on RPi3Jan-Simon Möller1-1/+1
As it turns out, the driver uses cma and the fixed memory split is only needed at boot time before cma takes over or for the old driver. Thus we can safely reduce it down again as it does not help with the limited cma memory at all. Change-Id: Ibd5da5da931d02777e8d69543ce44e6b536402b1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-02Remove touchscreen additionJan-Simon Möller1-3/+0
Kernel 4.14 does not ship the dtb anymore, we pin on 4.9 for now. Change-Id: I96228b014dc09efbc7379383b2795a8d4eadf022 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-30Re-add dra7-evm-lcd-lg.dtb as it the screen of the board in CIJan-Simon Möller1-0/+3
Change-Id: I3265c71669124c3ee94be86993d45604356c5735 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-24Bump gpu memory on rpi3Jan-Simon Möller1-1/+1
This gives the gfx core some more head room. Change-Id: Ibff2aa3ed7fac1a3a199fa738cb47982ac56a298 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller2-4/+1
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-14Temporary fix for -nogfx target during layer reorgJan-Simon Möller1-0/+3
This fix is needed to unbreak the build due to a parsing error in the nogfx target (qt5 not enabled but bbappends present). Change-Id: I9da2a5854849c147c7917c75b5783b755b9130f1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-05Rework how we pass arguments to QEMU, provide a wks.in fileTom Rini1-5/+8
- The official hook for changing the resolution we tell QEMU is UVESA_MODE so change agl_qemux86-64.inc to set the value there rather than override the whole of QB_KERNEL_CMDLINE_APPEND. - Make agl_qemux86-64.inc further append what's needed to QB_KERNEL_CMDLINE_APPEND as APPEND isn't used in the filesystem images we create anymore. - Create a directdisk.wks.in file that will (a) use --use-uuid and not force /boot to be looked for on /dev/sda1 (when it will _NOT_ be) and (b) evaluate QB_KERNEL_CMDLINE_APPEND to determine what the bootargs to the kernel will be. Change-Id: I49894d70e6c0010e0907b72f19fcc8fb0917e34a Bug-AGL: SPEC-1301 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-04-04Adapt repository priorities in preparation of the profilesJan-Simon Möller1-1/+1
The profiles need a clear priorization of the layers. Especially the core layers need a high prio in this context. Apply a prio of 70 to core/essential layers and of 60 to BSP, netboot and smack. Change-Id: I24a59daadab4c98ffbcb799cc784e84e87ac7d23 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-29Merge "Merge branch 'sandbox/ronan/rocko_kf'"Jan-Simon Moeller3-9/+2
2018-03-20Update BBMASK for ulcb boardRonan Le Martret3-9/+2
* We don't need to black list rcar BSP recipes any more. Change-Id: If7081b8cfa2ae936f6ed9f957054fd57a45cc968 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-03-13re-enable gobject-introspectionMartin Kelly2-4/+0
In commit f9a285987c5c956d445efeea6c60f258534fe57b, we disabled gobject-introspection due to a build error as part of the Rocko transition. However, the only build errors were on qemu, which were caused by not emulating SSE4.2 (see poky commit 5b2b343453e805be013e721d079bc24de946f28b for details). Emulate SSE4.2 in qemu and re-enable gobject-introspection. Change-Id: I073db2c37623bb8ba6b7809ca0c3bba5213001e2 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-03-13Merge "dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wic"Jan-Simon Moeller2-1/+2
2018-03-08dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wicTom Rini2-1/+2
Introduce a new wks file, sdimage-bootpart-uuid.wks that differs from sdimage-bootpart.wks in that it uses --use-uuid rather than --ondisk as PARTUUID is more portable and we do not use busybox mount in our images. Bug-AGL: SPEC-1336 Change-Id: Ib98d1e49406f8b8ac13c3947f4efbc4360cf9865 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-03-07Add db-820c as community boardJan-Simon Möller1-0/+2
Add templates for the db-820c as community board alongside the 410c. Only works with rocko/master. v2: - fixed 96board-tools inclusion - added kernel bbappend Change-Id: I411505ae0aeb5939338bb94f5db04c2572fc6612 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-02enabling kernel 4.14Dominig ar Foll Intel Open Source1-0/+3
Change-Id: I95916851bcdb730767206c736b2e2b2510c9517b Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
2018-02-22Merge "Remove old boards for rocko"Jan-Simon Moeller3-232/+0
2018-02-20Remove old boards for rockoJan-Simon Möller3-232/+0
Old boards being removed: - porter templates - wandboard (untested) - qemux86 (qemux86-64 - aka 64bit - is the only default) Change-Id: Ia366cdeac988780dc3253e20357b868b3b6b8070 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-20Fixes for meta-agl-bsp for rockoJan-Simon Möller1-1/+3
These changes are included: - dra7xx-evm,meta-ti: disable gstreamer-plugins-bad on vayu until fixed - meta-boundary: has no rocko branch, remove the folder - meta-intel: generalize the libva bbappend - general: remove the lua bbappend as it is upstream - general: re-add fix for kernel-devsrc (see https://gerrit.automotivelinux.org/gerrit/#/c/11209/) Documents fixme's in meta-agl-bsp/ROCKO.FIXMEs. Change-Id: I3df32632558d503c3ce343f907a1ee1e15ae7e26 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-13Update ulcb conf fileronan2-21/+5
Change-Id: I2c68a132e315a61117a6d6709bafbff58dff8847 Signed-off-by: ronan <ronan.lemartret@gmail.com>
2018-02-13[GEN3] add preferred version on omx packageronan1-0/+2
Change-Id: I61c6971adddd756ebec262b084b8e4d847d1cb8f Signed-off-by: ronan <ronan.lemartret@gmail.com>
2018-02-13Fix gst omx versionRonan Le Martret2-0/+4
Change-Id: I2f98d01a1060003258fd421c5708ec24a284241a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
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-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>
2017-12-13Enabled general Intel bluetooth driver support instead of specific one.Kien Dinh1-1/+1
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-10meta-intel: Switch to using WIC images onlyTom Rini2-25/+9
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-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-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 Grigorov1-3/+7
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-21R-Car Gen3: Add WIC supportTom Rini2-0/+10
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 Rini1-2/+2
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-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: 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: 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>