public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: linux-sh@vger.kernel.org
Subject: Re: upgrading u-boot from linux for SH7785LCR board
Date: Mon, 05 Jul 2010 04:37:59 +0000	[thread overview]
Message-ID: <201007050038.04090.vapier@gentoo.org> (raw)
In-Reply-To: <4C30CEC3.1050003@naoi.ca>

[-- 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 --]

      parent reply	other threads:[~2010-07-05  4:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-04 18:11 upgrading u-boot from linux for SH7785LCR board Bill Traynor
2010-07-04 21:24 ` Mike Frysinger
2010-07-04 23:01 ` Nobuhiro Iwamatsu
2010-07-05  3:29 ` Bill Traynor
2010-07-05  4:37 ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007050038.04090.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox