summaryrefslogtreecommitdiffstats
path: root/run-barebox
diff options
context:
space:
mode:
Diffstat (limited to 'run-barebox')
-rwxr-xr-xrun-barebox19
1 files changed, 19 insertions, 0 deletions
diff --git a/run-barebox b/run-barebox
new file mode 100755
index 0000000..154ff20
--- /dev/null
+++ b/run-barebox
@@ -0,0 +1,19 @@
+#!/bin/bash
+#
+# For some information about how to work with qemu for ARM, please
+# refer: http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu
+
+. $(dirname $0)/qemu-common
+
+# do the job
+${QEMU_EXEC} ${QEMU_NOGRAPHIC} \
+ -M ${QEMU_MACHINE} \
+ -m 1024 \
+ -no-reboot \
+ -net nic,vlan=1 \
+ ${QEMU_NET} \
+ ${QEMU_REDIR} \
+ -kernel ${PTXDIST_PLATFORMDIR}/images/barebox-image \
+ -pflash ${PTXDIST_PLATFORMDIR}/images/nor0.img \
+ -sd ${PTXDIST_PLATFORMDIR}/images/sd.img \
+ -smp 2