[U-Boot-Users] Configure the wait states

Hello.
I'm working with a Atmel AT91RM9200 board and I would like to set the memory timing. I think that the board can be faster, the read from and write to memory can be done faster than now. So, I would like to laborate with the wait state register. Is that possible to do inside of u-boot or within the source code?
Greetings --- Joakim Nordell

----- Original Message ----- From: "JOAKIM NORDELL" TDE02003@stud.mah.se To: u-boot-users@lists.sourceforge.net Sent: Friday, March 02, 2007 7:57 AM Subject: [U-Boot-Users] Configure the wait states
Hello.
I'm working with a Atmel AT91RM9200 board and I would like to set the memory timing. I think that the board can be faster, the read from and write to memory can be done faster than now. So, I would like to laborate with the wait state register. Is that possible to do inside of u-boot or within the source code?
Greetings
Joakim Nordell
It is possible to change anything in U-Boot source, but I am not sure U-boot supports writing to the EBI while you are executing from SDRAM
The bus will run the internal/external bus at a fraction of the CPU speed. I believe you should be able to run the bus at 80 Mhz or so, but that means that you have to reduce the CPU speed to 160 MHz from 180 MHz, and I am not sure you gain anything in the process. The AT91SAM9260 has about the same functionality but can run the bus at 100 MHz.
Best Regards Ulf Samuelsson

Hi,
Now that the previous problem is solved, I have the new one. :)
I have integrated part of the program to u-boot that uses ntohl and others when communicating to network. It seems that u-boot doesn't have implementation for those functions. I tried to took the libc with the u-boot, but the size of the u-boot doubled. I didn't even try if that worked, because I had to make some changed to U-boot to get it link right.
I'm using ixp425 if that's any help. Should I take those functions from libc or does the u-boot have that functionality, but I have missed it somehow?
I'm running the processor in big-endian mode so the dirty way would be to hardcode those functions if nothing else comes up.
- Teemu K.

In message 20070302091249.GD10206@takaisin.fi you wrote:
I have integrated part of the program to u-boot that uses ntohl and others when communicating to network. It seems that u-boot doesn't have implementation for those functions. I tried to took the libc with the
U-Boot provides these functions. And linking against external libraries like libc (shudder!) is defininnitely bound to fail.
I'm using ixp425 if that's any help. Should I take those functions from libc or does the u-boot have that functionality, but I have missed it somehow?
You missed it.
Best regards,
Wolfgang Denk

Hi,
Yes, I missed it. I found it too, when I dug deeper, but I was unable to figure out what is the right way to get it working. So as a quick and dirty 'fix' I copied the macros to place where I'm using them since I'm running at big-endian mode the macros don't do anything.
But I'd like to make the things in right way so how do I get them in use properly? The target is ixp425.
- Teemu K.

In message 20070302164612.GF10206@takaisin.fi you wrote:
Yes, I missed it. I found it too, when I dug deeper, but I was unable to figure out what is the right way to get it working. So as a quick and dirty 'fix' I copied the macros to place where I'm using them since I'm running at big-endian mode the macros don't do anything.
But I'd like to make the things in right way so how do I get them in use properly? The target is ixp425.
Just read the existing code. The network code is full of these.
Best regards,
Wolfgang Denk
participants (4)
-
JOAKIM NORDELL
-
madcat@takaisin.fi
-
Ulf Samuelsson
-
Wolfgang Denk