build a kernel, using malta_kvm_defconfig

(there's a lot in this config that I don't think is needed)
This commit is contained in:
Daniel Barlow
2022-09-20 18:54:27 +01:00
parent 41598a75f0
commit b2f7a429f7
7 changed files with 591 additions and 7 deletions

6
run-qemu.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p qemu
qemu-system-mips -M malta -m 256 \
-append "earlyprintk=serial,ttyS0 console=ttyS0,38400n8 panic=10 oops=panic init=/bin/init loglevel=8 root=/dev/vda" \
-kernel $1 -nographic -display none -serial mon:stdio