example
This commit is contained in:
parent
f43f6c2bb2
commit
6738539f63
1 changed files with 14 additions and 0 deletions
14
start-buildroot-initramfs.sh
Executable file
14
start-buildroot-initramfs.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#use telnet to connecto to the serial
|
||||||
|
#telnet localhost 4444
|
||||||
|
|
||||||
|
qemu-system-x86_64 --enable-kvm -M q35 -cpu host -smp 1 -m 1024 \
|
||||||
|
-kernel buildroot/output/images/bzImage \
|
||||||
|
-initrd initramfs.img \
|
||||||
|
-append "console=ttyS0 rdinit=/bin/stupid1" \
|
||||||
|
-net nic \
|
||||||
|
-device usb-ehci,id=ehci -device usb-kbd,bus=ehci.0 \
|
||||||
|
-device virtio-keyboard \
|
||||||
|
-nographic \
|
||||||
|
-serial tcp:localhost:4444,server,nowait
|
||||||
Loading…
Add table
Add a link
Reference in a new issue