aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container
AgeCommit message (Collapse)AuthorFilesLines
2023-11-29Update cluster-refgui to support cluster-serviceNaoto Yamaguchi1-1/+2
Existing AGL Instrument Cluster is not implement cluster service only a framework library. This patch add support cluster service to cluster-refgui. Bug-AGL: SPEC-4991 Change-Id: Idee17d652d86e743c11de48337d01502bf9f8ff7 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-11-29Replace to cluster-service from libclusteripc and libclusterapiNaoto Yamaguchi3-2/+39
Existing AGL Instrument Cluster is not implement cluster service only a framework library. We create cluster service to realize AGL Instrument Cluster based product. This patch add cluster-service and replace from libclusteripc and libclusterapi. Bug-AGL: SPEC-4990 Change-Id: I236eb33376b1a6a8be4c5677b0aa19b3729376c2 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-11-05Add initial DRM lease test imagesScott Murray20-0/+250
Add guest and host image as well as associated configuration recipes for simple DRM lease testing. The agl-host-image-drm-least-test image has two guests that each run Weston + desktop-shell with a different background color. A known issue at the moment is that networking is not functional in the guests, this will be investigated further. Bug-AGL: SPEC-4955 Change-Id: Ib69e627bb251180c2d7a1175de53d2fb1561aa61 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-10-06Add support Salvator-x H3/M3 to IC container demoHau Vo2-0/+6
This enable lxc auto start on Salvator-x H3/M3 and specify drm interface for M3. Bug-AGL: SPEC-4808 Signed-off-by: Hau Vo <hau.vo.ra@renesas.com> Change-Id: I45e9ff5453655f814f067ec1f48611ee4cea8442
2023-10-06Fix missing gles-user-module-firmware in agl-cluster-demo-lxc-host imageHau Vo1-1/+1
rcar platform need gles-user-module-firmware for graphics Bug-AGL: SPEC-4808 Signed-off-by: Hau Vo <hau.vo.ra@renesas.com> Change-Id: I0dfc229b185bbe039a01f1c8a2f4ce031fbbc728
2023-09-04Fix agl IC demo is not show both screenNaoto Yamaguchi9-12/+38
In R-Car platform such as ref-hw is not show cluster and ivi screen. It cause by installing gles-user-module-firmware into guest image. gles-user-module-firmware is installed by kernel-module-gles dependency. kernel-module-gles is installed by MACHINE_EXTRA_RRECOMMENDS from agl_rcar.inc, but this environment variable can't delete in guest build. This patch fix this issue. Bug-AGL: SPEC-4888 Change-Id: Ica0f8d6ef48d30333bbccdff7380471b11ad063c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-08-21Move momi ivi repo from outside development repository to AGLNaoto Yamaguchi3-9/+9
Mominavi, momiplay and momiscreen are refernce application of AGL IC container integration. These repository was refer to outside development repository. This patch change repository from outside development repository to AGL repository. Bug-AGL: SPEC-4821 Change-Id: I5380f002982978457df5320c66a4bba3135778db Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-06-12meta-agl-ic-container: update for meta-agl-core changesScott Murray2-9/+5
Changes: - Pull in image .bb files instead of .inc files. - Remove IMAGE_LINGUAS definitions, as they were the same as the default value in meta-agl-core. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4813 Change-Id: I78a865057c9679fa7dd010ee8f99ee6424ecfb40 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
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-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-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-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-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-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 Murray2-0/+12
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>
2023-02-13qtlocation: remove bbappendScott Murray2-54/+0
The qtlocation bbappend has been replaced with one in meta-agl-core to avoid collisions when combining with meta-agl-demo. Bug-AGL: SPEC-4703 Change-Id: Icacdf7d4a5777bee8ee98b9cc103f64b6c52749f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-31Initial support for raspberry pi 4Naoto Yamaguchi9-0/+61
AGL IC container is supporting R-Car board. This patch add raspberry pi4 support that aim to easy use hobbyists. Bug-AGL: SPEC-4678 Change-Id: Ia0175d57b956d763f1ac8a81ae624a4b93b5f727 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-09-22Add manifest comparison for IC imagesNaoto Yamaguchi2-0/+988
The agl-cluster-demo-lxc-host will start ci package check. That work require to image manifest to compare reference image and build image. This patch add manifest file for h3ulcb-kf. Bug-AGL : SPEC-4465 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I7a131d7678d31c9a82b9c36cc0c6a7b011f551e3
2022-09-16agl-ic-container: Add missing kernel config for lxc-net on qemuHiroyuki Ishii1-0/+1
On qemu network bridge setting by lxc-net service fails because of missing kernel module as shown as following message: iptables v1.8.7 (legacy): unknown option "--checksum-fill" With this change we'd like to add missing kernel config to fix that. Bug-AGL: SPEC-4464 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I73169289c84755e0eb9a28658e8337c79824ab1b
2022-09-06Fix issue for separate directory buildingNaoto Yamaguchi1-2/+2
At 2dd3bafb0c21d7f49fcc2945836924d9c052d268 commit has issue for it can't separate build. At 2ab22b2df67f915c74efab68cf9e6e2424805dd2 commit, I fixed that issue. In this patch I fix to that issue in recipe side. Bug-AGL: SPEC-4551 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I3623bece877cb9cc76721f340d96eaab677ded17
2022-09-06Fix error for the packagegroup-agl-ic-coreNaoto Yamaguchi1-0/+2
After the kirkstone, packagegroup-agl-ic-core out the error message in build time. Ex: ERROR: mc:agl-container-cluster:packagegroup-agl-ic-core-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (libclusterapi-dbg to libcluster-api-dbg) This error is depend on this commit. https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg155223.html This patch add "PACKAGE_ARCH = "${TUNE_PKGARCH}"" to package group recipe to fix this issue. Bug-AGL: SPEC-4552 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I70f56e4a96a658cbcefa48ac688b49382b299879
2022-08-09Rename Instrument Cluster Container layerJan-Simon Moeller106-0/+1801
meta-agl-lxc is no longer reflecting the actual content and use of the layer. Rename it to 'meta-agl-ic-container' and the feature to 'agl-ic-container'. Also rename the main image to 'agl-cluster-demo-lxc-host' to match the pattern used by all other images e.g. agl-<ivi,cluster,telematics>-demo-* . But keep the names of the underlying images as-is. Bug-AGL: SPEC-4464 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I898c786ca884331b302a3be8e150379fcf5bdc9b