rendered paste body$ more go
#!/bin/bash
./qemu-system-mipsel \
-M ar7 \
-kernel /scratch/openwrt/trunk/build_mipsel/linux-2.6-ar7/vmlinux \
-nographic \
-append parameters.txt \
-s \
-S
$ more parameters.txt
go
init=/etc/preinit rootfstype=squashfs,jffs2, console=ttyS0,115200n8r
mtdparts=physmap-flash.0:0x10000(loader),0x400000(config),0x3f0000(linux),0xe59d
c(root)
HWRevision 102.1.1.0
flashsize 0x00400000
memsize 0x01000000
maca 00:04:0E:E4:D4:9C
macb 00:04:0E:E4:D4:9D
modetty0 115200,n,8,1,hw