minix/releasetools/gen_cmdline.txt.sh
Kees Jongenburger 167c4d972f arm:build also generate cmdline.txt
Also generate cmdline.txt as we need to use a different serial
for the AM335X boards.

Change-Id: I18c1b5911b5d7238d4a765e0aa01613908d9f2e6
2013-05-24 14:03:14 +02:00

25 lines
513 B
Bash
Executable file

#!/bin/sh
#default for the beagleboard-xM
CONSOLE=tty02
#verbosity
VERBOSE=3
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
;;
esac
done
echo console=$CONSOLE rootdevname=c0d0p1s0 verbose=$VERBOSE