Skip to content

Instantly share code, notes, and snippets.

@telent
Created December 27, 2023 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telent/f000a5bcfde4923b58f5413b7eeaffcc to your computer and use it in GitHub Desktop.
Save telent/f000a5bcfde4923b58f5413b7eeaffcc to your computer and use it in GitHub Desktop.
"qemu-system-mips"
"-M"
"malta"
"-echr"
"16"
"-m"
"272"
"-device"
"loader,file=run-vm-q0Bfcl,addr=0x90000000"
"-serial"
"mon:stdio"
"-kernel"
"/nix/store/w3vm2cgrhk5ydjy5x00mybhc8d7yw8x2-objcopy-mips-unknown-linux-musl
"
"-append"
"console=ttyS0,115200 panic=10 oops=panic init=/bin/init loglevel=8 root=/de
v/mtdblock0 rootfstype=squashfs fw_devlink=off mem=256M liminix mtdparts=phram0:1
6M(rootfs) phram.phram=phram0,0x90000000,16Mi,65536 root=/dev/mtdblock0"
"-netdev"
"socket,mcast=230.0.0.1:1234,localaddr=127.0.0.1,id=access"
"-device"
"virtio-net,disable-legacy=on,disable-modern=off,netdev=access,mac=ba:ad:1d:
ea:21:02"
"-netdev"
"socket,mcast=230.0.0.1:1235,localaddr=127.0.0.1,id=lan"
"-device"
"virtio-net,disable-legacy=on,disable-modern=off,netdev=lan,mac=ba:ad:1d:ea:
21:01"
"-display"
"none"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment