Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

prod-aos: dom0/domd shift to dunfell #128

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

iusyk
Copy link
Contributor

@iusyk iusyk commented Jul 15, 2021

No description provided.

iusyk added 26 commits July 15, 2021 10:33
It has been done due to the migration to dunfell.

Signed-off-by: Ihor Usyk <[email protected]>
meta-linaro meta layer was replaced with meta-arm because
recipes from meta-linaro-toolchain have been transitioned to
meta-arm-toolchain
https://git.linaro.org/openembedded/meta-linaro.git/commit/?h=dunfell&id=6198c7b7eb6ebf0ec5fc0f333d033aa107970b6a

Also remove outdated patch.

Signed-off-by: Valerii Chubar <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
Based on .config from the native BSP build.

Signed-off-by: Oleksandr Tyshchenko <[email protected]>
TODO: Likely the defconfigs for Dom0 needs to be Arm64 generic.

Signed-off-by: Oleksandr Tyshchenko <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
During Linux build Yocto complains that input file "cfg/virtio.scc"
does not exist
This is because there is no yocto-kernel-cache recipe which provides
such configuration.
https://lists.yoctoproject.org/g/meta-virtualization/topic/linux_5_4_input_file/74940175?p=

Remove virtio.scc for now to allow Linux build to complete,
but it is not going to be an issue since all related virtio
configs are already enabled in Linux defconfig.

TODO: Examine if virtio.scc is necessary in current environment
and consider including yocto-kernel-cache recipe.

Signed-off-by: Valerii Chubar <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
 defconfig

In the recipe meta-renesas.bb KBUILD_DEFCONFIG variable is set to
defconfig, and local bbappend SRC_URI is overridden with the same
value.

Reset value KBUILD_DEFCONFIG to explicitly take defconfig from SRC_URI.
Fix the warning:
WARNING: defconfig was supplied both via KBUILD_DEFCONFIG and SRC_URI.

Signed-off-by: Valerii Chubar <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
Also remove outdated patch from the recipe and update device-trees
according to the recent changes (mmc aliases are already in,
the SoC's naming scheme has been changed, etc).

Signed-off-by: Oleksandr Tyshchenko <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
The meta virtualization layer for dunfell contains two separate
recipes: xen and xen-tools.

Move xen-policy related stuff to xen-tools recipe.
Remove outdated patch which selects legacy IPMMU driver for old SoCs.
Remove installation of xen-flask, xen-xenstat, xen-devd because
they are contained in xen-tools recipe.

xen-tools_git.bbppend is created to update xen-tools version.

https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=545461ba2f97f065791e3d4ed22342eba2836d48

Signed-off-by: Valerii Chubar <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
The new recipes to support the build with lddk 1.11 are created.
One feature is added: support the list of the components to be excluded.
The variable EXCLUDED_APIS is introduced into
gles-module/gles-user-module_1.11.bb. To exclude the build of the 'opencl'
and 'vulkan' the following code was added into
gles-user-module_1.11.bbappend (domd and domu):
EXCLUDED_APIS = "opencl vulkan"

The preferred version of GLES is changed at 1.11
Signed-off-by: Ihor Usyk <[email protected]>
New branch already contains important Xen toolstack changes we need
to base on:
- Re-use Xen PV disk configuration/parsing logic for Virtio disk
- Switch to Flask policy globally and implement new policy rules
  for DomD

Signed-off-by: Oleksandr Tyshchenko <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
Also remove outdated patch from the recipe and update device-trees
according to the recent changes (mmc aliases are already in,
the SoC's naming scheme has been changed, etc).

Signed-off-by: Oleksandr Tyshchenko <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
Files:
r8a7795-cetibox-h3ulcb-gweb-v2.dts
r8a7795.dtsi

Signed-off-by: Ihor Usyk <[email protected]>
Signed-off-by: Ihor Usyk <[email protected]>
Add distro feature systemd
Update BBMASK to exclude the following recipes because of conflicts
meta-arm/meta-arm/recipes-security/optee/optee-os
meta-renesas/meta-rcar-gen3/recipes-bsp/optee/optee-os

Signed-off-by: Ihor Usyk <[email protected]>
The directory of the required files has been changed.

Signed-off-by: Ihor Usyk <[email protected]>
The patches have been updated to meet the dunfell structure.

Signed-off-by: Ihor Usyk <[email protected]>
The meta virtualization layer for dunfell contains two separate
recipes: xen and xen-tools.

Since we only need the xen-tools installation in Dom0 we move all
related stuff from xen to xen-tools recipe and remove xen recipe
as unneeded.

Also update IMAGE_INSTALL by providing xen-tools which already
contains all required tools.

Signed-off-by: Valerii Chubar <[email protected]>
    Signed-off-by: Oleksandr Tyshchenko <[email protected]>
@iusyk iusyk requested review from al1img and Eabramov84 and removed request for al1img and Eabramov84 July 15, 2021 21:19
Signed-off-by: Ihor Usyk <[email protected]>
@iusyk iusyk force-pushed the feature/fit-to-prod-devel-dunfell branch from 4802ad5 to c93f874 Compare July 26, 2021 21:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant