diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2013-05-09 11:48:27 +0200 |
---|---|---|
committer | Jan Luebbe <jlu@pengutronix.de> | 2013-05-09 12:08:45 +0200 |
commit | 4958db9a600668f1b2c36bcf58ef7e0b3eeee439 (patch) | |
tree | 2da99652b8937a261ecff4ed3b6852069aab3fca /run-barebox | |
parent | c58729365840c2c0137c0a8f5fb0b29208eb1cda (diff) | |
download | platform-pengutronix-vexpress-4958db9a600668f1b2c36bcf58ef7e0b3eeee439.tar.gz platform-pengutronix-vexpress-4958db9a600668f1b2c36bcf58ef7e0b3eeee439.tar.xz |
vexpress: add barebox 2013.05.0
Also add the new script run-barebox, which starts barebox in qemu. Barebox
then loads the kernel from a NOR flash and boots it.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Diffstat (limited to 'run-barebox')
-rwxr-xr-x | run-barebox | 19 |
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 |