summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/boards/ipe337/env/bin/init
blob: e864dc5a4291b81b959bb02e7d7ff4829370fb3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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_bareboxenv [<imagename>] to update bareboxenv into flash (use with care!)."
	echo "Type reset_ageing to initialize the ageing partittion (use with care!)."
	echo
	exit
fi

boot