[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#550584: More info



On Tue, Mar 08, 2011 at 11:51:01PM +0000, Hector Oron wrote:
> [ -x /usr/bin/mkimage ] || ( echo "missing mkimage" > /dev/stderr; exit 1 )
> [ -x /usr/sbin/flash_eraseall ] || ( echo "missing flase_eraseall" >
> /dev/stderr; exit 1 )
> [ -x /usr/sbin/nandwrite ] || ( echo "missing nandwrite" > /dev/stderr; exit 1 )
> 
> /usr/bin/mkimage -A arm -O linux -T kernel -C none -n uImage -a
> 0x00008000 -e 0x00008000 -d /boot/vmlinuz-${version} /tmp/uImage

The mkimage bits should probably call flash-kernel instead.

> /usr/sbin/flash_eraseall /dev/mtd1
> /usr/sbin/nandwrite -p /dev/mtd1 /tmp/uImage

This part should be optional and configurable; not everyone
wants their NAND written to.

> rm /tmp/uImage

No need to rm this; flash-kernel puts it in /boot



Reply to: