Newer
Older
barebox / board / pm9263 / env / bin / update_root
@Marc Kleine-Budde Marc Kleine-Budde on 18 May 2009 215 bytes [pm9263] fix update_root script
#!/bin/sh

. /env/config

image=$jffs2
if [ x$1 = xnand ]; then
	part=/dev/nand0.root.bb
elif [ x$1 = xnor ]; then
	part=/dev/nor0.root
else
	echo "usage: $0 nor|nand [imagename]"
	exit 1
fi

. /env/bin/_update $2