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" <[email protected]>
To: <[email protected]>
Sent: Friday, March 02, 2007 7:57 AM
Subject: [U-Boot-Users] Configure the wait states
Quoted 8 lines
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
[U-Boot-Users] ntohl and others
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.
[U-Boot-Users] ntohl and others
Quoted 4 lines · In message <[email protected]> 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.
Quoted 3 lines
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
Signature · 7 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
\|/ ____ \|/ \|/ ____ \|/
@~/ ,. \~@ @~/ ,. \~@
/_( \__/ )_\ /_( \__/ )_\
\__U_/ \__U_/[U-Boot-Users] ntohl and others
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.
[U-Boot-Users] ntohl and others
Quoted 8 lines · In message <[email protected]> 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
Signature · 4 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There is nothing in this world constant but inconstancy. - Swift