* [U-Boot-Users] Configure the wait states
@ 2007-03-02 6:57 JOAKIM NORDELL
2007-03-02 8:01 ` Ulf Samuelsson
0 siblings, 1 reply; 8+ messages in thread
From: JOAKIM NORDELL @ 2007-03-02 6:57 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Configure the wait states
2007-03-02 6:57 [U-Boot-Users] Configure the wait states JOAKIM NORDELL
@ 2007-03-02 8:01 ` Ulf Samuelsson
2007-03-02 9:12 ` [U-Boot-Users] ntohl and others madcat at takaisin.fi
0 siblings, 1 reply; 8+ messages in thread
From: Ulf Samuelsson @ 2007-03-02 8:01 UTC (permalink / raw)
To: u-boot
----- 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] ntohl and others
2007-03-02 8:01 ` Ulf Samuelsson
@ 2007-03-02 9:12 ` madcat at takaisin.fi
2007-03-02 14:53 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: madcat at takaisin.fi @ 2007-03-02 9:12 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Configure the wait states
@ 2007-03-02 13:52 JOAKIM NORDELL
2007-03-05 9:37 ` Ulf Samuelsson
0 siblings, 1 reply; 8+ messages in thread
From: JOAKIM NORDELL @ 2007-03-02 13:52 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Ulf Samuelsson [mailto:ulf at atmel.com]
> Sent: Friday, March 02, 2007 9:02 AM
> 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.
Ok, my application runs at 45 MHz. Therefore I guess it's possible to laborate with the wait states value and gain speed.
Greetings
Joakim Nordell
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] ntohl and others
2007-03-02 9:12 ` [U-Boot-Users] ntohl and others madcat at takaisin.fi
@ 2007-03-02 14:53 ` Wolfgang Denk
2007-03-02 16:46 ` madcat at takaisin.fi
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2007-03-02 14:53 UTC (permalink / raw)
To: u-boot
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
--
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_/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] ntohl and others
2007-03-02 14:53 ` Wolfgang Denk
@ 2007-03-02 16:46 ` madcat at takaisin.fi
2007-03-02 16:51 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: madcat at takaisin.fi @ 2007-03-02 16:46 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] ntohl and others
2007-03-02 16:46 ` madcat at takaisin.fi
@ 2007-03-02 16:51 ` Wolfgang Denk
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2007-03-02 16:51 UTC (permalink / raw)
To: u-boot
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
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Configure the wait states
2007-03-02 13:52 [U-Boot-Users] Configure the wait states JOAKIM NORDELL
@ 2007-03-05 9:37 ` Ulf Samuelsson
0 siblings, 0 replies; 8+ messages in thread
From: Ulf Samuelsson @ 2007-03-05 9:37 UTC (permalink / raw)
To: u-boot
>> -----Original Message-----
>> From: Ulf Samuelsson [mailto:ulf at atmel.com]
>> Sent: Friday, March 02, 2007 9:02 AM
>> 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.
>
> Ok, my application runs at 45 MHz. Therefore I guess it's possible to laborate with the wait states value and gain speed.
>
> Greetings
> Joakim Nordell
IMHO , If you are booting from dataflash, the correct place
to fix this is in the dataflashboot.bin
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-03-05 9:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02 6:57 [U-Boot-Users] Configure the wait states JOAKIM NORDELL
2007-03-02 8:01 ` Ulf Samuelsson
2007-03-02 9:12 ` [U-Boot-Users] ntohl and others madcat at takaisin.fi
2007-03-02 14:53 ` Wolfgang Denk
2007-03-02 16:46 ` madcat at takaisin.fi
2007-03-02 16:51 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2007-03-02 13:52 [U-Boot-Users] Configure the wait states JOAKIM NORDELL
2007-03-05 9:37 ` Ulf Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox