summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-container
AgeCommit message (Collapse)AuthorFilesLines
10 daysEnable HW media decoder in NanoPC T6HEADsalmon_18.92.0salmon/18.92.018.92.0nextmasterNaoto Yamaguchi3-0/+27
The meta-rockchip has gstreamer-rockchip recipe. It enables HW media decoder in rockchip boards. Current integration did not enable gstreamer-rockchip. This patch enable device driver access in guest environment. Bug-AGL: SPEC-5319 Change-Id: I4a6106319a2600effaf15e15567b80c6a43789ca Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Add support qemux86-64 for drm-lease-test imageNaoto Yamaguchi2-0/+189
The agl-host-image-drm-lease-test use CI test. That test to drm lease infrastructure. This CI test run on qemux86-64. This patch enable qemu86-64 environment support. Bug-AGL: SPEC-5308 Change-Id: I82283c3662cddd5bec0fe5a164eb2521c0d8d47d Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Change container manager configs from cgroupv1 to v2Naoto Yamaguchi8-7/+70
AGL was migrate to cgroup v2 integration from cgroup v1 and v2 mixin integration. Existing container-manager does not support cgroupv2 based resource control. This patch change resource control settings from cgroup v1 base to cgroup v2 base. Bug-AGL: SPEC-5284 Change-Id: I91761248f36b78b4ae4936d54d60acb92366f999 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Remove integration type without container manager from container integrationNaoto Yamaguchi36-232/+0
Existing container integration was supporing with container-manager and without container-manager integration. After the scarthgap update, systemd cgroup-v1 and v2 mixed support was disabled. It require to big rework in resource controle feature. The lxc only integration (without container-manager integration) has some limitation for device support. For example, it can't handle dynamic device/network interface change, it' can't protect device access from guest using mknod. On the other hand, if I mantain to this integration, it need many human resource. The lxc only integration does not have value for these work. This change drop lxc only integration. This strategy was discussed in gerrit 30506. Bug-AGL: SPEC-5283 Change-Id: I66b209cdf7fa6bf77439a24211de4da7dcdfa873 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Add cgroupsv2 support to container managerNaoto Yamaguchi1-1/+1
AGL was migrate to cgroup v2 integration from cgroup v1 and v2 mixin integration. Existing container-manager does not support cgroupv2 based resource control. At a f396483881a30f6ed08786114bf7a62355cd266e, it enable device access protection. This patch enable cgroup v2 based cpu, memory, and more resource control feature. Bug-AGL: SPEC-5284 Change-Id: I9ba417d01913626781fde4e9d67b5499db8d7a40 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Update container-manager to support rootfs bind mount featureNaoto Yamaguchi1-1/+1
Existing container-manager is designed for multi partition integration. The test image for drm lease require to each guest image mix in to single rootfs. This update enable rootfs bind mount feature to enable host guest mix in integration. This patch tested in NanoPC-T6 board only. Bug-AGL: SPEC-5308 Change-Id: I57f408bc872513c79c6e3e1a3c8adffcf92a1d48 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-29Re-enable drm lease test imageNaoto Yamaguchi8-0/+274
This patch enable drm-lease-test image that based on container manager. Bug-AGL: SPEC-5308 Change-Id: I7301901d2ab0331a70dc031363c4133cea0bc532 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-21Improve container-manager to use cgroupv2salmon_18.91.0salmon/18.91.018.91.0Naoto Yamaguchi2-1/+2
This patch update container-manager. Add cgroup v2 initial support. Add resoure setting overwrite protection from guest in cgropu v1. Add cgroup based device access protection. Add plugin based container workqueue and container manager workqueue. Improve MISRA C complient. Bug-AGL: SPEC-5284 Change-Id: Iafec8840d30c545b17014492d65f3b8fdcc083f8 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-21Maintain container setting to update container-managerNaoto Yamaguchi4-0/+4
After the scarthgap update, systemd cgroup-v1 and v2 mixed support was disabled. It require to improve container-manager. Container-manager has some improvement already. This change maintain container setting to use these improvement. Bug-AGL: SPEC-5284 Change-Id: Ic2f94cc33577c07755940bcdb4376dacbd9b0ade Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-09-20Add Rockchip board support to IC container integrationNaoto Yamaguchi4-0/+730
AGL got new board support that based on Rockchip SoC. Initial patch support AGL demo IVI only. This patch add Rockchip board support to IC container integration. Bug-AGL: SPEC-5246 Change-Id: I6203bb9e2b7cd3cad7604da45c744e88a21d1454 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-09-01Raspberrypi 5 support for IC containerNaoto Yamaguchi4-0/+0
This patch add board support for raspberrypi5. Bug-AGL: SPEC-5242 Change-Id: I9e9c244da74fd2c5d83f71b43eb40ae491276096 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-08-26Enable sound feature in AGL demo IVI guestNaoto Yamaguchi3-0/+27
Existing container integration can't play music by guest side music player. We have a sound management solution between guets. But it is not transparent. ICEG has plan of transparent sound management to use virtual device. This change is a 1st step of this plan. Bug-AGL: SPEC-5232 Change-Id: I5f163df3bb828b9e7adfd773efccd29414020987 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-02Adjust image based on RR release policyNaoto Yamaguchi5-384/+0
Change image name to new naming. Remove dropped image from multi container integration. Bug-AGL: SPEC-5158 Change-Id: I5fad2dbac1f0302f170f08d4a6d538db43fd1e4c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-05-01meta-agl-ic-container: updates for scarthgap upgradeScott Murray1-2/+7
Initial set of fixes to handle upgrade to YP 5.0 / scarthgap. The images are still not buildable after these changes due to the DRM lease changes to Weston needing further work. Changes: - Rename gstreamer1.0-plugins-bad bbappend for version bump. - Update rcar-gen3 kernel module bbappends to be compatible with upstream recipe changes. - Update lxc bbappend to handle addition of lxc-monitord in new version. - Refreshed wireplumber patch to fix QA errors. - Dropped dlt-daemon logging patch for now, IC EG will need to investigate whether it is still required. Bug-AGL: SPEC-5123 Change-Id: I3c49bee8c53ef5127950643d3f455167e4da30d9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-05Add initial DRM lease test imagesScott Murray14-0/+102
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-05-30Enable logging solution in AGL IC container integrationNaoto Yamaguchi11-1/+71
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-12Change package arch for cm-config from all arch to machine archNaoto Yamaguchi5-0/+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 Yamaguchi5-0/+807
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 Yamaguchi5-0/+762
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-09Reworking environment variable setting for guestNaoto Yamaguchi7-29/+2
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 Yamaguchi10-17/+12
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-09Add initial container manager config for r-car gen3Naoto Yamaguchi15-0/+146
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-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-09Divide lxc autostart from main packageNaoto Yamaguchi1-4/+21
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-03-02ic-container: Add default configuration for qemuDamian Hobson-Garcia3-3/+8
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>
2022-08-09Rename Instrument Cluster Container layerJan-Simon Moeller24-0/+197
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