Last active
June 20, 2021 03:26
-
-
Save paranlee/336cc692a036edf373351e3850e26586 to your computer and use it in GitHub Desktop.
runtime analyize for RISC-V linux kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/qemu/build/qemu-system-riscv64 \ | |
-cpu sifive-u54 \ | |
-smp cpus=4,maxcpus=4 \ | |
-M virt \ | |
-m 4096 \ | |
-nographic \ | |
-no-reboot \ | |
-kernel ~/linux/arch/riscv/boot/Image \ | |
-append "root=/dev/vda rw console=ttyS0" \ | |
-drive file=~/busybox/root.bin,format=raw,id=hd0 \ | |
-device virtio-blk-device,drive=hd0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment