* RE: about filesize when copy from flash to ram
[not found] <00012747.C22236@embeddedplanet.com>
@ 2003-02-20 13:55 ` Jerry Van Baren
0 siblings, 0 replies; only message in thread
From: Jerry Van Baren @ 2003-02-20 13:55 UTC (permalink / raw)
To: linuxppc-embedded
You are copying flash over top of your interrupt vectors, overwriting
active code and crashing your system. Don't do that. Getting a load into
the bottom of RAM (e.g. loading linux) is a delicate dance that u-boot does
well, so use that function. You are not going to be able to do it with the
"cp" command. Read the README file for a lot more information.
gvb
>From: okisoftxman [mailto:okisoftxman@hotmail.com]
>Sent: Wednesday, February 19, 2003 6:04 PM
>To: linux-emb
>Subject: about filesize when copy from flash to ram
>
>
>
>First thank you for your help.
>
>Useing my MBX860 board's u-boot,I try to copy some files from flash to
>ram.The files in this address "fe600000" in the flash.
>I find a problem when I use this command"cp.b fe000000 00000000 filesize",if
>the filesize<=900sbit(hex),the
>file can copy from flash to ram.but if the filesize>=900sbit(hex),the system
>will reset.e.g."cp.b fe000000 00000000 1000"will reset the system and fail
>to copy to ram,why?
>
>The critical value of filesize is between 900~1000,about 2Kbytes,why?
>
>Thank you
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-20 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <00012747.C22236@embeddedplanet.com>
2003-02-20 13:55 ` about filesize when copy from flash to ram Jerry Van Baren
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).