about filesize when copy from flash to ram
Jerry Van Baren
gerald.vanbaren at smiths-aerospace.com
Fri Feb 21 00:55:00 EST 2003
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 at 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/
More information about the Linuxppc-embedded
mailing list