From 6738539f6365c2f7d8ce58dc2d308d78dc3e7f60 Mon Sep 17 00:00:00 2001 From: Denis Benato Date: Sat, 15 Mar 2025 23:03:28 +0100 Subject: [PATCH] example --- start-buildroot-initramfs.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 start-buildroot-initramfs.sh diff --git a/start-buildroot-initramfs.sh b/start-buildroot-initramfs.sh new file mode 100755 index 0000000..54dc2b4 --- /dev/null +++ b/start-buildroot-initramfs.sh @@ -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