summaryrefslogtreecommitdiffstats
path: root/bsp/virtio
diff options
context:
space:
mode:
authorVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-08-07 18:22:30 +0200
committerVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-08-07 23:34:31 +0200
commitbf5bc00990044570d54b3fdc6d1a8f75d6a91863 (patch)
tree5992c6ea47769ba7d4ba873c43828fb789535a3c /bsp/virtio
parentb4e0248af1b507c5da01d1af210fd2d9a51054ff (diff)
Add virtio-aarch64 platform description via scc file.
Metadata is based on qemuarm64-standard.scc from yocto-kernel-cache branch yocto-5.15 commit 947149960e1426ace478e4b52c28a28ef8d6e74b with a lot of unended configurations removed. Comparing to initial version [1] many TODOs have been removed since changes landed upstream (yocto-kernel-cache). Note, that BSP description root file virtio-aarch64-standard.scc has to be kept local withing a recipe. This is needed to add this scc file explicitly to SRC_URI to have AGL VIRTIO patches applied during kernel recipe build. As explained in [2, 3], Yocto kernel metadata is commonly used for two purposes: 1. To construct Yocto kernel git by committing patches listed in scc files. 2. To configure Yocto kernel during Yocto build. When scc file is not explicitly added to SRC_URI, then patch commands will be ignored during Yocto build because it is assumed that patches are already pre-applied during Yocto kernel git tree construction. But, there is not AGL Linux kernel tree, only a repository for AGL kernel metadata (this one). So, patches from this metadata repository have to be applied during kernel recipe build. [1]: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=commit;h=2d05cfff33a010c2133f66e757d2f4850c584a1e [2]: https://www.yoctoproject.org/pipermail/yocto/2019-October/046986.html [3]: https://docs.yoctoproject.org/kernel-dev/maint-appx.html Bug-AGL: SPEC-4452 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: Ic88a35ccbe4cad6e5b22bf43c687407f506c2e5b
Diffstat (limited to 'bsp/virtio')
-rw-r--r--bsp/virtio/agl-virtio.cfg4
-rw-r--r--bsp/virtio/agl-virtio.scc2
2 files changed, 6 insertions, 0 deletions
diff --git a/bsp/virtio/agl-virtio.cfg b/bsp/virtio/agl-virtio.cfg
new file mode 100644
index 0000000..118aecb
--- /dev/null
+++ b/bsp/virtio/agl-virtio.cfg
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: MIT
+
+# Remove since PCI is not enabled
+# CONFIG_SERIAL_8250_PCI is not set
diff --git a/bsp/virtio/agl-virtio.scc b/bsp/virtio/agl-virtio.scc
new file mode 100644
index 0000000..5b8f06c
--- /dev/null
+++ b/bsp/virtio/agl-virtio.scc
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: MIT
+kconf hardware agl-virtio.cfg