Commit Graph

2628 Commits

Author SHA1 Message Date
Bruce Ashfield
87b0a869c6 containerd: update to v2.0.0-rc.6
Bumping containerd to version v2.0.0-rc.6-23-g1e6fdb531, which comprises the following commits:

    0208cb58c go.mod: github.com/containerd/imgcrypt v2.0.0-rc-1
    588b7a100 testutil: avoid conflict with continuity/testutil
    181491032 build(deps): bump github.com/containerd/continuity from 0.4.3 to 0.4.4
    497dc7bf3 build(deps): bump github.com/checkpoint-restore/checkpointctl
    fddeb6f3c pkg/protobuf: fix typo in godoc
    96a1e498f Update containerd plugin to v1.0.0
    3b45a44cc Update to ttrpc v1.2.6 tag
    3cc2343de local: avoid writing to content root on readonly store
    778defa31 Add back ZFS snapshotter
    d3ff3e2ff CI: move crun from Ubuntu to Fedora
    5c65a3d7b Update version to v2.0.0-rc.6
    9aa637b22 Update api vendor to latest
    4b9d6c014 deps: bump github.com/containerd/nri
    2535b187a Scope writer locks to each writer.
    bc819bc97 docs: add command for finding schema 1 images
    c86b2772c docs: update min version for deprecation warnings
    a1ce18816 CI: bump up crun to 1.17
    021895985 Update hcsshim version to v0.12.8
    373311a84 build(deps): bump github.com/opencontainers/selinux
    cf9cf8b5a build(deps): bump github.com/prometheus/client_golang
    03860c208 build(deps): bump azure/CLI from 1.0.9 to 2.1.0
    cf7218fb0 build(deps): bump actions/checkout from 4.1.1 to 4.2.1
    78ec6ef02 build(deps): bump actions/upload-artifact from 4.1.0 to 4.4.3
    bfe8fa330 build(deps): bump github/codeql-action from 3.24.0 to 3.26.13
    38ba7f2f7 dedup BuildLabels
    a5cd0d0a5 dedup GetPassthroughAnnotations
    269997ac5 dedup GetRepoDigestAndTag
    f61dbc2d0 dedup ParseImageReferences
    530db2e8d Introduce two additional unit tests for two runtimes and pod annotations.
    a21e379b6 Allow sections of Plugins to be merged, and not overwritten as entire sections.
    2f24aa00a Update errdefs to 0.3.0
    92d327af1 Update tracing docs for containerd 2.0
    943b196ad Update NRI documentation for containerd 2.0
    a6ceb4be0 containerd 2.0 guide: add image verifier plugins
    347423a11 Request 'allow' setgroups when spawning new userns
    249dd7474 Format link text in containerd 2.0 doc for readability
    18e4ea9a6 Add After=dbus.service to containerd.service
    3eea3536f docs/containerd-2.0.md: mention the removal of `cri-containerd-*.tar.gz`
    f8d50f6e8 README.md: put a link to docs/containerd-2.0.md
    b724b9f23 Add containerd 2.0 doc
    fc5086a74 cri: remove sandbox controller from client
    e4df672ab sandbox: add sandbox controller v2
    4f2bc1580 build(deps): bump lycheeverse/lychee-action from 1.10.0 to 2.0.2
    4bd3a71dd go.{mod,sum}: update NRI deps and re-vendor.
    bff82e196 [StepSecurity] ci: Harden GitHub Actions
    5eb0be994 build(deps): bump github.com/urfave/cli/v2 from 2.27.4 to 2.27.5
    0742238cd Handle teardown failure to avoid blocking cleanup
    c3d84a87f build(deps): bump the otel group with 8 updates
    bfe59daae build(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11
    b7c333ce2 Revert "update runc binary to 1.1.15"
    c6d089090 metrics: Use UnmarshalTo instead of UnmarshalAny
    1db0064c6 CI: install OVMF for Vagrant
    4d02217b5 CI: fix "Unable to find a source package for vagrant" error
    38beeb359 Revert "use vagrant from jammy in noble"
    e2daa20ed Revert "use older version of OVMF package"
    ee921689f Switch from actuated.dev to GH Action runners for arm64
    f89ed3c62 build(deps): bump golang.org/x/sys in the golang-x group
    428df99db build(deps): bump google.golang.org/grpc from 1.67.0 to 1.67.1
    72126a984 update sample go test commands
    9c42dd959 build(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1
    f0f1bfca0 update runc binary to 1.1.15
    46f5a0d93 update to go1.23.2,go1.22.8
    7b1809851 Update runner images to macOS13
    e479431e0 core/runtime: Fix a typo in error message
    b85909cd4 shim: Move pprof server to plugin
    b2681dfbd shim: Move ttrpc interceptors to plugins
    d7f83034c Fix the race condition during GC of snapshots when client retries
    24fe444eb script/setup/install-runc: Add trap statement to clean up tmp files
    6ffdabf72 Makefile: fix shim tags overwritten
    095131abf add use systemd cgroup e2e
    2123855ee Add build tag to omit grpc
    64d29ebe5 snapshots: core: Remove dependency on api types
    11ffba3dc shim: Do not depend on pkg/oci
    0d4e606bb Update hcsshim to v0.12.7
    78e39f7c5 build(deps): bump github.com/intel/goresctrl from 0.7.0 to 0.8.0
    17d4a1357 Propagate trace contexts to shims
    bc4646067 Prepare release notes for v2.0.0-rc.5
    ccb2a8d74 [cri] use 'UserSpecifiedImage' to set the image-name annotation
    b7b6b324b Add check for CNI plugins before tearing down pod network
    b5290726d Add timestamp to PodSandboxStatusResponse for kubernetes Evented PLEG
    146a977f9 Move features section to a separate file
    30f289335 core/mount: Only remove dirs if unmount succeeded
    f8d84ecf9 core/mount: Prevent accidental removal of rootfs files
    004f3951d core/mount: Use MNT_DETACH for umount of tmp layers
    f7ca91fa3 build(deps): bump github.com/prometheus/client_golang
    c75178d93 build(deps): bump google.golang.org/grpc from 1.66.2 to 1.67.0
    519cbda1d build(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.10
    d72051036 Enable the selinux on cri test
    b03a3c5a2 build(deps): bump the k8s group with 4 updates
    017efe05a build(deps): bump the otel group with 8 updates
    7c89148a1 build(deps): bump google.golang.org/grpc from 1.65.0 to 1.66.2
    6e2c4d00d build(deps): bump golang.org/x/mod
    ee0ed75d6 internal/cri: simplify netns setup with pinned userns
    fd3f3d5a1 pkg/sys: add GetUsernsForNamespace interface
    490e45a08 pkg/sys: Add UnshareAfterEnterUserns function
    83aaa89b6 update ctr run to support multiple uid/gid mappings
    1dedcb784 build(deps): bump github.com/checkpoint-restore/go-criu/v7
    7599d4df2 build(deps): bump github.com/prometheus/client_golang
    9037069da update to go1.23.1, go1.22.7
    6f43197c2 Remove cri SandboxInfo RuntimeHandler

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
c7834dbd3c podman: update to v5.2.3
Bumping libpod to version v5.2.3-4-g18e0d84c6c, which comprises the following commits:

    daae27b7b0 vendor: update c/common to v0.60.4
    f6a31e013d Bump to v5.2.4-dev
    c5366a308e Bump to v5.2.3
    b5ededbce5 Update release notes for v5.2.3
    35d2fc8de6 [v5.2] Bump Buildah to v1.37.3
    f0ddea707a pkg/specgen: allow pasta when running inside userns
    aaf15f81c4 libpod: convert owner IDs only with :idmap
    ec4ac087b4 docs: update read the docs changes
    c60961839a allow exposed sctp ports
    a995b6db5d libpod: setupNetNS() correctly mount netns
    d2c2539ee0 vendor: update c/common to v0.60.3
    a17fd8c0aa [skip-ci] Packit: split out ELN jobs and reuse fedora downstream targets
    b9691547ca [skip-ci] Packit: Enable sidetags for bodhi updates
    02d400e7b7 build: Update gvisor-tap-vsock to 0.7.5
    5c856c81b0 CI: podman-machine: do not use cache registry
    2f7011ab43 [CI:DOCS] Add v5.2.2 lib updates to RELEASE_NOTES.md
    602f71991c Bump to v5.2.3-dev
    fcee48106a Bump to v5.2.2
    37af07836a Update RELEASE_NOTES for v5.2.2
    570fbc49aa [v5.2] Bump Buildah to v1.37.2, c/common v0.60.2, c/image v5.32.2
    458d15cf5d [v5.2] golangci-lint: make darwin linting happy
    faf3edb5f4 [v5.2] golangci-lint: make windows linting happy
    b96312af0f [v5.2] test/e2e: remove kernel version check
    462c1c6d8e [v5.2] golangci-lint: remove most skip dirs
    35290c9b32 [v5.2] set !remote build tags where needed
    3ca3c1d456 [v5.2] update golangci-lint to 1.60.1
    d61b5d9409 Packit: update targets for propose-downstream
    dbdff97042 Create volume path before state initialization

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
249c79e20b xen: add README for testing
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
d2238e7287 xen: enable networking and guest image bundling
The xen host image reference needed signifant work to be
functional for launching and testing Xen domu guests.

Here we add additional tools to the host image, and allow
it to automatically bundle guests if the configuration
is enabled.

We also add systemd networking configuration to create
a xenbr0 which offeres connectivity to the entire reference
system.

See the recipes and the README for details on testing
and bundling.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
dc093093fe container-host: reduce extra space to 2GB
The previous 40G size was far too large.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
201436cd0c container-app-base: add missing space to IMAGE_INSTALL:append
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
59ee14bf17 cloud-image-controller: reduce extra space recommendation
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
5a32510af0 qemuboot: add note about virt_networking bbclass
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
718da5ae40 containerd: make network configuration a conflist
parsing errors occur if this fragment ends with .conf,
so we renamed it to make sure it is processed as a
conflist.

Tested with containerd + nerdctl

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
9f88821d80 cni: rrecommend iptables and iproute
This aren't needed for all plugins, but are required
for others. So we make them a rrecommends to ensure
they are more often than not installed with the main
package.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
7afd21085b packagegroups: add iproute, iptables and tini
As it turns out CNI needs iptables to configure some plugins,
and without it we get a silent fail. It will also be added
to the recipe as a RRECOMMENDS, but we also put it in the
packagegroup for more visibility.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
eb5c2bc4a5 documentation: add README.md for available container image types
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
1a87aca209 images: add systemd reference container
Extends container-base to create a systemd enabled container that is
an appropriate starting point if a systemd applciation is being run
or a mulit-user style environment is required.

The application specified in SYSTEMD_CONTAINER_APP will be installed
and be available to be executed.

The rootfs of this container type is post processed to enable and
disable services as specified by the containeer definition. This allows
service that are not appropriate in a containerized environemnt to
be disabled (i.e. getty login)

The list of services can be found in the recipes themselves.

This container enables ssh by default, so that it can be executed
in the background and then accessed as a full environment.

Note: this is currently a priviledged container if run under docker.

There are multiple ways to add/remove permissions from the container,
and most are configurable during launch:

  % root@qemuarm64-54:~# docker run -d --rm --name systemd_test  --privileged --cap-add SYS_ADMIN \
     --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private \
     --tmpfs /tmp --tmpfs /run --tmpfs /run/lock zeddii/systemd-container-base

or

  % docker run -d --rm --name systemd_test --privileged  --cgroup-parent=docker.slice \
     --cgroupns private  zeddii/c3-systemd-container

  % root@qemuarm64-54:~# docker ps
  CONTAINER ID   IMAGE                         COMMAND        CREATED         STATUS         PORTS     NAMES
  4b07cc907e26   zeddii/c3-systemd-container   "/sbin/init"   5 minutes ago   Up 5 minutes             systemd_test

  % podman run -d --name systemd_test --privileged --cgroupns=host --tmpfs /tmp --tmpfs /run --tmpfs /run/lock \
           -v /sys/fs/cgroup:/sys/fs/cgroup:ro  zeddii/systemd-container-base

  % ctr container create --privileged --runtime="io.containerd.runc.v2" \
      --mount type=bind,src=/sys/fs/cgroup,dst=/sys/fs/cgroup,options=rbind:rw \
      docker.io/zeddii/systemd-container-base:latest  my_systemd_container /sbin/init

  % ctr task start --detach my_systemd_container

  % ctr task ls
    TASK                    PID    STATUS
    my_systemd_container    690    RUNNING

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
30647f3d94 images: add reference application container
Includes container-base.

Provides an application container that installs a package (or packages) to
the container and make the specified command the OCI_IMAGE_ENTRYPOINT.

   CONTAINER_APP_CMD : the binary to run via the OCI_IMAGE_ENTRYPOINT
   CONATINER_APP: packages to install to the container

The default entry point is the "date" command.

  % root@qemuarm64-54:~# docker run zeddii/container-app-base
  Mon Oct 28 18:41:23 UTC 2024

  % root@qemuarm64-54:~# docker run --entrypoint "du" zeddii/container-app-base -sh
  2.6M    .

  % podman run docker.io/zeddii/container-app-base
  Mon Oct 28 18:41:23 UTC 2024

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
683e03c275 images: add reference devtools container
includes container-base, and adds image features to make development
tools/headers available.
                                                                                                                                                                                                                                              Anything added to CORE_DEV_IMAGE_EXTRA_INSTALL will be installed into
the image in it's development variant.

The container shell is changed to bash from busybox.

package-management is added to this image type, but by default there
is no package feed configured (since it must be pointed at a build)
  % root@qemuarm64-54:~# docker run -it zeddii/container-devtools  bash
  bash-5.2# du -sh .
  399M    .                                                                                                                                                                                                                                     bash-5.2# rpm -qa | wc -l
  308
  bash-5.2# gcc --version
  gcc (GCC) 14.2.0
  Copyright (C) 2024 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
f757566a13 images: container-image-host
Add some conditional distro feature checks for kubernetes flavours

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
38470f4f2f packagegroups: add support utilities to cni and containerd
When debugging or configuration networking for CNI and
containerd we should ensure that support utilties are present.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
5dfe66298a crun: conditionally offer runc binary via symlink
When integrating into some container stacks (such as containerd),
the detailed configuration toml changes to change the container
runtime from runc to crun is not always trivial.

To avoid (for now) carrying configuration snippets as part of
the recipes, we can symlink runc to crun as crun is fully
compatible with runc.

Note: this means you can't have runc and crun installed on the
same image if the symlinking is done. Hence why this symlinking
is conditional.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
e2c3d012f9 containerd: add cni-networking configuration
When running a containerd-only stack, we need a CNI configuration
to be available.

When running containerd as part of something like K3S, we expect
the orchestration package will provide that configuration.

This commit makes a containerd-cni package available that contains
a starting point configuration.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
adcb5da8b5 conf: containerd: add networking configuration
containerd doesn't do native networking confguration, it relies
on CNI.

So ensure that CNI is specified in the containerd profile.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
1a4030a6c6 container-base: define empty entry point
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
cbad7151f1 demos/helloworld: fix S and UNPACKDIR
Adapt the demonstration helloworld appliication to fix a warning
about UNPACKDIR not being correct.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
3429c73a91 conf: add container profile definitions
These definitions are selected by setting: CONTAINER_PROFILE

Once selected the VIRTUAL_RUNTIME and other considerations for
the profile are configured and used by the images in meta-virt.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
b164962a6e images: add container host image
This image is a reference implementation to create a target platform
capable of running containers. This includes kernel configuration,
container runtimes, tools and other support applications.

The packages to install are largely described in the packagegroups
that are part of this layer. packagegroups are preferred as they can
easily be used to create similar images of different composition.
The recipes for the packages have their list of build and runtime
dependencies, as such, those dependencies are not part of the image
install or listed explicitly in the packgroups.

CNCF areas that have choices are described by VIRTUAL-RUNTIME
variables. These variables can be set individually (in a distro,
layer or local configuration file), or can be set by the setting of
a "CONTAINER_PROFILE". It is possible to select incompatible
packages if setting the VIRTUAL-RUNTIME variables individually.
container profiles have been created as valid / tested stacks of the
components in meta-virtualization.

The contents of the image are selected by testing the VIRTUAL-RUNTIME
values and mapping them to packagegroups.

The possible VIRTUAL-RUNTIME variables (and their values) are
currently:

 engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc
    VIRTUAL-RUNTIME_container_engine ??= "podman"
 runtime: runc, crun, runv, runx
    VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc"
 networking: cni, netavark
    VIRTUAL-RUNTIME_container_networking ??= "cni"
 dns: cni, aardvark-dns
    VIRTUAL-RUNTIME_container_dns ??= "cni"
 orchestration: k8s, k3s
    VIRTUAL-RUNTIME_container_orchestration ??= "k3s"
 Kubernetes terminology "components"
   VIRTUAL-RUNTIME_cri ??= "virtual-containerd"
   VIRTUAL-RUNTIME_cni ??= "cni"

To select a CONTAINER_PROFILE, set the variable in your local,
distro or layer configuration:

  CONTAINER_PROFILE="<your value>"

The possible values for CONTAINER_PROFILE can be found in
conf/distro/include in the format of: meta-virt-container-<profile>.inc

    default (docker)
    containerd
    podman
    docker
    k3s-host
    k3s-node

This image will eventually be modified more as something that
can easily be inherited and re-used, but for now, it is a capture
of the best practices in a container host image.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
3857974ed9 conf: meta-virt-container.inc comment out values as reference
This .inc file is no longer the active one by default, so we
will use it a reference for the possible values. To make that
more obvious, we comment out the current values.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
e8f51968a2 netavark: disable nmap for aarch64 ptests
nmap is not currently buidling for aarch64, so we disable it
as a ptest rdepends when that is our target arch. Some tests
may not work, but having a buildable stack is more important
than all tests working.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
79d9c4f999 conf: add CONTAINER and VIRTUALIZATION PROFILE defaults
These are used to set configuration for container and virtualization
stacks. We set a default to ensure that sane values are always
present.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
5141d3f3f9 podman: add VIRTUAL-RUNTIME_container_dns to RDEPENDS
Allow aardvark-dns to be specified as a rdepends for podman

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
f53b101d45 packagegroups: add new container package sets
Adding the following new pacakge groups:

    packagegroup-cni
    packagegroup-netavark
    packagegroup-container-tools

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
e1d12c78c4 packagegroups: add cri-tools to kubernetes
cri-tools aims to provide a series of debugging and validation
   tools for Kubelet CRI, which includes:

   crictl: CLI for kubelet CRI.
   critest: validation test suites for kubelet CRI.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
b3a428e1c4 kernel/cfg: import docker configuration tweaks
Bumping the SRCREV to pick up the following commits:

    8650ed99 docker: enable ipvlan and build BRIDGE_VLAN_FILTERING into kernel
    38e7c7aa docker: inherit base container and BPF configs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
b5b94c2f51 docker-moby: tweak check-config script for 6.1+ kernels
We are showing one warning on check-config that isn't valid,
as the option has been changed in kernels 6.1+. We tweak
the check-config script to make that conditional

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
3af81200a4 xen: make qemu-system-* configurable
qemu-system-i386 / firmware were added as RDEPENDS to xen.
While this is typically the right choice, we can make those
values defined by a variable in case other layers want to
override the default choice.

While we are at it, we change other references to qemu-system-i386
to allow a complete switch if the variable is changed.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Bruce Ashfield
e6b7e24630 xen: add qemu-system-i386 and bios RDEPENDS
The current RRRECOMMENDS can work, but isn't strong enough
since we explicitly configure system-i386 into 'xl' and
-system requires the bios files.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Martin Jansa
aca728f51b go-cli: use main branch
* master was renamed to main long time ago

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-12 23:14:33 +00:00
Chris Laplante
f38e46c8d2 app-container-curl: add space for IMAGE_INSTALL:append
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-12 23:14:10 +00:00
Chris Laplante
071c585f69 app-container: add space for IMAGE_INSTALL:append
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-12 23:14:05 +00:00
Chen Qi
e340d5b548 criu: fix buildpaths QA issue for arm
The settings of CFLAGS:arm overrides the previous CFLAGS settings,
causing buildpaths QA error for arm. Use CFLAGS:append:arm instead
to fix this issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-12 23:13:45 +00:00
Bin Lan
2747f11e79 openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
The EGREP in ptest/tests/atlocal contains the build paths.
The CFLAGS in ptest/tests/atlocal contains the build paths.
This change set fixs:
 - set EGREP to "grep -E" in ptest/tests/atlocal
 - set CFLAGS to " " in ptest/tests/atlocal
by updating the patch
openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch.

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-02 00:03:41 -04:00
Lukasz Czechowski
b4fe1f4933 container-host-config: Remove centos registry
Update registry list by removing 'registry.centos.org' entry.
This registry is no longer available.
Decommissioning of the registry was announced in the thread:
https://lists.centos.org/hyperkitty/list/devel@lists.centos.org/thread/EHGCQUHLDQ6LI474ZAB7MPRZFJD77P3S/

Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-02 00:02:34 -04:00
Xiangyu Chen
bfcd056321 lxc: don't allow named listening IPv6 address on lxcbrX network interface
lxc-net enabled the IPv6 by default since v6.0.0[1], when named enabled on
system, the lxc-net which based on dnsmasq would fail to bind the IPv6
address on lxcbrX interface, that cause lxc cannot work correctly.

Add the lxc-net default v6 address to named.conf.option to tell named don't
bind and listen that address.

[1] https://github.com/lxc/lxc/commit/e8888344

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-02 00:02:12 -04:00
Bruce Ashfield
d5bda44c06 upx: update to -tip and return to indivdual fetches
Bumping upx to version v4.2.4-62-g44e4bd0b, which comprises the following commits:

    44e4bd0b CI updates
    1427b813 CI updates
    a9cb3542 CI and cmake updates
    b4db17ab cmake update
    ba969fb9 CI updates
    87ac252c CI updates
    ada9081e CI updates
    d6a29e58 CI updates
    03c41840 all: misc cleanups

The upx repository has invalid git commits for SRCREVs
greater than 4.2.4 (and for commits that used to work).

This was reported on the mailing list by Javier Tia <javier.tia@linaro.org>

Older commits seem to work, but we'd have issues updating
the recipe to newer values (tip fo the tree is also broken
for gitsm fetching).

So for now, we switch back to individual fetches that we
can use to control the SRCREVs precisely.

 SRCREVs are from:
   git submodule status | awk '{ commit_hash = $1; sub(/vendor\//, "", $2); gsub("-", "_", $2); printf "SRCREV_vendor_%s = \"%s\"\n", $2, commit_hash }'

with two substitions for invalid SRCREVs (hence why the gitsm fetcher
has issues)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-01 23:59:13 -04:00
Bruce Ashfield
72ea52031c python: drop python3-docopt
The meta-python is good enough for our needs.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-28 21:21:05 -04:00
Mark Hatle
1665d1e2ad linux-yocto_virtualization.inc: If using externalsrc adjust dependency
When using externalsrc, the system will disable a number of tasks such as
do_validate_branches, do_unpack and do_patch.  The do_kernel_metadata task
is configured to run after do_validate_branches do_unpack and before
do_patch.  Since all of these have been removed, the task will never
run.

The do_kernel_metadata task is responsible for populating the
recipe-sysroot-native/kcfg directory via it's own dependency to
yocto-cfg-fragments-native:do_populate_sysroot.

Without do_kernel_metadata running, do_kernel_configme will fail to run
with errors like:
  ERROR: linux-xlnx-6.6.40+git-r0 do_kernel_configme: Feature '../recipe-sysroot-native/kcfg/cfg/virtio.scc' not found, this will cause configuration failures.
  ERROR: linux-xlnx-6.6.40+git-r0 do_kernel_configme: Check the SRC_URI for meta-data repositories or directories that may be missing
  ERROR: linux-xlnx-6.6.40+git-r0 do_kernel_configme: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue

Fix this issue by detecting if we're running with externalsrc, and then
adding the task do_kernel_metadata (from the current recipe) as a
dependency of do_kernel_configme.

To reproduce th original issue:

  $ . ./oe-initbuild-env
  $ bitbake linux-yocto -c patch
  $ cp -r tmp/work-shared/<machine>/kernel-source linux-yocto

  edit the conf/local.conf adding:
  DISTRO_FEATURES:append = " virtualization"
  INHERIT += "externalsrc"
  EXTERNALSRC:pn-linux-yocto = "${TOPDIR}/linux-yocto"

  $ rm -rf tmp
  $ bitbake linux-yocto -c menuconfig

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-10 13:14:07 +00:00
Sandeep Gundlupet Raju
385f7cecbc device-tree: Rename EXTRA_OVERLAYS to EXTRA_DT_INCLUDE_FILES
Rename EXTRA_OVERLAYS to EXTRA_DT_INCLUDE_FILES as these variables
are renamed in https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb
recipe.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-10 13:09:31 +00:00
Bruce Ashfield
df856b9b73 kernel: make yocto-cfg-fragment dependency conditional
There's no sense adding a fragment dependency to kernels
that don't support merging. This commit restores the check
we previously had for an inherit of kernel-yocto before
adding the configuration fragmment dependency.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00
Bruce Ashfield
b4e50f377f lopper: update to -tip
Bumping lopper to latest, which comprises the following commits:

    a2abe17 lopper/device tree: variable sized records
    fe60827 lopper: add heuristics to string format detection
    00bd2e3 lopper: flush, unify and simplify output (print())
    166d608 lopper/sanity: test both LopperTreePrinter and node print to file
    6c4fd8e lopper: add warning/error checking framwork
    55c415d lopper: make some warnings informational
    2518125 lopper: improve output directory and output file handling
    60357a6 lopper: assists: baremetal_xparameters_xlnx: In case of no valid lable don't generate defines
    e0f6cd8 openamp: xlnx: rpmsg-native: update node names for shared mem and IPI
    f84f204 lopper: assists: baremetal_gentestapp_xlnx: Add support for dependency files
    08d1ac6 lopper: assists: gen_domain_dts: Remove unneeded properties while generating linux device-tree
    4f22075 assists:baremetallinker: Avoid setting axi_emc as the default memory in linker sections
    b4176e4 openamp: xlnx: Update handling for rpmsg-native
    4644625 lopper: assists: xlnx_overlay_dt: Improvments in the assist
    0866e1f lopper: assist: gen_domain_dts: Update the linux device-tree to delete unneeded nodes
    7f909ed assists: baremetalconfig_xlnx: Remove the dead code from get_clock_prop()
    ae9bcd4 lops:lop-a53-32bit.dts Add a new lops file to generate apu_map..... without 64bit addresses Add a new lops file to generate an apu_map without 64 bit addresses for a53 Signed-off-by: Dhriti Sree Rompicharla <drompich@amd.com>
    1df1bad lopper: assists: bmcmake_metadata_xlnx: Update the driver example meta-data to take care of windows platform as well
    8a67bb8 lopper_sanity: add openamp sanity test
    f601286 lopper: add strict mode to nodes()
    774ffc1 lops:lop-cpu-oslist Add a new lops file to get ai_engine as cpu
    c3eae64 openamp: xlnx: fix syntax err
    1b014ad lops: lop-microblaze-riscv: Update multilib mappings
    3c69852 petalinuxconfig_xlnx.py:pass memory_type value to device_type
    4d15e3e lops: mb-riscv: Add generic cpus_* pattern to re-use riscv lop file for asu
    c649a70 openamp: xlnx: Validate reserved-mem regions
    10efc21 isospec: add permissive flag for non-SMID devices
    53db451 lopper/log: move basicConfig to init()
    b5ae620 lopper: assists: gen_domain_dts: Add Audio formatter DT yaml
    2be4756 lopper: assists: gen_domain_dts: Add SPDIF DT yaml
    771dc82 lopper: assists: gen_domain_dts: Add I2S sound card DT yaml
    18b9a7c lopper: assists: gen_domain_dts: Add SDI Rx Subsystem DT yaml
    7d3726f lopper: assists: gen_domain_dts: Add SDI Tx Subsystem DT yaml
    16dd23c assists: gen_domain_dts: Add support for MB-V zephyr
    b6cd9f4 openamp: xlnx: Update property 'power-domain' to 'power-domains'
    bcd9835 assists: gen_domain_dts: Hardcode DDR address for Zynq to always start from 0
    19a29c3 lopper_sanity: add phandle selection test
    7f80d1a assists/isospec: introduce base protections
    042d1e6 lopper: fix property comparisions
    edb1c8a lopper: assists: Initial support for Versal Gen2 pl configuration
    4bab4d1 lopper: add --symbols command line flag
    c900d73 lopper: update default phandle map definitions
    b212b99 lopper/base: enhance node dereference field lookup
    2fff711 lopper: assists: baremetal_xparameters_xlnx: Generate coherency defines to inline with old tool defines
    4013600 lopper: assists: petalinuxconfig_xlnx: Add support for memory_type in the generated yaml file
    81f6a45 lopper: assists: yaml_bindings: Documentation for switch and broadcaster
    4f4b8e5 assists: gen_domain_dts: Add ocm IPs into linux ignore list
    c13ea5d assists: gen_domain_dts: Add few Zynq specific IPs in Linux ignore list
    a02e2e5 lopper: don't check the existence of cpp when LOPPER_CPP is set
    52ba5b6 assists: baremetallinker: Add support for the memory sections with new taxonomy changes
    0676d1a lopper: lops: lop-ttc-split: Rename the label names to inline with old tool
    bcc1e08 lopper: assists: baremetal_xparameters_xlnx: remove references to duplicate SDT* defines
    b405692 lopper: assists: baremetal_gentestapp_xlnx: Add support for override stdin configuration
    9ee70bc lopper: assists: baremetal_gentestapp_xlnx: Fix race condition while making the Interrupt Controller example as the primary example
    eb56358 lopper: assists: baremetal_bspconfig_xlnx: Add support for generating microblaze_exceptions_g.h header
    8151269 lopper: assists: Add HLS IPs yaml documentation.
    381a0c2 assists: baremetal_gentestapp: Pull the examples based on the hwproperties
    fa615ba lopper: assists: gen_domain_dts: Add phandle to Video Phy Controller DT entry
    c4ee0d0 lopper: assists: gen_domain_dts: Add DP1.4 Rx Subsystem DT yaml
    6f7bd17 lopper: assists: gen_domain_dts: Add DP 1.4 Tx Subsystem DT yaml
    fcfad51 assists: zuplus_xppu_default: fix syntax error
    b4dd529 assists: baremetallinker: Fix ddr_default logic for memory tests
    1d9afe6 assists: baremetallinker: Update the logic to find phandle in address msp
    cac0985 lopper: assists: gen_domain_dts: Add mipi pipeline documentation
    ae68834 lopper: lops: lop-ttc-split.dts: Add new lops file for baremetal ttc driver
    697ce41 tree: fix phandle collision detection
    cecdead isospec: read id from .iss and propagate to yaml
    c895b6e lopper: assists: gen_domain_dts: Add HDMI Phy Controller DT yaml
    5bbab83 modify: delete node before copy and rename
    1cd1eaa assist-sanity: add node reordering self test
    79d5457 tree: add API to reorder nodes
    f9a3605 lopper: assists: gen_domain_dts: Add Video Phy Controller DT yaml
    0e29b6a lopper: assists: gen_domain_dts: Add HDMI 2.0 Tx Subsystem DT yaml
    10c162f lopper: assists: gen_domain_dts: Add HDMI 2.0 Rx Subsystem DT yaml
    4c867f0 assists: linker_xlnx: Fix memory assignment to avoid build failure
    e016f0e tree: remove extraneous output
    0260f70 tree: fix property debug level and output
    41d9d99 tree: simplfy node copy and update
    c5aaab7 lopper: make print() more robust
    25d080c lopper/tree: fix node addition and move robustness
    9007c25 lopper_sanity: add external assist santy
    2cfc2cd lopper: search configured paths for assists
    8af3dfb tests: add selftest for assist sanity checking
    626c472 lopper: assists: gen_domain_dts: Add HDMI 2.1 Tx Subsystem DT yaml
    d141520 lopper: assists: gen_domain_dts: Add HDMI 2.1 Rx Subsystem DT yaml
    df99632 lopper: assists: gen_domain_dts: Don't delete child nodes when pruning yaml files
    a6a8907 lopper: assists: Initial support for zynq pl configuration
    87f81b6 openamp: Add Validation for carveouts and linker
    cecc083 assists: baremetallinker: Add HBM specific address ranges in axi_noc1 dictionary
    2cc9ba4 lopper: assists: xlnx_overlay_dt: Add proper checks to add &amba node
    93b1c56 lopper: assists: gen_domain_dts: Move the yaml bindings into a seperate folder
    ae67899 assists: baremetal_xparameters: Generate Canonical definitions for IPI targets
    699ecb3 lopper: assists: bmcmake_metadata_xlnx: Add proper checks
    a8168be lops: lop-microblaze-riscv: Sync with Vitis riscv gnu lib installation
    d90c10b assists: baremetal_gentestapp: Check the interrupt-parent of IPs before adding their intr example in peripheral test
    4db8fdd lopper: assists: baremetal_gentestapp_xlnx: Don't pull uart examples if the hardware instance is configured as stdin
    b3e6a55 assists: gentest_app: exclude last occurence of ttc node
    c20b0cb assists:baremetal_validate_comp_xlnx: Avoid the hw check when device_type property is missing in YAML
    285e063 lopper: assists: Add num-insts to rfdc node
    f51e38d lopper: Update check to adjust DDR start and size address
    855aaf2 lopper: fix incorrect warning log
    90de8d0 lopper: assists: baremetallinker: Adjust heap size for microblaze lmb_bram designs having size less than 8k
    1d9c628 openamp: xlnx: Add vc-p and vn-p models
    4794bc9 openamp: xlnx: versal: match model parsing same as VNET
    eec481d assists: generate_config_object: Enable user-driven customization of library options
    79549ae assists: generate_config_object: Addressed the scenario where, not all masters are reset masters
    f82ab8d lopper:assists:baremetallinker: Do not consider linear SPIs for memory tests
    a73d564 lopper:assists:gen_domain_dts: Remove axi_noc and noc_ddr4 IPs from linux ignore list
    021013d base: add expression to clock phandle description
    48750bd openamp: xlnx: Update model parsing
    60d8aa1 openamp: xlnx: remove a2197
    7bd74a9 lopper: assists: gen_domain_dts: Update symbol node entry for gic_its node
    cfb21da base/phandle: add resets and assigned-clocks
    5d13874 lopper: assists: gen_domain_dts: Add option to keep TCM nodes
    ebdfc57 lopper: assists: baremetal_validate_comp_xlnx: Update the assist to handle use cases where dev_type is missing in the driver yaml
    ff72bf2 lopper: assists: baremetal_validate_comp_xlnx: Update mem_type check for microblaze_riscv
    1eeeec3 lopper: assists: baremetal_xparameters_xlnx: Generate reg and interrupt defines for all possible ranges
    064646a assists: gen_domain_dts: Remove BRAM memory nodes from linux device tree
    624e91d assists: linker/domain: Add support for linear flash memories in linker script
    5e68bc5 lopper: assists: baremetal_validate_comp_xlnx: Update memory test checks for zynq platform
    818100c lopper: assists: baremetal_xparameters_xlnx: Fix whitespace after the marco name warning
    01d33c4 assists: baremetal_xparameters_xlnx: Export defines needed by MB V BSP
    442630a lops: lop-microblaze-riscv: Add support for library fallback mechanism
    e8f8c80 lopper: assists: baremetal_gentestapp_xlnx: Fix the condition for selftest API declartion
    136a11a setup.py: change minimum version to 3.8
    4b68752 lopper: assists: xlnx_overlay_dt: Handle phandle properties in a specific way
    8476601 assists:gen_domain_dts.py: Remove PL DDR from default linux device tree
    57180b8 lopper: assists: gen_domain_dts: Prune clocking wizard
    450b6ad setup: update description and python version
    bd0aa2f version: update to v1.2.0
    83b251f lops: lop-microblaze-riscv: Add support for bit-manipulation extensions
    ef5524b lopper: assits: bmcmake_metadata_xlnx: Fix CMAKE_MACHINE value for versal platform
    282ec07 lopper: assists: baremetal_validate_comp_xlnx: Add special handling for emacps
    e4b61fc assists:baremetallinker: Correct the logic to set the start address of linker section for microblaze
    538f6b5 assists: baremetallinker: Correct the start address for text and data sections for microblaze
    4e00e10 assists: baremetalconfig: Correct the size for 32bit cell size boundary condition
    026f7ad lopper: assists: baremetallinker_xlnx:  Update default heap size for microblaze processor
    bcd57e9 lopper: assists: baremetal_validate_comp_xlnx: Add assist to validate the hardware required for a given ESW component
    c34ef01 lopper: assists: gen_domain_dts: Update don't delete properties list
    bc99d2f lopper: assists: preserve the device-tree node order
    212686c isspec: drop debug code
    d01a174 openamp: xlnx: Update Platform handling to use model property
    c747581 base/phandle: add reset-gpios
    4451694 tree: return a list of nodes matching an address
    1bf6728 Revert "lopper: assists: gen_domain_dts: Remove dupe TCM node"
    9173c4c openamp: xlnx: VHK158: clean up compatible string
    7b8fafc lopper: assists: xlnx_overlay_dt: fixed the closing bracket missing issue
    bfbd55b domain_access: reference count memory nodes
    6937a27 Revert "openamp: xlnx: Clean up TCM handling"
    4e8c9a4 assists/domain_access: keep all matched regions
    8a936b8 openamp: xlnx: Clean up TCM handling
    7a16db0 lopper: assists: gen_domain_dts: Remove dupe TCM node
    17cc815 lopper: assists: domain_access: Fix typo vebose
    033a78f lopper: assists: barmetal*: Fix race condition in the version driver handling
    ac63f30 openamp: xlnx: Add versal SOC's vhk158 and vek280
    5b0289f lopper: assistes: Reduce dtb for sd-fec designs
    6ce8ab4 lopper: assists: Enhance special proprety removal
    d6eedf2 lopper: assists: Add special handling for xdma pcie
    b658166 lopper:assists:baremetal*: Correct the steps to construct a 64 bit value from 2 32-bit cells
    6525a7f assists/domain_access: update start and size of memory
    843a5ea assists: remove overly verbose output
    939b356 assists/domain_access: count indirect references
    e2ed2f3 assists/isospec: output cpu specific label
    56b34b2 assists/domain_access: fix memory node -> address-map updating
    1709d94 yaml: update version check to use packaging module
    bc86e1e assists: baremetal_xparameters_xlnx: Export MB V cpu parameters related defines
    4af6ecd openamp: xlnx: Clean up SOC Parsing
    5ba9f59 openamp: xlnx: Add support for more SOC's
    f58a344 openamp: xlnx: Add VMK180 support
    1fcbfed assists/isospec: add ss_permissions to valid access types
    6b74788 lopper: assists: baremetal_xparameters_xlnx: Update IPI interrupt ID value to inline with vitis classic
    b03b978 lopper: assists: baremetal_xparameters_xlnx: Generate interrupt ID for IPI
    cf70679 lopper: assists: baremetalconfig_xlnx: Generate dummy config struct in case proprety is not present
    f20667c assists/isospec: log new spec type ss_management
    3b8462b lopper: assists: baremetal_xparameters_xlnx: Fix subnode_phandle property generation
    b734b82 lopper: assists: xlnx_overlay_dt: Fix wrong gic_node referencing
    9c8f055 setup.py: Add "packaging" module under YAML related requirements of Lopper
    ed32a4a lops: lop-microblaze-riscv: Fix handling of use-muldiv and use-fpu
    f4f4da8 lopper: assists: Remove domain specific code from the assist
    a76048f xlnx_overlay_dt.py: Rename dfx-static to dfx
    5446ee6 asists/subsystem: make processing more robust
    d9f9621 isospec: ensure that memory and cpus are always lists
    c4e1589 lopper: assists: baremetal*: Add provision to pass float numbers from SDT as is
    738df8c yaml: support ruamel versions > 0.17.x
    8e23822 lopper: assists: gen_domain_dts: Fix syntax issue in the code
    8eaf027 lopper: assists: baremetal_xparams: Done generate interruptIDs for PS peripherals
    54a8dbd isospec: refactor for speed and tracking
    37b6217 tree: fix property iteration for json
    f0a6873 isospec. WIP2. cleanedup prints
    67cbf9b WIP: v2 unassigned devices and memory
    d7fa5bb WIP: unreferenced devices can be addded, lots of address warnings
    8b7df8c assist:baremetalconfig: Avoid the error when there is no serial mapped to the processor
    5a3e037 xlnx_overlay_dt.py: Update script to support partial use cases
    8ee72f0 openamp: xlnx: Enable Linux generated Device Tree to work for OpenAMP use cases
    6b68ec5 lopper: assists: xlnx_overlay_dt: Update the interrupt-parent references in pl.dtsi
    8ff2ef3 lopper: assists: gen_domain_dts: Update symbol node gic entries as per latest change
    4314f3c lopper: assists: gen_domain_dts: Fix race condition for pl microblaze based system device-tree
    9b9abce lopper: assists: gen_domain_dts: Update comments
    c032056 lopper: assists: baremetalconfig_xlnx: Don't generate config file when it is not needed
    4be33e3 assists: bmcmake_metadata_xlnx: Add check for interrupt property
    f3cfd99 lopper: assists: xlnx_overlay_dt: Add outdir support for pl.dtsi generation
    358e798 lopper: assists: gen_domain_dts: fix race condition in the size cells handling
    49cb3df lops: openamp: Update lops to be scalable for Linux boot with latest Lopper outputs
    292221c lopper: assists: baremetal_gentestapp_xlnx: make the Interrupt Controller example as the primary example
    52d3310 openamp: xlnx: Update RPMsg kernel mailbox output
    0721a60 lopper: assists: baremetalconfig_xlnx: Update the get_label() API to read xlnx,name property
    029302d lopper: assists: Add support for VersalNet linux device-tree generation
    cbf2a75 assists: baremetal_gentestapp_xlnx: Don't generate Instance names for selftest
    9883a0b lopper: lops: Rename the interrupt-controller node to inline with existing linux device-tree entries
    2a1b71f lopper: assists: gen_domain_dts: Add support for linux device-tree generation
    236ba92 lopper: assists: correct memory size when the size crosses 32 bit
    4411d8a lopper:assists:baremetal_config: Correct the pci range mapping
    0733a51 xlnx_overlay_dt.py: Update script to support full and dfx-static
    d9b0491 lopper:assists:baremetal_xparams Generate the Memory region names within NOC macros
    6567bbf openamp: xlnx: Add IPI Helper code
    9f79719 assists: introduce sample comparision assist
    f638216 assists:baremetallinker_xlnx: Fix handling for lmb bram
    08714b3 lops: Add lops file to generate Microblaze RISC-V compiler flags
    e8d8670 lopper: assists: baremetal*: Add proper checks
    0e640aa openamp: xlnx: Add support for Versal NET
    c33273e assists:baremetalconfig_xlnx: Update logic to get correct PCI range
    dafaa60 lopper: assists: baremetal_xlnx*: Add support for the Generic Interrupt ID
    eab07ca lopper: assists: bmcmake_metadata_xlnx: Add support for XPAR_CPU_ID in cmake meta-data
    c1f4c15 lopper: lops: Keep the status disabled nodes in the pruned tree
    76f8b57 lopper: assists: xlnx_overlay_dt: Remove amba_pl references
    26cfd97 assists:baremetal_xparameters_xlnx: Correct the string macros in xparameters
    f7de8bb openamp: xlnx: Add new module flags for role, host and remote
    74dcf15 lopper: assists: bmcmake_metadata_xlnx: Don't include IP subcores in the hw metadata
    37e3181 openamp: xlnx: Update output file
    6e06529 lopper: lops: lop-domain-linux-a72-prune: prune symbol node
    2c42dc5 lopper: lops: lop-domain-a72-prune: Don't delete pl nodes
    fb4aab3 lopper: assists: xlnx_overlay_dt: Migrate the DT overlays to sugar syntax
    58972a7 lopper:assists:xparams: Provide an option to configure the xparam prefix
    7877280 lopper:assists:xparams: Replace the node label name with the IP name in canonical entries
    657c7d6 tree: count indexes for dropped records
    07d5b55 spec: document extended yaml operators
    d23e170 yaml: expand all chunks of json into numbered nodes
    4430667 tree: improve phandle map variable field handling
    294d238 yaml: resolve json properties after setting pclass
    9ab64bd base/phandle: add expression to clock phandle description
    3108937 lopper: assists: gen_domain_dts: Fix race condition in deleting the cluster cpu node
    fcf7db3 lopper: assists: xlnx_overlay_dt: Remove deprecated lopper_tree imports
    10460d8 lopper: assists: baremetalconfig_xlnx: Don't generate config file in case driver is compatible with the given sdt
    a8e926b openamp: xlnx: Update channel check to account for 0
    512fede openamp: xlnx: Enable multiple channels in YAML
    5f6dec1 openamp: xlnx: remove old openamp zynq logic
    885a446 openamp: xlnx: Enable Zynq Platform via updated module flow
    7dddfe1 lopper: assists: Add support for pruned system device-tree
    a43e3ee assists/domain: respect -t flag to lopper
    d83c43b tree: enhance phandle handling for variable sized fields
    c5fdcd5 lopper: assists: gen_domain_dts: Add assist for generating processor specific dts
    d8f4baa tree: decreate duplicate node verbosity
    eeb629c yaml: switch output to logging format
    61c9105 assists/isospec: change no-flags/default for devices
    c6bb68b tree: convert to logger and f-string format
    4787e49 lopper: convert debug to logger and f-strings
    5fe8c25 logging: ensure that the root logger has the same level as subloggers
    8f0214a lopper: move logging to reusable location
    9a55fdc lopper:assists:baremetallinker_xlnx Correcting logic to get the stack and heap data from yaml
    a92c7d9 lopper:assists:baremetal_xparameters_xlnx: Removing the BOARD dependency on compatible string
    bcfb72d docs: add 'output' lop operation documentation
    950ed68 lopper: assists: If options has outdir option consider it as precedence
    dc9cf68 lopper: __init__: Add support for optional outdir feature when assist called from lops
    315bdb9 lopper: add "cond" property to lops
    c4d8872 assists:baremetal_xparameters_xlnx: Fix for the wrong reuse of variable "index"
    a2835e9 lopper: assists: Add proper checks for chosen node handling
    240b9b7 lopper: assists: baremetal_xparameters_xlnx: Fix race condition in the additionalProperties handling
    57e9a24 lopper:assists:baremetal_config : Add flexibility for padding number
    c4c0b12 lopper:assists:baremetal_xparameters : Adding support to add a 64 bit property in xparameters
    0dfdf0f lopper: assists: baremetal_xparameters_xlnx: Ignore Subnodes
    7f0464d lopper:assists:baremetalconfig : Adding support to read a 64 bit property from a node on demand
    8dc8be5 lopper: assists: baremetallinker_xlnx: Fix UnboundLocalError has_ocm
    3e501d6 lopper: assists: baremetallinker_xlnx: Fix race condition in the memtest config
    2824f18 lopper: assists: bmcmake_metadata_xlnx: fix type in driver name
    4940c61 lopper: assists: baremetal_xparameters_xlnx: Add support for generating XSEM_CFRSCAN_EN and XSEM_NPISCAN_EN defines
    d48e497 lopper: assists: baremetallinker_xlnx: Update the process checks for all cores instead of 0th instance
    9b4a1b2 lopper: assists: baremetallinker_xlnx: Add support for linker_constraints
    f053643 openamp: xlnx: Add Host specific values
    791a368 lopper: assists: bmcmake_metadata_xlnx: Generate CMAKE_MACHINE variable for microblaze processor
    068882c lopper: assists: baremetal_xparameters_xlnx: Fix IndexError in assist
    2f022b5 lopper: assists: baremetal_gentestapp_xlnx: Update the assist to handle versioned drivers
    807435a lopper: assists: Generate BOARD define inline with existing code
    a41c9f2 lops: lop-microblaze.dts: Add check for model property
    d6ea4ba lopper: assists: baremetalconfig_xlnx: Add support for variable size structs
    55961c6 lopper: assists: baremetallinker_xlnx: Add support for ps7_ram
    12994d4 lops:lop-microblaze: Fix generated library path
    89de3b1 lopper: assists: Generate board information in the cmake meta-data
    872a00e lopper: assists: baremetal_gentestapp_xlnx: check for all compatible strings in a node
    07a7da5 lopper: assists: baremetal_getsupported_comp_xlnx: Use VerboseSafeDumper to remove the yaml anchor
    e4cd719 lopper: assists: baremetalconfig_xlnx: Make sure node order is preserved
    19e89c7 assists/baremetal/linker : Adding new memory nodes to the linker metadata to support versal net
    3a1e67f lops/baremetal: Adding new lops file for supporting Versal Net imux use cases
    a795ad9 lopper: assists: baremetal_xparameters_xlnx: Generate XPAR_MICROBLAZE_ADDR_SIZE define if xlnx,addr-size property is present
    b5fbd62 lopper: assists: baremetal_xparameters_xlnx: Cleanup the try execpt blocks
    95e8283 lopper: assists: bmcmake_metadata_xlnx: Fix the lwip topology index
    14c4fad lopper: assists: bmcmake_metadata_xlnx: Fix race condition in the assist
    f5050f4 lopper: assists: baremetal_xparameters_xlnx: Handle string property values
    9110f94 lopper: assists: bmcmake_metadata_xlnx: remove duplicate node references
    8e1bb57 lopper: assists: baremetallinker_xlnx: Add missing tcm memory section for versal a72 and r5 processors
    f2c82ce lopper: assists: baremetal_gentestapp_xlnx: Fix race condition in the self test app declartion
    bf43b8d lopper: assists: bmcmake_metadata_xlnx: Check for all compatible strings in the node
    0db3eb5 lopper: assists: baremetalconfig_xlnx: Handle string property values
    a1e5f4a assists/baremetal: Add handling for non homogeneous driver device trees
    baee4f1 lopper: assists: baremetal_gentestapp_xlnx: Don't generate meta-data for the non mapped drivers
    5d1cb8a openamp: xlnx: Enable module with host/remote role
    96e6796 openamp: Enable assist to be invoked as module
    d4eb9bf lopper: assists: baremetal_xparameters_xlnx: Generate PSS_REF_CLK define for all the processors
    d4013c3 isospec: handle subdomains of default subystem
    b69b557 lopper: assists: Generate device_id and slrcount information in the cmake meta-data
    f429a84 isospec: format memory ranges in hex
    9ea1d12 isospec: handle multiple memory ranges
    98e25b6 lops: Add lops file to generate microblaze compiler flags
    f4fc65c lopper: assists: Add support for mig7
    b61d099 lopper: assists: Special handling for ps7 ddr controller
    0d70ce1 lopper: assists: baremetalconfig_xlnx: Fix race condition in the cmake meta file name
    8c9c847 bmconfig: Change in the logic to get the _g.c name for the drivers
    3c59af4 lopper: assists: baremetaldrvlist_xlnx: Generate both xlnx,ip-name and xlnx,name variable meta-data in the ip_drv_map.yaml file
    c7ab947 lopper: assists: baremetallinker_xlnx: Add default memory section for cortexr5 processor
    3b4b710 lopper: lops: lop-domain-linux-a53-prune: prune symbol node
    9caac31 lopper: assists: Update the assist as per latest repo yaml changes
    457ad40 lopper: assists: bmcmake_metadata_xlnx: Handle versioned folders
    227de35  openamp: xlnx: Update compatible string checks
    bc85a14 lopper: merge inputs with domains to main device tree
    81f11da lopper: assists: baremetal_xparameters_xlnx: Generate the XPAR_MICROBLAZE_DDR_RESERVE_SA define
    e0e7200 lopper: assists: baremetalconfig_xlnx: Special handling for Handler-table property
    5ba05a0 assists/domain_access: allow domain_access to function as a module
    beffe48 subsystem: make processing more robust
    6d911d3 yaml: fix output to not be list based
    fe4fb6a yaml: allow files to be system device tree files
    5ac6ae9 assists/isospec: update to json format v2
    9f83eae assists/isospec: introduce reference domains.yaml generation
    0f232f1 tree: add compatible string and address node searching
    bad0783 yaml: override default anytree iterator generator
    4c26d2f tree: add children() method
    732c14c yaml: tweak output style
    3169a71 lopper: handle json encoded strings in DTC
    5d2b417 lopper/tree: create address() lookup on a node
    b548dae lopper: allow input files to be stored for future use
    a622afd lopper: allow .json files to be passed as tree inputs
    6f15431 lopper: assists: Handle drivers which are part of sdt folder
    9a21695 lopper: assists: baremetaldrvlist_xlnx: Update the ip_dict to use xlnx,name property instead of xlnx,ip-name
    c524140 lopper: assists: bmcmake_metadata_xlnx: Update the assist to handle versioned libraries
    34bcaf4 build(deps): bump flask from 1.1.2 to 2.2.5
    addf5dd README: Fix loppper spell check
    71ac299 lopper: assists: bmcmake_metadata_xlnx: Generate example list yaml
    5536a45 lopper: assists: baremetal*: update the driver name variable to handle versioned drivers
    1b9b56d lopper: assists: baremetalconfig_xlnx: Add support for subnode generation
    dbd29ef lopper: assists: baremetal_xparameters_xlnx: Add support for additionalProperties schema
    395f00d lopper: assists: baremetal_xparameters_xlnx: Add support for generating NUMBER_OF_SLRS define
    6831950 lopper: assists: baremetallinker_xlnx: For memory tests configuration default memory should be ocm if available
    a276bb7 lopper: assists: bmcmake_metadata_xlnx: Remove unneeded list set operation on node list
    40d2d6f lopper: assists: baremetallinker_xlnx: Fix compare logic in hex strings
    4fc81d4 lopper: assists: bmcmake_metadata_xlnx: Don't use hardcoded library name
    f04afa2 lopper: lops: lop-domain-linux-a53-prune: Update memory nodes as per cpu cluster mapping
    1bd16af dts: remove invalid space before label
    df60538 lop-domain-linux-a53-prune: Removing all the unneeded sdfec properties from linux device tree
    7abbe5f lopper: assists: generate_config_object: Add outdir option support
    148dc1d lopper: assists: bmcmake_metadata_xlnx: Fix failed name 'compat_list' is not defined
    a528f34 lopper: Delete unneeded processor node in a generic way
    3871b4a baremetal_assists: Modifying baremetal assists to support use of multiple ESW repos
    7c8bd82 lopper: assists: baremetal_xparameters_xlnx: Generate time stamp frequency define
    5c73008 lops: fix comment style
    9a303b6 specification: fix incorrect phandle
    8c02dae specification: wrap long system-device-tree.dts lines
    ac864c5 specification: migrate remaining .md documents to Sphinx
    0cf0bbc specification: rework 'core' chapters
    929aa91 specification: rework intro and add glossary/bibliography
    4ecc1af lopper: create LopperJSON class
    6ee8691 lopper: add json input/output file format
    3e599b8 lopper: assists: petalinuxconfig_xlnx: Add device information in the meta-data
    e9a5887 lopper: assists: bmcmake_metadata_xlnx: Add support for hardware ip name
    46a9d81 lopper: lops: lop-domain-a72-prune.dts: Delete unneeded nodes from a72 domain
    eb71824 sanity: make temporary file management cross platform safe
    a476a33 lopper: Implementation of lopper plugin for generating config object
    aa96fcc lopper: assists: baremetal_xparameters_xlnx: Fix whitespace after the marco name warning
    ed171c2 lopper: lops: Remove R5 cpu nodes while generating linux dtb
    146b2e8 lopper: assists: bmcmake_metadata_xlnx: Generate node label name instead of node name in the cmake meta-data
    746a744 lopper: assists: Move get_label api to baremetalconfig_xlnx so that other baremetal assists can use it
    098ba70 Revert "lopper: assists: baremetaldrvlist_xlnx: Generate CMakeLists.txt file"
    2018c89 lopper: assists: bmcmake_metadata_xlnx: Add support for generating standalone bsp meta-data
    b1a0443 lopper: assists: Add MEMORY_SECTION cmake variable
    8146b45 lopper: assists: petalinuxconfig_xlnx: Remove the hardcoded processor name
    37408dd Convert demo readme to markdown
    0da7cbd specification: remove secure-bus and secure-reg
    2cfea13 specification: fix incorrect usage of unit addresses
    374fcdc specification: fix invalid dts in examples
    22fcd01 lopper: lops: lop-domain-linux-a53-prune.dts: Fix undefined reference to valid_phandles in case of no domain file passed
    bad1796 specification: convert to Sphinx
    5eabf85 assists:gentest_app : Adding outdir support to periph test assist
    a04f96c asists:baremetaldrvlist_xlnx : adding the usage of outdir option in baremetaldrvlist_xlnx assist
    c8e9554 lopper:assists: Update assists to support outdir option and the changed yaml format in embeddedsw
    932b574 lopper: assists: petalinuxconfig_xlnx: Update assist as per latest lopper changes
    dfa5252 docs: Minor README.md fixes
    cd47956 README: update and clarify Xen extraction demo
    f91d5ef inputs: update host device tree to include interrupt-parent
    d7b6962 inputs: update demo yaml to remove DOS formatting
    4fb5339 demos: add openamp and Xen demo README and input files
    94ce2d6 a53-prune: allow access specified devices to be retained
    4f131aa tree: fix dref() parent tree lookup
    54f9921 subsystem: use dref() instead of lnodes()
    5bd964b openamp: update 3rd parameter to options list
    da29be7 lopper: assists: baremetal_bspconfig_xlnx: Clean up the code
    aa7c005 lopper: assists: Updated the assists to support for outdir option
    5702589 lopper: assists: baremetaldrvlist_xlnx: Generate CMakeLists.txt file
    ac1b419 lopper: assists: Remove hardcoded cpu to yocto machine mapping dictionary
    1e9e7d0 lopper: lops: lop-cpulist: Add lops file for getting the processors list for a given System Device Tree
    9670921 lopper: assists: baremetal_getsupported_comp_xlnx: Add assist for getting the baremetal supported components list for a given processor
    41b08f5 lops: create phandles for modify operation references
    0c9c95b Changing the bus name from amba to a valid bus name as per open source dts schema.
    03e4ec9 fdt: Fix for the condition when an include file is defined inside a node
    ce4e3c4 extract-xen: Copy sdt root compatibles into extracted node
    de9dc53 extract-xen: Handle xen,reg properly
    cdacef3 sanity: close memreserve tree before reading
    11d1923 fdt: ensure new line after /memreserve/
    534b3dc extract-xen: encode the virtual interrupt parent as string
    cdb1a7b lopper/release: bump version to 1.1.0
    f5ee4ae tree: fix 32bit value detection
    19c83bb fdt: use hints to write single byte
    2f389c8 tree/conditional: fix dtc 1.6.1+ support
    6343c41 lopper/core: support 64 bit values
    46e6505 libfdt: add 3.10 vendor
    64482a5 lopper: lops: lop-domain-linux-a53: Remove duplicate psu_r5_tcm_ram_global node
    79a3c3e lopper: assists: bmcmake_metadata_xlnx: Fix race condition in the code
    b7d116f lops: fix comment style
    093ef5a lopper: lops: lop-domain-linux-a53-prune: Don't delete the amba_pl node
    e1429f5 Revert "base: add powerdomains to default phandle meta data"
    9159040 lopper: assists: baremetallinker_xlnx: Fix race condition in memory domain handling

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00
Bruce Ashfield
5aa5d646e1 kernel: add selinux fragment if selinux is enabled
When distro features include selinux, we should add that
configuration to our kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00
Bruce Ashfield
a748f51ec4 runc: package configuration test script
Like docker, there is runc / OCI check-config.sh script that
is useful when determining if your kernel is properly
configured.

We can package it in a -check package, and install it to
a similar location as the docker variant.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00
Bruce Ashfield
c76b0dc40f xen-tools: refresh patch for 4.20 and drop 4.15 orphaned patch
The xen-tools patch for 4.20 was incorrectly using the 4.19
context version.

With this cleanup, we should be able to build 4.18, 4.19 and
4.20 out of master.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00