We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5447a4e commit 4b0aeadCopy full SHA for 4b0aead
riscv64/build_kernel.sh
@@ -16,6 +16,8 @@ git clone --depth 1 --branch $KERNEL_TAG https://github.com/torvalds/linux.git
16
pushd linux
17
# Enable kvm module instead of inserting manually
18
sed -i "s|^CONFIG_KVM=.*|CONFIG_KVM=y|g" arch/riscv/configs/defconfig
19
+# Enable legacy SBI calls and activate vcpu_sbi_ext_v01 for kvm.
20
+echo "CONFIG_RISCV_SBI_V01=y" >> arch/riscv/configs/defconfig
21
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- defconfig && \
22
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- -j$(nproc)
23
mv arch/riscv/boot/Image $OUTPUT
0 commit comments