From 053844253469c8b730a2df479fc8376650260d34 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 25 Sep 2011 11:17:54 +0800 Subject: [PATCH] Qemu ARM script, TODO list - Don't know if the list is up to date :) --- .gitignore | 2 ++ Notes/TODO | 15 +++++++++++++++ RunQemuArm | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 Notes/TODO create mode 100755 RunQemuArm diff --git a/.gitignore b/.gitignore index 672b9ab9..05ecdad8 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,5 @@ obj-*/ *.i386 *.x86_64 *.bin + +Makefile.user.cfg diff --git a/Notes/TODO b/Notes/TODO new file mode 100644 index 00000000..601e78ad --- /dev/null +++ b/Notes/TODO @@ -0,0 +1,15 @@ +Implement Ctrl-C in vterm +Fix TCP code +Get IPv6 working +Implement a DHCP client +Get UDI working (udiref) +Finalise AxWin API structure +Implement input in AxWin +Write TFTP filesystem driver +- Use .index or index.txt (or a true extension) to get directory contents +Write NFS driver +Get x86_64 port working +Complete arm7 port +Fix VTerm driver determination +- Implement a clean way to load/initialise named modules from a module init function + diff --git a/RunQemuArm b/RunQemuArm new file mode 100755 index 00000000..23b874e7 --- /dev/null +++ b/RunQemuArm @@ -0,0 +1,34 @@ +#!/bin/sh +#qemu-system-arm -M realview-pb-a8 -kernel Acess2.arm7.bin -serial stdio + +QEMU=qemu-system-arm +USE_GDB= + +_SYSTEM=realview-pb-a8 +_KERNEL=Acess2.arm7.bin + +QEMU_PARAMS="" +_NETTYPE="user" + +while [ $# -ne 0 ]; do + case $1 in + -gdb) + QEMU_PARAMS=$QEMU_PARAMS" -s -S" + ;; + -extramem) + QEMU_PARAMS=$QEMU_PARAMS" -m 768" + ;; + -e) + shift + QEMU_PARAMS=$QEMU_PARAMS" "$1 + ;; + -tuntap) + _NETTYPE="tap" + esac + shift +done +QEMU_PARAMS="-M $_SYSTEM -kernel $_KERNEL -net nic -net $_NETTYPE"$QEMU_PARAMS + +# /home/tpg/apps/bin/qemu-system-x86_64 $QEMU_PARAMS -serial stdio -serial file:QemuLog.txt +# qemu-system-x86_64 $QEMU_PARAMS -serial stdio | tee QemuLog.txt +$QEMU $QEMU_PARAMS -serial stdio | tee QemuLog.txt -- 2.20.1