Kernel modules need to be optional in AGL base

Description

We try to integrate R-Car H3 environment.

At 1st issue, broken in kernel build caused by meta-virtualization.

 It's fixed by https://github.com/agl-ic-eg/meta-agl/commit/992fc535b4d63105f2ad78f7833a3aae4e3a5a48 and https://github.com/agl-ic-eg/meta-agl-devel/commit/e7cae1402902326a0d8fb4988731bac7c567685a

I can build lxc-host-image-minimal.

But this image is including unnecessary packages by IMAGE_INSTALL_append = " kernel-modules" by agl-base.inc in meta-agl/meta-agl-core/conf/include.

This issue may has qemu environment too.

 

More big issue is a agl-bsp in guest side.

  1. $IMAGE_INSTALL [8 operations]

  2. _append /cross/agl-ic-eg/eg-integ-v2/agl/meta-agl/meta-agl-core/conf/include/base-agl.inc:3

  3. " kernel-modules"

  4. _append[rcar-gen3] /cross/agl-ic-eg/eg-integ-v2/agl/meta-agl/meta-agl-bsp/conf/include/agl_rcar-nogfx.inc:13

  5. " kernel-devicetree "

  6. _append[rcar-gen3] /cross/agl-ic-eg/eg-integ-v2/agl/meta-agl/meta-agl-bsp/conf/include/agl_rcar.inc:49

  7. " kernel-module-pvrsrvkm kernel-module-vsp2 kernel-module-vspm kernel-module-vspm-if omx-user-module "

The devicetree and all kernel-modules must delete all. Those packages are appended by agl_rcar.inc.

Environment

None

Activity

Show:

Walt Miner August 17, 2021 at 9:36 PM

Close for LL 12.0.0

Jan-Simon Moeller July 7, 2021 at 12:53 PM

I think we should be set here for now and can close.

Hiroyuki Ishii July 7, 2021 at 6:50 AM
Edited

Jan-Simon, thank you for your advice. I've confirmed it works perfectly. Sorry for too late reply and disturbing the topic.

So, how should we close this issue? Does the issue already gone thanks to Scott's recent work?

Jan-Simon Moeller June 29, 2021 at 8:36 AM

IMAGE_INSTALL_append   is adding globally to any image.

If you want perf only in the host image, you need to be more specific:

IMAGE_INSTALL_append_pn-<nameofhostimage> = " perf "

 

Hiroyuki Ishii June 29, 2021 at 2:15 AM

Sorry about off-topic question, do you guys know how to set a variable only for host-image (i.e. not multiconfigured image)? Now I'm struggling to enable perf for host on top of master. If I put something like 'IMAGE_INSTALL_append = " perf "' into local.conf, it propagates to both host and guest, and results build failure on guest because of kernel source problem. I guess it's possible to set configurations only for guest with using conf/multiconfig/xxx.conf but I don't know how to do it for host.

Fixed

Details

Assignee

Scott Murray

Reporter

Fix versions

Priority

Created June 9, 2021 at 2:19 PM
Updated August 17, 2021 at 9:36 PM
Resolved July 14, 2021 at 7:49 AM

Flag notifications