minix/releasetools/gen_cmdline.txt.sh
Ben Gras b6d951df17 arm_sdimage.sh: use native minix partition util
. make filesystems on primary partitions to make it
	  easier on the minix partition util
	. so sfdisk isn't required as an external tool
	. also make partition and hitherto x86-only utilities
	  arch-independent

Change-Id: Ib4e07e45d038d084dde1858917d3deb7f0616532
2013-09-27 14:13:43 +02:00

31 lines
583 B
Bash
Executable file

#!/bin/sh
#default for the beagleboard-xM
CONSOLE=tty02
#verbosity
VERBOSE=3
HZ=1000
while getopts "c:v:?" c
do
case "$c" in
\?)
echo "Usage: $0 [-c consoletty] [-v level]" >&2
exit 1
;;
c)
# genrate netbooting uEnv.txt
CONSOLE=$OPTARG
;;
v)
# genrate netbooting uEnv.txt
VERBOSE=$OPTARG
;;
h)
# system hz
HZ=$OPTARG
;;
esac
done
echo console=$CONSOLE rootdevname=c0d0p1 verbose=$VERBOSE hz=$HZ