aboutsummaryrefslogtreecommitdiff
path: root/teams
diff options
from:
to:
context:
space:
mode:
authorGravatar David Abdurachmanov <davidlt@rivosinc.com> 2024-11-28 16:31:59 +0200
committerGravatar Andrea Bolognani <abologna@redhat.com> 2025-02-07 15:06:22 +0100
commitb5d377d912dd9cfd48b89e3084d6dd49ed9bbcad (patch)
treee02651fd0c494d6afdf7d9f21363fe5e27285794 /teams
parent4b4a83b33f8eff8f7f13f35b61b4f5464ea4444a (diff)
downloadkiwi-descriptions-b5d377d912dd9cfd48b89e3084d6dd49ed9bbcad.tar.gz
kiwi-descriptions-b5d377d912dd9cfd48b89e3084d6dd49ed9bbcad.zip
Initial riscv64 support
Most of the changes are self-explanatory and just follow what's already happening for existing architectures. Two things are worth pointing out: * we need to use shim-unsigned instead of shim-signed because riscv64 is not fully integrated into Fedora yet and so we can't do Secure Boot signing for the time being; * we use ext4 as bootfilesystem since in most cases the underlying firmware is going to be U-Boot, which needs to be able to load the board's DTB from /boot and doesn't support XFS. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
Diffstat (limited to 'teams')
-rw-r--r--teams/cloud/cloud.xml4
-rw-r--r--teams/cloud/container.xml2
-rw-r--r--teams/server.xml36
3 files changed, 39 insertions, 3 deletions
diff --git a/teams/cloud/cloud.xml b/teams/cloud/cloud.xml
index b38b508..b6874c4 100644
--- a/teams/cloud/cloud.xml
+++ b/teams/cloud/cloud.xml
@@ -89,7 +89,7 @@
</oemconfig>
</type>
</preferences>
- <preferences profiles="Cloud-Base-Generic" arch="x86_64,aarch64">
+ <preferences profiles="Cloud-Base-Generic" arch="x86_64,aarch64,riscv64">
<type image="oem" format="qcow2"
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
@@ -149,7 +149,7 @@
</oemconfig>
</type>
</preferences>
- <preferences profiles="Cloud-Base-UEFI-UKI" arch="x86_64,aarch64">
+ <preferences profiles="Cloud-Base-UEFI-UKI" arch="x86_64,aarch64,riscv64">
<type image="oem" format="qcow2"
firmware="uefi" efipartsize="1000"
bootpartition="false"
diff --git a/teams/cloud/container.xml b/teams/cloud/container.xml
index 420918a..733fc87 100644
--- a/teams/cloud/container.xml
+++ b/teams/cloud/container.xml
@@ -246,7 +246,7 @@
<package name="man-db"/>
<package name="man-pages"/>
<package name="mesa-dri-drivers"/>
- <package name="mesa-va-drivers" arch="aarch64,ppc64le,x86_64"/> <!-- doesn't exist in s390x -->
+ <package name="mesa-va-drivers" arch="aarch64,ppc64le,x86_64,riscv64"/> <!-- doesn't exist in s390x -->
<package name="mesa-vulkan-drivers"/>
<package name="mtr"/>
<package name="nss-mdns"/>
diff --git a/teams/server.xml b/teams/server.xml
index fbcf610..02f3915 100644
--- a/teams/server.xml
+++ b/teams/server.xml
@@ -71,6 +71,24 @@
</oemconfig>
</type>
</preferences>
+ <preferences profiles="ServerVMDisk" arch="riscv64">
+ <type image="oem" format="qcow2"
+ filesystem="xfs"
+ kernelcmdline="earlycon console=ttyS0,115200n8"
+ devicepersistency="by-uuid"
+ bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
+ rootfs_label="fedora"
+ >
+ <bootloader name="grub2" console="serial" timeout="0"/>
+ <size unit="G">10</size>
+ <systemdisk>
+ <volume name="@root"/>
+ </systemdisk>
+ <oemconfig>
+ <oem-resize>false</oem-resize>
+ </oemconfig>
+ </type>
+ </preferences>
<preferences profiles="ServerDisk" arch="x86_64">
<type image="oem"
filesystem="xfs"
@@ -139,6 +157,24 @@
</oemconfig>
</type>
</preferences>
+ <preferences profiles="ServerDisk" arch="riscv64">
+ <type image="oem"
+ filesystem="xfs"
+ kernelcmdline="earlycon console=ttyS0,115200n8"
+ devicepersistency="by-uuid"
+ bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
+ rootfs_label="fedora"
+ >
+ <bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
+ <size unit="G">10</size>
+ <systemdisk>
+ <volume name="@root"/>
+ </systemdisk>
+ <oemconfig>
+ <oem-resize>false</oem-resize>
+ </oemconfig>
+ </type>
+ </preferences>
<packages type="bootstrap" patternType="plusRecommended" profiles="ServerCore">
<package name="fedora-release-server"/>
</packages>