summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-24weston: Launch even without input devicesLeon Anavi2-0/+29
Launch Weston even if there are no input devices such a keyboard or a mouse. Bug-AGL: SPEC-297 Change-Id: I3187b310b1024ef77d4696a06b325bface5de2b3 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-10-24Adding support for systemd-boot (or ex-gummyboot) on top of grubDominig ar Foll1-4/+30
Change-Id: I3e3306ec9c8b2cd898beb779bbbade235a83901e Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
2016-10-24Make weston variables machine-specificJan-Simon Möller1-3/+8
These variables need to be conditional to qemu* (intel-corei7??) and should not pollute other targets. Use OVERRIDES here to avoid cut-n-paste. Change-Id: I6eec3de2da0143c0a3ee40beaf73ba77acfe0a3d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-20agl-audio-plugin: move sources to AGL staging repositoryYannick Gicquel1-2/+2
Change-Id: Ic7f55de6b1cdaa5cb2daa627905ee7e35f847dfb Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-19Fix u-boot bbappend for vayu boardJan-Simon Möller1-0/+0
Change-Id: Ic6d76c389b6eadb2d31f91593a927baefb1cd819 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-19recipes-automotive: move hvacplugin package to meta-agl-demoStephane Desneux2-33/+0
hvacplugin is used only for demos using legacy AMBd Change-Id: Ifc3e6523b6f5a1a45e1d29c5a7b45fc5690f3d36 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-10-19Add shortcut to enable all featuresJan-Simon Möller2-0/+10
This change introduces an agl-all-features flag. It is basically a feature that will enable a list of 'known-good' features from an included file. It is meant to serve two purposes: - simplify automation scripts - ease-of-use for users building the whole set of features Change-Id: Ia962d6ec8a6c6345fb27e303cabbf805e729a8ca Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-19Fix bug of himeno recipeNuoHan Qiao1-0/+3
The Makefile hardcods gcc as compiler, then it will be compiled into wrong format. SO remove it. Change-Id: I3ab4271d26b4e8cdd2b38aa05421a3dde002297c Signed-off-by: NuoHan Qiao <qiaonuohan@cn.fujitsu.com>
2016-10-19Rename meta-yocto to meta-poky as done in upstreamJan-Simon Möller1-1/+1
Upstream renamed meta-yocto to meta-poky. Thus rename it in our bblayers.conf.sample file, too. Change-Id: I8d88592ef6e4ca8d673cef4592a21de0326d2807 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-18Fix aglsetup always succeeded regardless of whether errors or notTadao Tanikawa1-11/+11
The aglsetup is always succeeded regardless of whether got errors while executing sub scripts or not. This is caused by following script. call_func 2>&1 | tee xxxx.log The result of this line always becomes 0 (succeeded) by result of command 'tee'. The '$PIPESTATUS[]' should be used for this case. Change-Id: I67bf0dbc86331ec7858bd8edb4739a5e7729275b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-10-0850_local.conf.inc: Create rpi-sdimg for agl-sotaLeon Anavi2-0/+2
Ensure that rpi-sdimg is created for Raspberry Pi 2 and 3 if feature agl-sota is enabled. Bug-AGL: SPEC-254 Change-Id: I03ccf0851bdefdbd4e279b979163c225d2be9500 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-10-07Fix freetype recipe to build ft2demos againJan-Simon Möller2-4/+38
This changeset fixes SPEC-261 [1] The recipe relies on ${B} = ${S} and ft2demos needs to find the right libtool. Therefore we remove the hardcoded LIBTOOL in the makefile. LIBTOOL is already set and imported through config.mk v2: replaced sed with patch [1] https://jira.automotivelinux.org/browse/SPEC-261 Change-Id: I25f472a1774b0e7922828271117e96bf254e4b59 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-0650_local.conf.inc: Fix agl-sota feature for rpi2Leon Anavi1-1/+1
Use "+=" instead of "=" for setting IMAGE_CLASSES in Raspberry Pi 2 template for local.conf to prevent failure while building images with enabled agl-sota feature. The same fix has been already applied to the Raspberry Pi 3 template. Unfortunately, although with this fix the build passes successfully, rpi-sdimg image is not created. Change-Id: I9a6e3e4742b0226d962b295b43bbc467d3f0fc77 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-10-06Update recipe for LTP to 20160920 from 20160510Kotaro Hashimoto1-1/+1
Update recipe for LTP as bbappend. The LTP version is changed to 20160920 from 20160510. Change-Id: Ic4ab308910aaafa37ee52504d419646512609351 Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2016-10-05adding mkefi-agl.sh create boot devices from AGL images for UEFI bootDominig ar Foll2-0/+413
Change-Id: I0e89fc869c048d6bd1b49904a683f645ca51ebec Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
2016-10-0550_local.conf.inc: Fix agl-sota feature for rpi3Leon Anavi1-1/+1
Use "+=" instead of "=" for setting IMAGE_CLASSES in Raspberry Pi 3 template for local.conf to prevent failure while building images with enabled agl-sota feature. Bug-AGL: SPEC-254 Change-Id: I5384376908b7ceac1e03a4afff7b9d617e8a379b Suggested-by: Anton Gerasimov <anton@advancedtelematic.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-10-05packagegroup: agl-audio-plugin ported to pulseaudio-8.0Yannick Gicquel1-3/+1
Change-Id: Ia987b1e5fa8f16faaf6b3b9e69524a793c935cf3 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-05Enable the DRM backend for Weston on QEMU-x86/x86-64Tadao Tanikawa5-3/+48
The DRM backend is the native Weston backend for systems that support the Linux kernel DRM, kernel mode setting(KMS), and evdev input devices. This patch set the DRM backend as default and also enable bochs display vga interface for qemu std vga. To use the DRM backend for Weston, the option "-vga std" should be set into qemuparams for runqemu script, like below: qemuparams="-vga std" Change-Id: I04591999a0a3f7205e42585150e8f50e7414f9ac Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-10-05agl-audio-plugin: update for pulse 8.0Yannick Gicquel1-3/+7
Change-Id: I72b8d8c7e31205e40665ff63be1c31c085da1816 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-05Remove backport for useradd classesJan-Simon Möller3-710/+0
The krogoth branch has the fix backported now. Change-Id: I8f6ad125ef4614b02cd8f10c5c29eec0fd2fd53c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-03pulseaudio: add volumeramp patchsetYannick Gicquel7-16/+1267
Those patchs are a rebased version of patchset: https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-August/026797.html Change-Id: I367686217a2af409c46c2aab0be62c01a058d2f1 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-09-29conf/layer.conf: Update meta-agl-bsp priorityLeon Anavi1-1/+1
Increase the priority of Yocto/OE layer meta-agl-bsp to 10 because meta-raspberrypi has priority 9. Bug-AGL: SPEC-254 Change-Id: Ibd020b432b2865c5bb00fb2d7a56840a2c1e2cef Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-29wandboard/50_bblayers.conf.inc: Fix typoLeon Anavi1-1/+1
Fix typo by replacing "meta-fsm-arm-extra" with "meta-fsm-arm-extra". Bug-AGL: SPEC-256 Change-Id: I7fdb84dc92d19a1d585bae6660accf106b5c4512 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-29Add bbappend file for available glmark2 on waylandYuta Doi1-0/+2
Add bbappend file of glmark2 for using it on wayland. If you want to use glmark2, please see the following step: 1. Add IMAGE_INSTALL_append in conf/local.conf > IMAGE_INSTALL_append = " \ > glmark2 \ > " 2. Bitbake image such as agl-demo-platform. 3. Power up the board with created image in step 2. 4. [on board] Modify /etc/xdg/weston/weston.ini for switching ivi-shell to desktop-shell > [core] > shell=ivi-shell.so ↓ > [core] > shell=desktop-shell.so 5. [on board] Restart weston.service > # systemctl restart weston.service 6. [on board] Execute glmark2 > # glmark2-es2-wayland Change-Id: I8c6c839f4a1e0099b118f33fe3aa824a6c922e8b Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2016-09-27Extend glob on meta-agl-bsp to support more boards.Jan-Simon Möller1-0/+5
rpi and fsl* use a BBFILE_COLLECTIONS value w/o meta. Extend the statement to include these cases. Change-Id: I2d01bd30b40a01df298b1842944596f588f77ae9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-27mesa_%.bbappend: Remove dependency from libomxilLeon Anavi1-1/+1
Remove proprietary components such as libomxil which require setting LICENSE_FLAGS_WHITELIST = "commercial". Bug-AGL: SPEC-254 Change-Id: I93afadcaf70de8c0af23466efa7a4e3ef45d20b6 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-26Keep IMAGE_INSTALL_appends_porter concentrated in local.confJan-Simon Möller1-0/+6
This saves an extra bbappend file which is dangling when we do try to build for porter-nogfx. Change-Id: I519670f61da21ea7cd0bf40090d36934a83a56d6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-26Fix layer name in template for rpiJan-Simon Möller2-2/+2
The layer name was wrong in the bblacers.conf.inc - fixed. Change-Id: I97cc7ba0de0c144180da070c0187259b2fac03e4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-26Update rpi templates after recipe updateJan-Simon Möller2-0/+36
This integrates the changes mentioned in the wiki https://wiki.automotivelinux.org/agl-distro/agl-raspberrypi?rev=1474470047 so we can simplify it to a simple '-m raspberrypi2' or '-m raspberrypi3'. The license whitelist is commented-out for now. Change-Id: I77a5bd97c9b671c3a4da78482ca70f68e08e4877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-26Fix meta-netboot build on Minnowboard Max after migration to KrogothStephane Desneux1-2/+3
The live images use now INITRD_IMAGE_LIVE and INITRD_LIVE variables to specify the name for the initramfs image to build and add to hdd image. Change-Id: I5593e0cb978db8e9cecb283804c9c6e65a34a57f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-09-26weston: Set XDG_RUNTIME_DIR for Raspberry PiLeon Anavi2-0/+12
Set environment variable XDG_RUNTIME_DIR and fix Weston on Raspberry Pi 2/3 through script /etc/profile.d/weston.sh. Change-Id: Ie561623641f287e1ec911a5813c2cff225af4977 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-25weston: Use drm-backend.so for Raspberry PiLeon Anavi2-0/+23
Replace weston.ini configration for Raspberry Pi and use drm-backend.so as a backend for Weston. Change-Id: I8acedd63fc0a124e4f369609270094c76b7e7f88 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-25meta-raspberrypi: AGL support for Raspberry PiLeon Anavi6-0/+209
Yocto/OE layer that extends the recipes for mesa and the supported Linux kernel for Raspberry Pi for successful build of AGL with Wayland, Weston and Qt. It is based on the existing ports of Tizen and GENIVI Development Platform for Raspberry Pi. Change-Id: Icfed9e888c2abaf26c14ab402d0a90215862afbd Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-24Update useradd overlays in meta-aglJan-Simon Möller3-57/+393
It turns out there is an escaping fix in yocto master not yet backported to krogoth. https://bugzilla.yoctoproject.org/show_bug.cgi?id=10062 Change-Id: Ia08fa024b3b5372e2fb792c4d0ab1a053e1f5745 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-21agl-devel: add less and lsofYannick Gicquel1-0/+2
Those tools can be useful while debugging on target. Change-Id: I6015985356c4c3d70866316ef3f9d4a70af717ab Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-09-14Set INITRAMFS_IMAGE instead of appending to itAnton Gerasimov1-1/+1
Bug-AGL: SPEC-250 Change-Id: I76fbc1d8674807c247bb4aaadd70d71a13097491 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-13Fix issue that pulseaudio freezes when pausing audioTadao Tanikawa2-0/+26
This patch is ported from Debian/Ubuntu. When using glibc-2.21 or later on linux kernel < 3.14.3, this issue should be reproduced. Original patch is here: https://sources.debian.net/patches/glibc/2.22-5/arm/local-arm-futex.diff/ AGL needs this patch because the version of kernel for porter board is 3.10 (later kernel is not supported). This patch and recipe is a provisional until upstream (poky) would be fixed. Thanks Isogai-san to find and test this patch. v2: changed bbappend to use SRC_URI_append_arm and used glibc_2.2%.bbappend as wildcard for glibc version (jsmoeller) Change-Id: I4a2a0ad8fe3927000b6826e0b1bcd214cf8c92b6 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-09aglsetup.sh: handle machines/features from any layerStephane Desneux1-12/+45
This patch allows the setup script called by scripts/aglsetup.sh to search for available machines and features in all repositories located in the meta directory (the directory where meta-agl has been cloned). In particular, this now allows to specify a machine or a feature located in meta-agl-devel. Important note: duplicate machines or features in different layers are detected and forbidden (script fails with error) to avoid any ambiguity. Change-Id: If55105a05889ca95da856d65986a86f4ef5f4b2c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-09-01Changes for building with YP 2.1.1 'krogoth'Jan-Simon Möller26-359/+199
Notable changes: - Update poky-agl.conf for YP 2.1 krogoth - change mesa bbappend to mesa_11 - TODO: check need for gallium, or replace with DRM see SPEC-237 - remote linux-yocto_3.14 as it is no longer shipped with YP 2.1 - rtl-sdr got a fix included for its packageconfig file - update 0001-disable-when-booting-over-nfs.patch - update checksums for ft2demo - TODO: check installation of test binaries - automotive-message-broker needed a workaround in the recipe - TODO: fix package and recipe - wayland-ivi-extension fix for use of autotools _AND_ cmake at the same time: only use cmake - port pulseaudio_6.0.bbappend to pulseaudio_8.0.bbappend - TODO: check patches and forward-port - agl-audio-plugin is currently disabled until ported to pulseaudio 8.0 - gstreamer1.0_1.2.3 is only used by meta-renesas, thus move it there - update dlt-daemon to 2.15 TODO: - check values in poky-agl.conf - check mesa for needed bbappends on other boards (tested qemux86 and qemux86_64) - check pulsaudio bbappend and forward-port patches (patches disabled!) - check agl-audio-plugin and forward-port (build disabled!) - check freetype bbappend wrt. installation path of test binaries - check automotive-message-broker wrt installation routines for libraries (QA failure) - check wayland-ivi-extension build and capabilities Change-Id: I553e03cc37348cba2fc4a022820157c78bb184d3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-01meta-netboot: add 256MB of extra space in generated rootfsStephane Desneux1-0/+3
By default, only 16MB are added but this is not sufficient for most test cases: for example, installing an application with its data bigger than 16MB is impossible. Change-Id: Ife6d7f09ea5acaadff5b54aaad15a31e26a35d31 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-09-01meta-agl: the feature 'agl-devel' depends on rsyncStephane Desneux1-0/+1
The rsync tool is required on the target for deploying applications or services easily through rsync and ssh from a host running the SDK. Change-Id: I042918ce1c14137519a878bc5bfa63e4e7f49fe6 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-08-16Fix use of version number in recipe to make it future-proof.Jan-Simon Möller1-1/+1
Instead of hardcoding 6.0, we can use ${PV} instead. Change-Id: I95c36058302c4f5d8dc0b8f0814d68270b17cf34 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-08-16nativesdk-dbus: fix spurious unpackaged filesStephane Desneux1-8/+10
When building agl-demo-platform-crosssdk, the package nativesdk-dbus is required. In the post-install step for the normal package dbus, some systemd files and symbolic links are added, but this shouldn't happen when building the nativesdk package, as those added files are not packaged, thus creating a QA Error (some files are installed in sysroot but not packaged) Bug-AGL: SPEC-235 Change-Id: Ib4894309355b807d52b34934a2f8a0bdebe3a01a Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-08-16Add folders for FSL/NXP bsp adaptions for AGLJan-Simon Möller3-0/+0
Change-Id: I70b28cb85cf99e37d45a567ec3479fcd1a99185f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-08-12Move adaptations specific to meta-ti into subfolder with conditional inclusionJan-Simon Möller2-0/+0
Change-Id: I826ce3d15d54098356ada353e155a21064560450 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-08-05Rewrite and restructure readme filesJan-Simon Moeller2-272/+569
This changeset updates the outdated README.md in meta-agl. We also introduce a split between the README.md which describes the layer itself and a README-AGL.md which contains the information on the AGL distribution. v2: Format in markdown editor - proper markdown now. Change-Id: I4cbe539ffd668c3e1d64df5c40092d5864c1d2ea Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2016-07-22Fix do_install issue for freetype-nativePhong Tran1-1/+1
The TOP_DIR is wrong in case native compile. The value of PN=freetype-native. It causes do_install error. This is error log of the issue install: cannot stat '...build/tmp/work/x86_64-linux/freetype-native/2.6-r0/ft2demos-2.6/bin/ftbench': No such file or directory (virtual:native: .../freetype_2.6.bb,do_install) failed with exit code '1' This will change to use BPN instead of PN. BPN=freetype in both native and cross compile. Tested OK with bitbake freetype freetype-native. Change-Id: I5a2b5bcc80755165ba026aedd177d03bc3f0e4a5 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2016-07-20Add PulseAudio server and systemd serviceManuel Bachmann2-0/+30
This commit adds the PulseAudio server to the image, and a related systemd service for automatic startup. This change is motivated by an Audio Routing model involving a PulseAudio plugin and a AudioManager interface, as described on: https://wiki.automotivelinux.org/ eg-ui-graphics-req-audiorouting . PulseAudio server is launched in user mode. ("paplay <file>.wav" may verify the functionality) Change-Id: I12e2bfb2af5494e530e29bda77b0d88999cf7b4b Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-07-20Bump DISTRO_VERSION to 2.0.0 for blowfishJan-Simon Möller2-10/+6
Change-Id: Ib97793045656b971741500a326cd244e313a9091 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-19vmdk images need harddisk drivers built-inJan-Simon Möller2-0/+11
This patch adds the disk drivers as to the kernel to be able to boot the vmdk images w/o initrd (only qemux86 and qemux86_64). v2: use _append as it is a parsed expression Change-Id: I3ebfe09079754fa29a008d14e1d0bcd3c7e98f84 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>