Newer
Older
barebox / board / ipe337 / env / bin / init
@Wolfram Sang Wolfram Sang on 15 Feb 2008 674 bytes add alternate mechanism & flash scripts - part2
#!/bin/sh

PATH=/env/bin
export PATH

. /env/config
addpart /dev/nor0 $mtdparts

echo
echo -n "Hit any key to stop autoboot: "
timeout -a $autoboot_timeout
if [ $? != 0 ]; then
	echo
	echo "Type update_kernel [<imagename>] to update kernel into flash."
	echo "Type update_system [<imagename>] to update rootfs into flash."
	echo "Type update_application [<imagename>] to update applications into flash."
	echo "Type update_persistent [<imagename>] to update persistent into flash."
	echo "Type update_ubootenv [<imagename>] to update ubootenv into flash (use with care!)."
	echo "Type reset_ageing to initialize the ageing partittion (use with care!)."
	echo
	exit
fi

boot