Newer
Older
barebox / arch / arm / boards / at91rm9200ek / env / bin / init_board
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD on 2 Apr 2012 216 bytes at91rm9200ek: add usb serial support
#!/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