aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-11-11 16:49:57 -0700
committerTom Rini <tom_rini@mentor.com>2010-11-13 10:47:34 -0700
commitdbaa6a1229cbdd1cfb0859b3eb0f9635fdb7b883 (patch)
tree05710b4728d7257297a5dce59ded31a2f1af626e /contrib
parent8107ccfb855c193a1f675b1ecc3bfde07a4aa6a2 (diff)
downloadopenembedded-dbaa6a1229cbdd1cfb0859b3eb0f9635fdb7b883.tar.gz
run-qemu.sh: Update docs / help output
- The old second argument is the third argument now, so change that. - Document the new second argument, libc - Update the arch list Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/qemu/run-qemu.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/qemu/run-qemu.sh b/contrib/qemu/run-qemu.sh
index 574bf72223..60ae2b3ad8 100755
--- a/contrib/qemu/run-qemu.sh
+++ b/contrib/qemu/run-qemu.sh
@@ -3,8 +3,10 @@
# This script helps in launching QEMU to emulate OE based target systems
# It accepts 2 arguments
# First argument is the target architectures
-# second argument is empty if you want to do a complete init or
-# 'single' if booting into /bin/sh
+# Second argument is empty if your distribution does not encode the libc
+# into the deploy subdirectory structure.
+# Third argument is empty if you wish to boot the system up fully or
+# 'single' if you wish to use /bin/sh as init.
# It assumes that bridge is setup on the eth0 device on the host systems
# on debian-like systems
@@ -54,12 +56,13 @@
# from dhcp server. Note that this option is not entertained if networking
# is disabled
-supported_archs="{arm mips mipsel ppc sh4 x86}"
+supported_archs="{arm mips mips64 mipsel mips64el ppc sh4 x86}"
if [ $# -lt 2 ]; then
echo -en "
- Usage: `basename $0` <arch> <libc>
+ Usage: `basename $0` <arch> <libc> [single|empty]
where <arch> is one $supported_archs
- libc is uclibc glibc or eglibc
+ libc is uclibc glibc or eglibc (used in the deploy directory)
+ single may be passed to use /bin/sh as init or omitted.
Example: `basename $0` arm eglibc
"
exit 0