summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-04-29 11:08:38 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-04-29 11:08:38 +0200
commit0e1dd3ef4a26f23976520bbf65b6ee8b57e42552 (patch)
tree654c20a550ecf334ef42c77b61900c8aa9baa319 /scripts
parentfc39e565acc18506968c1eb65b602c1fc2f834c4 (diff)
downloadi486tcc-linux-0e1dd3ef4a26f23976520bbf65b6ee8b57e42552.tar.gz
i486tcc-linux-0e1dd3ef4a26f23976520bbf65b6ee8b57e42552.tar.bz2
- more docu on isa on qemu, using more epoch compliant hardware in qemu scripts
- testing on real hardware, ne driver is oopsing
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_qemu.sh2
-rwxr-xr-xscripts/run_qemu_direct.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/run_qemu.sh b/scripts/run_qemu.sh
index ff0e5dd..d041bee 100755
--- a/scripts/run_qemu.sh
+++ b/scripts/run_qemu.sh
@@ -4,4 +4,4 @@ sleep 2 && \
qemu-system-i386 -cpu 486 -m 64M \
-drive "file=floppy00,if=floppy,format=raw" \
-netdev user,id=net0,net=10.0.0.0/24,host=10.0.0.2,dhcpstart=10.0.0.16,hostfwd=tcp::8080-:80,hostfwd=udp::8081-:81 \
- -device rtl8139,netdev=net0
+ -device ne2k_isa,iobase=0x300,irq=10,netdev=net0
diff --git a/scripts/run_qemu_direct.sh b/scripts/run_qemu_direct.sh
index fb0f0df..555e2dc 100755
--- a/scripts/run_qemu_direct.sh
+++ b/scripts/run_qemu_direct.sh
@@ -5,4 +5,4 @@ qemu-system-i386 -cpu 486 -m 64M \
-kernel bzImage -initrd ramdisk.img \
-append "debug loglevel=7 earlycon=uart8250,io,0x3f8,9600n8 console=tty0 console=ttyS0,9600n8 rdinit=/bin/sinit root=/dev/ram0 rootfstype=ramfs iommu=off" \
-netdev user,id=net0,net=10.0.0.0/24,host=10.0.0.2,dhcpstart=10.0.0.16,hostfwd=tcp::8080-:80,hostfwd=udp::8081-:81 \
- -device rtl8139,netdev=net0
+ -device ne2k_isa,iobase=0x300,irq=10,netdev=net0