Newer
Older
barebox / board / edb93xx / env / bin / update_rootfs
@Matthias Kaehlcke Matthias Kaehlcke on 14 Jan 2010 201 bytes Add support for EDB93xx boards
#!/bin/sh

. /env/config

if [ $# != 1 ];
then
				echo "Usage: $0 <1/2>"
				exit 1
fi

partition=/dev/nor0.rootfs_$1

cd /
tftp ${board}/rootfs.img || exit 1

flash_partition rootfs.img ${partition}