Re: upgrading u-boot from linux for SH7785LCR board

Mike Frysinger
2010-07-05T04:37:59Z

[-- Attachment #1: Type: Text/Plain, Size: 426 bytes --]

On Sunday, July 04, 2010 23:29:28 Bill Traynor wrote:
> On 10-07-04 05:24 PM, Mike Frysinger wrote:
> > all i do is:
> > cat u-boot.bin> /dev/mtdblock0
>
> Thanks, that worked perfectly.

for safety sake, you might want to dd it back out and cmp the result. so
something like:
dd if=/dev/mtdblock0 of=u-boot.bin.new \
ibs=$(wc -c u-boot.bin | awk '{print $1}') count=1
cmp u-boot.bin u-boot.bin.new
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]