Skip to content

Commit 02ab1d0

Browse files
author
BillXiang
committed
Enable SBI_V01 for RISCV64 kernel
Signed-off-by: BillXiang <[email protected]>
1 parent 5447a4e commit 02ab1d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

riscv64/build_kernel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ git clone --depth 1 --branch $KERNEL_TAG https://github.com/torvalds/linux.git
1616
pushd linux
1717
# Enable kvm module instead of inserting manually
1818
sed -i "s|^CONFIG_KVM=.*|CONFIG_KVM=y|g" arch/riscv/configs/defconfig
19+
echo "CONFIG_RISCV_SBI_V01=y" >> arch/riscv/configs/defconfig
1920
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- defconfig && \
2021
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- -j$(nproc)
2122
mv arch/riscv/boot/Image $OUTPUT

0 commit comments

Comments
 (0)