minix/releasetools/gen_cmdline.txt.sh
Kees Jongenburger e4be0ceecf arm:timer changes.
* Allow to change the timer frequency using the hz paramter.
* Unmask the interrupt only after registering the handler.
* Pass the hz parameter in the command line.
2013-09-26 09:05:44 +02:00

30 lines
585 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=c0d0p1s0 verbose=$VERBOSE hz=$HZ