Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-25 Thread Stuart Wood
Jerry, Excellent Idea! I will test it right away. -- Stuart Wood Lab X Technologies, LLC 176 Anderson Ave. Suite 302 Rochester, NY 14607 Phone: (585) 271-7790 x207 Fax: (585) 473.4707 - This SF.Net email is sponsored by th

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-25 Thread Jerry Van Baren
Jerry Van Baren wrote: > So you should be able to use >0xE080..0xE0FF - 2nd "copy" of the first bank >0xE100..0xE17F - 1st "copy" of the second bank > you will double your available consecutive memory. You can do the same > thing with the third and fourth banks of memory,

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-25 Thread Jerry Van Baren
Stuart Wood wrote: > Wolfgamg > > >> What has the MMU to do with it? >> >> Just program your memory controller such that the 4 banks form a >> contiguous region. > > The memory controller unfortunatly can not map the SDRAM banks as > contiguous region. That IS the main problem. For the SDRAM I'

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-25 Thread Stuart Wood
Wolfgamg > What has the MMU to do with it? > > Just program your memory controller such that the 4 banks form a > contiguous region. The memory controller unfortunatly can not map the SDRAM banks as contiguous region. That IS the main problem. For the SDRAM I'm using It ends up giving me region

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-24 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > I'm using an ARM90T processor core. It does have a MMU. My > understanding is that u-Boot has discouraged the use of a MMU for > virtual memory space. Are there any examples of processors > architectures that can enable the MMU for address translations?

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-24 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > I've got an interesting problem. If loading a large image to memory > and then copying it to flash it gets corrupted. I think copying to flash is completely unrelated to your problem. > It appears to happen when the image size becomes larger then a bank

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-24 Thread Ricardo
Hello again AFAIK the ppc440 runs ALLWAYS in virtual mode, and supports allocate anything in the real space to anywhere in the virtual space. Best regards On Thu, Jul 24, 2008 at 10:30 PM, Stuart Wood <[EMAIL PROTECTED]> wrote: > I'm using an ARM90T processor core. It does have a MMU. My >

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-24 Thread Stuart Wood
I'm using an ARM90T processor core. It does have a MMU. My understanding is that u-Boot has discouraged the use of a MMU for virtual memory space. Are there any examples of processors architectures that can enable the MMU for address translations? Stuart On Thu, Jul 24, 2008 at 11:50 AM, Ricardo

Re: [U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-24 Thread Ricardo
Hi Stuart I don't know waht architechture that you are using, but if you have an mmu maybe you can set it to have a virtual memory space contigous. Best regards On Thu, Jul 24, 2008 at 4:56 PM, Stuart Wood <[EMAIL PROTECTED]> wrote: > I've got an interesting problem. If loading a large imag

[U-Boot-Users] How to Handel Non-Continuous Memory Regions

2008-07-24 Thread Stuart Wood
I've got an interesting problem. If loading a large image to memory and then copying it to flash it gets corrupted. It appears to happen when the image size becomes larger then a bank of SDRAM. I've got a 32 MByte SDRAM that appears as 4 banks of 8 MBytes. The system is using u-boot 1.1.3 and we w