H1_under_Qemu: run-h1.sh

File run-h1.sh, 337 bytes (added by zecrazytux, 4 years ago)

run qemu (easier than typing the whole command line :p)

Line 
1#!/bin/sh
2
3QEMU_PATH=~/projects/openmoko/tools/build/qemu
4SD_PATH=~/projects/h1/images/h1-sd.img
5
6[ ! "$1" = "" ] && QEMU_PATH=$1
7[ ! "$2" = "" ] && SD_PATH=$2
8
9
10cd "${QEMU_PATH}"
11
12arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb -show-cursor -sd ${SD_PATH} 
13