From: Wolfgang Denk <wd@denx.de>
To: "David Gamez" <dgalari@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: flash problem in a LITE5200B
Date: Mon, 15 Jan 2007 22:30:00 +0100 [thread overview]
Message-ID: <20070115213000.F1DC735264F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Mon, 15 Jan 2007 11:49:01 +0100." <3184691b0701150249g55d2472ax583acca96f0efb30@mail.gmail.com>
In message <3184691b0701150249g55d2472ax583acca96f0efb30@mail.gmail.com> you wrote:
>
> I work with a Freescale LITE5200B, but I have a problem, when I download a
> rootfs image to a flash memory in the board, hi have one error:
You don't provide much information (like which software you use to do
the copying - U-Boot, Linux, ... ?), but let me guess...
> => Copy To Flash ............. Outside available Flash
>
> The size of the image is of 3285336 bytes, but the flash memory capacity is
> 32 MBytes, and I load the image in the first sector on the flash memory.
Let me guess: you do this in U-Boot, and forget
* that U-Boot commands take are usually interpreted in hex, i. e. if
you enter a byte count of '3285336' than this is 52974390 decimal
or 50+ MB which definitely *is* outside the available flash
and/or
* that the U-Boot "cp" command operates on 32 bit words (= 4 bytes),
so when you want to specify a byte count you have to use the "cp.b"
variant of this command
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"Just think, with VLSI we can have 100 ENIACS on a chip!"
- Alan Perlis
prev parent reply other threads:[~2007-01-15 21:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 10:49 flash problem in a LITE5200B David Gamez
2007-01-15 13:50 ` Grant Likely
2007-01-15 21:30 ` Wolfgang Denk [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=20070115213000.F1DC735264F@atlas.denx.de \
--to=wd@denx.de \
--cc=dgalari@gmail.com \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).