On Mon, Jun 21, 1999, <[EMAIL PROTECTED]> wrote:
>I've some code running off the FLASH-ROM in a stand-alone device,
>which yield very poor performance.
>Please advice how I can copy codes from Flash to RAM after bootloading ?
Running code from flash can be very slow depending on your setting of the
various flash timing registers of the 285. In order to copy the code to
RAM, you can do several things:
- locate your code in RAM at compile time and make the proper aif header
for angel to copy it to RAM, but you need to make sure angel properly
detected you RAM configuration which may not be the case depending on the
version of angel you have
- write your code in a relocatable way and copy it to RAM yourself
In this later case, if you are running without angel, you'll have to
detect and setup the RAM correctly before using it. See Russel's bios,
and if you experience trouble with memory detection, tell me and I'll
send you an alternate algorithm that works better for the kind of RAMs
I'm using. The bios is at <ftp://ftp.arm.linux.org.uk/pub/armlinux/boot>
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]