7 name_nand
="$base/mini2440_nand.bin"
8 name_sd
="$base/mini2440_sd.img"
10 if [ ! -f "$name_nand" ]; then
11 echo $0 : creating NAND empty image
: "$name_nand"
12 dd if=/dev
/zero of
="$name_nand" bs
=528 count
=131072
14 #if [ -f "$name_sd" ]; then
15 # optional="$optional -sd $name_sd"
18 optional
="$optional -sd /dev/sdd"
21 rm -rf .mini2440_monitor
23 cmd
="$base/../arm-softmmu/qemu-system-arm \
27 -kernel /tftpboot/uImage \
28 -mtdblock "$name_nand" \
30 -show-cursor -usb -usbdevice keyboard \
32 -net tap,vlan=0,ifname=tap0 \
33 -monitor unix:.mini2440_monitor,server,nowait"