1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: MVME5110 |
From: | Andrew Johnson <[email protected]> |
To: | Dirk Zimoch <[email protected]> |
Cc: | TECHTALK <[email protected]> |
Date: | Wed, 14 Apr 2004 13:29:29 -0500 |
I have 512 MB. I use the default bootrom.bin as it comes with the BSP. (Why does the boot loader try to map any VME space? It's just supposed to load vxWorks from the network?)
I use the PPC's BAT registers to map in the A32 space, which is much faster than creating PTEs but it does limit you to only 1GB because there are only 4 DBAT registers with a maximum mapping size of 256MB. Of course if you have more RAM than you need for A32 space then it might make more sense to swap the two and use PTEs for A32 and BATs for RAM, but if you try that be aware there may be complications in doing so.
What exactly are you talking about? I don't know much about VME mapping (not more than how to use sysBusToLocalAdrs() :-) )
If you have much more RAM than you need, you could also turn off the vxWorks auto-memory sizing and just don't use it all, which will speed up the PTE creation time.
Why that? Are PTEs also used for local memory?
sysLib.c says:
* Normally, the user specifies the amount of physical memory with the * macro LOCAL_MEM_SIZE in config.h. BSPs that support run-time * memory sizing do so only if the macro LOCAL_MEM_AUTOSIZE is defined. * If not defined, then LOCAL_MEM_SIZE is assumed to be, and must be, the * true size of physical memory.
So, how to 'don't use it all' ?
#define VME_A32_MSTR_SIZE 0x08000000says that you're only mapping in 128MB of VME A32 space, so ~20% of your slow startup time is because of the A32 space and ~80% is because of the 512MB of RAM you have. [128/(128+512)]
- Andrew -- Dear God, I didn't think orange went with purple until I saw the sunset you made last night. That was really cool. - Caro