linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: RE: about filesize when copy from flash to ram
Date: Thu, 20 Feb 2003 08:55:00 -0500	[thread overview]
Message-ID: <5.1.0.14.2.20030220085208.02608ba8@falcon.si.com> (raw)
In-Reply-To: <00012747.C22236@embeddedplanet.com>


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/

           reply	other threads:[~2003-02-20 13:55 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <00012747.C22236@embeddedplanet.com>]

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=5.1.0.14.2.20030220085208.02608ba8@falcon.si.com \
    --to=gerald.vanbaren@smiths-aerospace.com \
    --cc=linuxppc-embedded@lists.linuxppc.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).