summaryrefslogtreecommitdiff
path: root/create_installroot
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2023-08-31 08:39:02 +0100
committerFreeArtMan <dos21h@gmail.com>2023-08-31 08:39:02 +0100
commitb45185d2a439802d6bf2cd0b0a8b0cd4cfea1b53 (patch)
treef2cdb64ed040865cd1a5cd172c55de30c42567ac /create_installroot
parentc993e3007ecf72a7f5b45154bdeee801d8a3e2d5 (diff)
downloados201-b45185d2a439802d6bf2cd0b0a8b0cd4cfea1b53.tar.gz
os201-b45185d2a439802d6bf2cd0b0a8b0cd4cfea1b53.zip
Add tap0 to qemu. Add kernel config for 5.15.113
Diffstat (limited to 'create_installroot')
-rwxr-xr-xcreate_installroot/boot_qemu.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/create_installroot/boot_qemu.sh b/create_installroot/boot_qemu.sh
index d7f527b..d14b102 100755
--- a/create_installroot/boot_qemu.sh
+++ b/create_installroot/boot_qemu.sh
@@ -2,9 +2,10 @@
qemu-system-x86_64 \
-kernel bootfs/vmlinuz-xos \
-hda xos_image.img \
- -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH" \
+ -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH ip=192.168.4.66" \
-serial stdio -display none \
- -m 256
+ -m 256 \
+ -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -device e1000,netdev=mynet0,mac=52:55:00:d1:55:01
#qemu-system-x86_64 -drive format=raw,file=xos_image.img -m 128
#qemu-system-x86_64 \