Newer
Older
barebox / board / at91sam9263ek / env / bin / update_root
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD on 2 Nov 2009 215 bytes at91: add support for the at91sam9263ek board of Atmel
#!/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