update

led 3 0

if fatload usb 0:1 80002000 kernel.img; then
if crc32 -v 80002000 1d6eb6 83bcb7eb; then
nand unlock
nand erase 0 300000
nand write.i 80002000 0 1d6eb6
nand read.i 80002000 0 1d6eb6
if crc32 -v 80002000 1d6eb6 83bcb7eb; then
echo "write kernel.img OK"
else
ledblink 1 0 200
fi
else
ledblink 1 0 200
fi
else
ledblink 1 0 200
fi

if fatload usb 0:1 80002000 rootfs.img; then
if crc32 -v 80002000 3D00000 aea847b0; then
nand unlock
nand erase 300000 3d00000
nand write.jffs2 80002000 300000 3D00000
nand read.jffs2 80002000 300000 3D00000
if crc32 -v 80002000 3D00000 aea847b0; then
echo "write rootfs.img OK"
else
ledblink 1 0 200
fi
else
ledblink 1 0 200
fi
else
ledblink 1 0 200
fi

ledblink 3 0 200
Wyszukiwarka

Podobne podstrony:
spi przyklad2 update
07 X5 Updates
update pl 2
update pl 6
G500 OS?? update notification
function ifx update char
updatelog
Update Manual LH7 M32BB
Naruto v3 0 update files list
update pl 4
D&D 3 5 PHB, DMG, & Monster Manual, Update 3 0 to 3 5
Update HFZLSBGJXQPJSEVQZ3ANKRXEP7TBQZ2WPW2IQSA
update liesmich
Chapter 4b First Law Control Volumes (Updated 4 9 10)

więcej podobnych podstron