summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/at91rm9200ek/defaultenv-at91rm9200ek/bin/init_board
blob: 0d40eb41a5bd74b00999a7d169dc4b5cfe26ff53 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ $at91_udc0.vbus != 1 ]
then
	echo "No USB Device cable plugged, normal boot"
	exit
fi

autoboot_timeout=16
echo "enable tty over USB Device, increase the boot delay to ${autoboot_timeout}s"
usbserial