#!/bin/sh

nanddump -n -s 0xa0000 -l 0x20000 /dev/mtd0 2>/dev/null | sheeva-nandrs-decode | sheeva-ubootenv-decode
