summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-06-05flutter-auto: refresh agl-shell platform channel plugin patchScott Murray1-12/+10
Refresh our platform channel plugin patch to fix fuzz warnings after the latest flutter-auto update. Bug-AGL: SPEC-4819 Change-Id: I5b7a40235d3601d95fe7c6f07d2bfddb83bdba64 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-02meta-agl-flutter: add agl-flutter-envScott Murray1-0/+15
Add agl-flutter-env recipe that installs a /etc/default/flutter environment file that can be sourced to get the default Flutter version and runtime type. The variable AGL_FLUTTER_DEFAULT_RUNTIME can be overridden at build time to switch the default runtime from release to something else. Bug-AGL: SPEC-4819 Change-Id: I33ef50c932116aecddb746007722ce8163079389 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske22-326/+828
-remove use of bbclass runtime modes -use external automation-workspace repo Scott Murray: - update flutter-auto agl-shell platform channel plugin patch with reworked version from Marius Vlad. Bug-AGL: SPEC-4819 Change-Id: I7510f916ab70d8bab78fdb9ab235092f84c3713a Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31Ensure meta-agl-drm-lease does pass yocto-check-layer and has ↵Jan-Simon Moeller12-61/+111
run-yocto-check-layer.sh scripts Ensure the layers do pass again and that the scripts are up-to-date. Bug-AGL: SPEC-4680 Bug-AGL: SPEC-4686 Change-Id: Id1279d4a43b89d50731dd85e9347d35d524e14b7 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-30e2fsprogs: fix ptest bug for second runningQiu Tingting1-0/+8
At second running, there are four new failed case: d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize The test_data.tmp is necessary, but it is deleted by run-ptest. So it should be restored after testing. It is a backport for http://cgit.openembedded.org/openembedded-core/commit/?h=master-next&id=d0d08dd9a8a179e25b9cfcbac696c1d212a1910c It should be deleted after yocto version up. SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I9206ec35ed9964a9136cdddee084a4c80ca13560
2023-05-30agl-test-framework: Bump SRCREVduerpei2-1/+79
Bump agl-test-framework SRCREV to include recently added test suites into the test framework. Bug-AGL: SPEC-4755 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I14c7412a60bb193f27f36c929af6264c6a3fc6f7
2023-05-30Declare dependencies of meta-agl-ic-container layerJan-Simon Moeller2-0/+51
The layer is missing its dependencies in conf/layer.conf. Add them to conf/layer.conf. Also add a first draft of the yocto-check-layer wrapper. Bug-AGL: SPEC-4777 Change-Id: I84e9c1dd917e3037c838021e146d7f66965c963d Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-30Improvement to psplash recipe using service overrideNaoto Yamaguchi2-6/+9
Last psplash patch has some HACK implementation for drl lease support. It cause complex change to psplash service file. This patch fix this issue reusing sandbox/ishii.hiroyuki/psplash-drm, that is worked by ishii hiroyuki. Bug-AGL: SPEC-4804 Change-Id: I350a4627b8062ec418016a72b20af2e9d0f2a9a0 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-30Enable logging solution in AGL IC container integrationNaoto Yamaguchi19-1/+728
In case of container isolation, a logs of each container record inside a container. When developer want to analyze system using logs, they need to combine log file between host and guest. This patch enable system wide logging solution for AGL IC container integration. This architecture describe in https://confluence.automotivelinux.org/display/IC/Architecture+design+for+logging Bug-AGL: SPEC-4005 Change-Id: I331474530131e6a87b41639444d705c8293d4c0c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-17Re-migrate r-car specific package installation from dynamic layer to machine ↵Naoto Yamaguchi5-3/+8
overrides At https://jira.automotivelinux.org/browse/SPEC-4794, we are discuss shall use dynamic layer or machine overrides. As a result, we got common agreement to use machine overrides. Bug-AGL : SPEC-4794 Change-Id: I83583dbf9f7fa2c67cb12b477bf915d2433bffa3 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-14Revert "Write back group setting to original at 72-pvr-seat.rule"Naoto Yamaguchi1-4/+0
This reverts commit cd80954328cef8b9ec1e878f6bead91c8752d65c. Bug-AGL : SPEC-4797 Change-Id: I702b359c074531b4ca1fd9013275c23b4338318e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-12Change package arch for cm-config from all arch to machine archNaoto Yamaguchi6-2/+10
Container Manager config is highly depend to board, on the other hand that set all arch to package. This patch change package arch for cm-config from all arch to machine arch. Bug-AGL : SPEC-4777 Change-Id: I925f7bec9db24dcc13095a1fc7d836fa95307dcf Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-12Move configuration files to subdirectory for rcar-gen3Naoto Yamaguchi12-17/+0
In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28799, I got a review comment for place of configuration files. This patch fix place of configuration files for rcar gen3. Bug-AGL : SPEC-4790 Change-Id: I68444e05848817c52908009d33b7d62d7921a377 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-12Move configuration files to subdirectory for raspberrypi4Naoto Yamaguchi12-17/+0
In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28799, I got a review comment for place of configuration files. This patch fix place of configuration files for raspberry pi 4. Bug-AGL : SPEC-4790 Change-Id: I6d2acc2a4f611dd68d34146a40d93abb4e0eed51 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-12Fix conditional check to out of tree image directory settingNaoto Yamaguchi2-5/+5
In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28812, I receive review comment from reviewer to change conditional check. This patch fix that conditional check. Bug-AGL : SPEC-4790 Change-Id: Ie2f96d099a6186555cd190d86530ec2ba8df6e7a Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09[Bug] Fix udev boot up fail in case of connecting CH57x keyboardNaoto Yamaguchi1-1/+1
When CH57x keyboard connect USB port, a systemd-udev-settle.servic fail boot up in boot time. This patch change udev rule to fix this bug. Bug-AGL: SPEC-4766 Change-Id: I7f0002c74050041d31d24fca5e95ad81830df193 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Improve error handling in multi partition integrationNaoto Yamaguchi1-1/+11
Existing multi partition integration out the error of out of tree image in wic creation process. That error message is difficult understanding. This patch add out of tree image check at more earlier timing. Bug-AGL: SPEC-4777 Change-Id: If1a0ba8d78b5ff1e7b19ef6a10a8f9fc98312b8a Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Add CH57x keyboard based UI for container demoNaoto Yamaguchi5-1/+85
Container exchange user interface using CH57x keyboard. This UI based on mock container manager for AGL CES2023 demo. That is contributed by Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Bug-AGL: SPEC-4766 Change-Id: I3654bb0fd22787c66af554db71fc3adb82440702 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Remove cgroup cpuset setting from default configNaoto Yamaguchi10-70/+0
Existing container manager config based on ces 2023 development, that include cgroup cpuset setting. In case of R-Car Gen3, R-CarH3 has 8 cores, R-Car M3 has 6cores, we are difficult provide common configs. This patch remove cgroup cpuset setting from config. Bug-AGL: SPEC-4777 Change-Id: I1d4cf679951b8f1e6e333a69e2c794c6259997b9 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Write back group setting to original at 72-pvr-seat.ruleNaoto Yamaguchi1-0/+4
The access permission of /dev/pvr_sync is set group=display by 72-pvr-seat.rule. This setting replace from video to display at meta-agl/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/ gles-module/gles-user-module.bbappend. This change is not necessary in current AGL IVI demo. Because the similar device files set video group such as /dev/dri/cardX. This patch write back group setting to original at 72-pvr-seat.rule. Bug-AGL: SPEC-4777 Change-Id: I2bfbd8f387876207f2d09ee9e84eced61ada0904 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Enable lease transfer option at drm-lease-managerNaoto Yamaguchi1-1/+1
When leaser side has two or more drm master such as splash screen and compositor, drm master need to transfer from early user(splash) to main(compositor) user. This patch enable lease transfer option at drm-lease-manager. Bug-AGL: SPEC-4777 Change-Id: Ide31167888d34f482a7e20b93e7364c46aa580b8 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Add AGL IC container integration demo web UINaoto Yamaguchi3-1/+50
Momi web is a Web UI for AGL IC container demo. That support IVI guest change and force rebooting to ivi guest. This patch add support momi web to use full demo integration. It use lighttpd. Bug-AGL: SPEC-4766 Change-Id: Ie0a91b80cee7462e580706d89abca8ece8142712 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Add support out of three image install to support agl demo ivi guestsNaoto Yamaguchi5-4/+58
Existing AGL IC container integration build host and all guest using multi config. When we want to add support agl demo ivi guests, multiconfig based integration require to long build time by single build tree. This patch enable support out of tree image install to support. This method support prebuild ext4 image installation. This method realize to reduce build time for AGL IC developer. Bug-AGL: SPEC-4766 Change-Id: Id4ba092ce89c05bad3440e75845e6602bb0a50ab Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Update raspberrypi4 support for AGL IC container integrationNaoto Yamaguchi16-3/+828
The raspberrypi4 and R-CarH3-refhw board is main supporting board for AGL IC container integration. The raspberrypi4 is require few patches. This patch update raspberrypi4 support for AGL IC container integration. Bug-AGL: SPEC-4777 Change-Id: I719e01aa8d603eced73e99fc54652b89d2d612b9 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Reworking environment variable setting for guestNaoto Yamaguchi11-29/+15
After the drm-lease-manager update, the drm-lease socket file setting is move on each environment variable setting. On the other hand, previous setting was not remove from system.conf for each guest. This patch remove drm-lease-manager and qt environment variable setting from system.conf for each guest. Bug-AGL: SPEC-4777 Change-Id: I972ee51f593ab305e0ffa548083cff11cf0014d5 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Reworking config creation for lxc and container managerNaoto Yamaguchi23-106/+59
At "Add initial container manager config for r-car gen3" add container manager config recipes. But it is not support dynamic drm lease configuration, it require to static configuration in each guest. This patch enable dynamic drm lease configuration similar to lxc-config. Bug-AGL: SPEC-4777 Change-Id: I6161c5ff3d93ddbbde866c1c28d107d8f524d40b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Enable container manager in agl-instrument-cluster-container-demoNaoto Yamaguchi1-0/+3
This patch enable container manager in agl-instrument-cluster-container-demo. Bug-AGL: SPEC-4777 Change-Id: I94d8b9d0e94a7f5f483e85b610557234c7ac6e9b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Add initial container manager config for r-car gen3Naoto Yamaguchi30-0/+1079
This patch add config files for container manager to launch guest by container manager. Bug-AGL: SPEC-4777 Change-Id: I0b2fd8f87f3cdffbbda0688f3d6b4b980bdc2c2b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Add support integration type of multi partitionNaoto Yamaguchi10-20/+95
Existing AGL IC container integration was not supporting multi partition integration. This patch enable multi partition integration using wic. Bug-AGL: SPEC-4777 Change-Id: I8c926410177642953b3888751b774e71e924a074 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Move out r-car specific description to dynamic-layerNaoto Yamaguchi3-2/+2
Existing agl-cluster-demo-lxc-host.bb is including r-car specific description. IMAGE_INSTALL:append:rcar-gen3 = " kernel-module-gles " This patch move this to dynamic-layers/meta-rcar-gen3. Bug-AGL: SPEC-4777 Change-Id: I421e96a65b8a2b09046283d9d9710551639ff1ac Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Remove obsoleted weston configuration recipesNaoto Yamaguchi4-49/+0
The weston-init and the weston-ini-conf ware not used in existing integration. This patch remove these obsoleted recipes. Bug-AGL: SPEC-4777 Change-Id: I8048bc311c1cece40ce5a78b3a0287bde74d2b25 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Initial support for AGL Container ManagerNaoto Yamaguchi3-0/+65
The AGL Instrument Cluster container integration require to container management daemon to support embedded use case such as lifecycle, many device and other. AGL IC-EG is already starting development for that daemon. This patch is initial support for that container management daemon. Bug-AGL: SPEC-4777 Change-Id: I02055c45dd53a80fc6d5ef0ab2c2206c6c0feae2 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Disable guest reboot by lxc-monitorNaoto Yamaguchi2-3/+35
When guest container use reboot command, lxc-monitor will reboot guest automatically. In this case, the container management daemon catch exit from guest init, but it cant reboot guest. This mean container manager can't re-assign dynamic devices. This patch disable automatic reboot. Bug-AGL: SPEC-4777 Change-Id: I3fbd3fca61db29e483b782b0db9c64707b3e488c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Remove python dependency from packagegroup-selinux-minimalNaoto Yamaguchi2-0/+5
A meta-selinux has issue for force install many packages. A packagegroup-selinux-minimal may support desktop and server runtime use case, may not match AGL (embedded) runtime use case. One of the big issue, that force install unnecessarily python runtime to image. It's caused by backward compatibility for policycoreutils package, maybe. This patch fix this issue temporally. Shall fix at meta-agl layer at SPEC-4778. Bug-AGL: SPEC-4777 Change-Id: I2b844cd928448b024e4a6830ea98e7dc76f0832b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Rework images to support some integration typesNaoto Yamaguchi4-47/+58
Existing lxc-host-image-minimal support multiconfig based single root filesystem integration. On the other hand, when we want to use multi partition integration, we need to fully replace lxc-host-image-minimal recipe. This patch divide lxc-config installation and single root filesystem integration feature from lxc-host-image-minimal to agl-lxc-install-single-imgage.inc and agl-lxc-autostart.inc. This change realize to support integration types using lxc-host-image-minimal. Bug-AGL: SPEC-4777 Change-Id: I95d866ff6eaddf793927aacb056334e573389804 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Divide lxc autostart from main packageNaoto Yamaguchi2-4/+22
Existing lxc package is including autostart feature. In this case, that can't enable/disable using package install. This patch achieve autostare feature enable/disable by package install. Bug-AGL: SPEC-4777 Change-Id: I0373b294b677a39a670b79e3149a6d8a1d5b4432 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Force enable SELinux feature in agl-ic-containerNaoto Yamaguchi1-1/+1
AGL is already select SELinux for default LSM. This patch follow to this policy. Bug-AGL: SPEC-4777 Change-Id: I20078b87d2caa3a1d76af68957d0056e0d0f6adf Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Enable drm-lease support at psplashNaoto Yamaguchi18-0/+4436
The upstream version of psplash is supporting fb based splash screen. On the other hand, drm lease infrastructure is not support fb. This patch enable drm-lease support at psplash. This work contributed by Hiroyuki Ishii at CES2023 demo development. Bug-AGL: SPEC-4766 Change-Id: I50b382c7f8ca4b46a8fb06fd649d0cfa49800c6d Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-08lz4: Add ptest supportQiu Tingting2-0/+43
Add a ptest for lz4. It is a backport for http://cgit.openembedded.org/openembedded-core/commit/?id=2ee144a0bfb88823bfa788697bb7afc9a572c413 It should be deleted after yocto version up. SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: Ibca25bbafc7857d30a1c487ac130fb22774cad97
2023-05-05Add templates for gitlab issues and merge requestsJan-Simon Möller2-0/+4
Notify users to use jira.automotivelinux.org and gerrit.automotivelinux.org in the default messages. Bug-AGL: SPEC-4774 Change-Id: I01b4e849aba18fc1982bfe65257b462c4b231f77 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2023-05-05virtio-loopback: v5: Add recipes for virtio-loopback supportAngelos Mouzakitis8-0/+134
Includes the virtio-loopback kernel module, the adapter application, the vhost-user devices from QEMU and a Rust vhost-user-rng device implementation. v2: Update recipes to conform with the OE-Styleguide v3: Recipes fixes for generic builds v4: Generalize the recipes to build for different architectures v5: Update recipes to comply with the OE-Styleguide Change-Id: I67c14fd77e564c0aecdde40dc1cf7e893dae6de1 Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
2023-04-28e2fsprogs: fix ptest error when using usrmerge DISTRO_FEATURESQiu Tingting1-0/+8
Because usrmerge DISTRO_FEATURES is uesed, in test_script and test_one of ptest scripts, SRCDIR has the wrong path. SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test So we should check and modify SRCDIR in test_script and test_one. It is a backport for https://lists.openembedded.org/g/openembedded-core/message/180486 It should be deleted after yocto version up. SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: Iff23c1db2b39d9e3e924068cf6ea2c5e26b952bf
2023-04-26agl-test-framework: fix installation bugYan1-3/+3
aio-stress should be installed to the "aio_stress" folder. Bug-AGL: SPEC-4733 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: If46baf06b9c2db8adeb7c4c8edb9948671f9ee73
2023-04-14agl-test-framework: Bump SRCREVduerpei2-2/+13
Bump agl-test-framework SRCREV to include recently added test suites into the test framework. Bug-AGL: SPEC-4755 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I570127e7175b89b43c910bd0e4130716377a0ae3
2023-04-03ic-container: qemu: Set connector name for IVI layer manaagerDamian Hobson-Garcia2-3/+10
The ivi-layer manager configuration file needs to know the name of display connector to set up the layer configuration. Adjust the connector name in the configuration file to reflect the connector names in us on the platform being built. This currently only applies to qemu, but could be applied to other build configurations in future. Bug-AGL: SPEC-4464 Change-Id: Ie52c9b8639a2bd5c83c4686ff9b557d05a2a7e1e Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2023-03-22meta-agl-test: add "linus_stress"yanxk2-0/+21
get this old core test into current agl-test-framework. re-write old bb file, make it working for agl-test-framework. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I341b18516e2b3b57622239f47b4b40d2d4d4a160
2023-03-02ic-container: Add default configuration for qemuDamian Hobson-Garcia5-3/+17
Define the defaults to launch the cluster and ivi containers on qemu. Platform specific customizations can be added in dynamic layers. Bug-AGL: SPEC-4464 Change-Id: I3d2bc4e3dfa8afdad4d29fc29700833f5bc7ecaa Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2023-02-27agl-test-framework: Bump SRCREVduerpei2-10/+30
Bump agl-test-framework SRCREV to include recently added test suites into the test framework. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I73eac509f7394be62c757c2c3b1e443b271064a9
2023-02-13meta-agl-ic-container: fix kernel-module-gles build for guestsScott Murray1-0/+4
Update the kernel-module-gles bbappend so it will actually build with linux-dummy in the guest multiconfigs. Bug-AGL: SPEC-4703 Change-Id: Icc083aecff9f7dd3d5359c843bf04681925db031 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-13agl-ic-container: Fix host configuration when using agl-demoScott Murray3-8/+14
Changes: - Switch to pulling in a agl-ic-container.inc include file from the feature local.conf.inc template to simplify development. - Add include files for the host ("default" in BitBake) multiconfig to allow disabling agl-demo and related features in the host build. This reduces the impact on the host image when using the images from meta-agl-demo as guest containers. At present the "agl-selinux" feature is left alone, as support pretty much needs to be present in the host to allow using it at all. This likely needs to be investigated further and discussed with respect to the IC EG requirements. Bug-AGL: SPEC-4703 Change-Id: I833fa8754f0044552a8b775bcc06c4ccd3fcac3e Signed-off-by: Scott Murray <scott.murray@konsulko.com>