* Activating SystemACE support
@ 2004-02-26 3:54 Stephen Williams
2004-02-26 9:44 ` Andrei Konovalov
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Stephen Williams @ 2004-02-26 3:54 UTC (permalink / raw)
To: linuxppc-embedded
I have a board that, like the Xilinx ml300 board, has a SystemACE
chip on it. I would like to activate the existing SystemACE drivers
support in the kernel, but it is not clear to me how I pass to the
drivers the base address and IRQ that has been assigned. Does anyone
has any suggestions?
- --
Steve Williams "The woods are lovely, dark and deep.
steve at XXXXXXXXXX But I have promises to keep,
http://www.XXXXXXXXXX and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Activating SystemACE support
2004-02-26 3:54 Activating SystemACE support Stephen Williams
@ 2004-02-26 9:44 ` Andrei Konovalov
2004-02-26 12:12 ` Jon Masters
2004-02-26 16:02 ` Jeff Angielski
2 siblings, 0 replies; 5+ messages in thread
From: Andrei Konovalov @ 2004-02-26 9:44 UTC (permalink / raw)
To: Stephen Williams; +Cc: linuxppc-embedded
Stephen,
All this stuff comes from arch/ppc/platforms/xilinx_ocp/xparameters_ml300.h:
#define XPAR_OPB_SYSACE_0_BASEADDR 0xCF000000
#define XPAR_DCR_INTC_0_OPB_SYSACE_0_SYSACE_IRQ_INTR 5
/* Linux Redefines */
#define XPAR_SYSACE_0_BASEADDR XPAR_OPB_SYSACE_0_BASEADDR
#define XPAR_INTC_0_SYSACE_0_VEC_ID XPAR_DCR_INTC_0_OPB_SYSACE_0_SYSACE_IRQ_INTR
In drivers/block/xilinx_sysace/adapter.c:
#define XSA_IRQ (31 - XPAR_INTC_0_SYSACE_0_VEC_ID)
extern XSysAce_Config XSysAce_ConfigTable[];
In drivers/block/xilinx_sysace/xsysace_g.c:
XSysAce_Config XSysAce_ConfigTable[] = {
{
XPAR_OPB_SYSACE_0_DEVICE_ID,
XPAR_OPB_SYSACE_0_BASEADDR}
};
Best regards,
Andrei
Stephen Williams wrote:
>
>
>
> I have a board that, like the Xilinx ml300 board, has a SystemACE
> chip on it. I would like to activate the existing SystemACE drivers
> support in the kernel, but it is not clear to me how I pass to the
> drivers the base address and IRQ that has been assigned. Does anyone
> has any suggestions?
>
> - --
> Steve Williams "The woods are lovely, dark and deep.
> steve at XXXXXXXXXX But I have promises to keep,
> http://www.XXXXXXXXXX and lines to code before I sleep,
> http://www.picturel.com And lines to code before I sleep."
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Activating SystemACE support
2004-02-26 3:54 Activating SystemACE support Stephen Williams
2004-02-26 9:44 ` Andrei Konovalov
@ 2004-02-26 12:12 ` Jon Masters
2004-02-26 16:02 ` Jeff Angielski
2 siblings, 0 replies; 5+ messages in thread
From: Jon Masters @ 2004-02-26 12:12 UTC (permalink / raw)
To: Stephen Williams; +Cc: linuxppc-embedded
Stephen Williams wrote:
| I have a board that, like the Xilinx ml300 board, has a SystemACE
| chip on it. I would like to activate the existing SystemACE drivers
The Insight Memec board?
Someone else already said how to modify the *yuck* xparameters to make
this work properly but hopefully a better solution will be in soon.
Anyone played with the ucLinux SystemACE stuff? I am currently going
through the Montavista SysACE driver with cringe mode on :-).
Jon.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Activating SystemACE support
2004-02-26 3:54 Activating SystemACE support Stephen Williams
2004-02-26 9:44 ` Andrei Konovalov
2004-02-26 12:12 ` Jon Masters
@ 2004-02-26 16:02 ` Jeff Angielski
2004-02-26 17:48 ` Andrei Konovalov
2 siblings, 1 reply; 5+ messages in thread
From: Jeff Angielski @ 2004-02-26 16:02 UTC (permalink / raw)
To: Stephen Williams; +Cc: linuxppc-embedded
On Wed, 2004-02-25 at 22:54, Stephen Williams wrote:
>
> I have a board that, like the Xilinx ml300 board, has a SystemACE
> chip on it. I would like to activate the existing SystemACE drivers
> support in the kernel, but it is not clear to me how I pass to the
> drivers the base address and IRQ that has been assigned. Does anyone
> has any suggestions?
>
The SystemACE driver is currently written as a subset of the
CONFIG_XILINX_OCP code. So the easiest thing is to just add another
xparameters_xxxx.h and have it conditionally included into the
arch/ppc/platforms/xilinx_ocp/xparameters.h file. Put your board
specific information in that file and you should be fine from there.
You might have to also munge the config.in files and/or Makefiles to
make sure everything gets included that needs to be there to support the
SystemACE.
Incidentally, I would be interested in hearing what kind of transfer
rates people are seeing using the SystemACE. I have run some Bonnie
tests on the filesystem on my MPC8266 board and it is pretty slow.
Jeff Angielski
The PTR Group
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Activating SystemACE support
2004-02-26 16:02 ` Jeff Angielski
@ 2004-02-26 17:48 ` Andrei Konovalov
0 siblings, 0 replies; 5+ messages in thread
From: Andrei Konovalov @ 2004-02-26 17:48 UTC (permalink / raw)
To: Jeff Angielski; +Cc: Stephen Williams, linuxppc-embedded
Jeff Angielski wrote:
> On Wed, 2004-02-25 at 22:54, Stephen Williams wrote:
>
>>I have a board that, like the Xilinx ml300 board, has a SystemACE
>>chip on it. I would like to activate the existing SystemACE drivers
>>support in the kernel, but it is not clear to me how I pass to the
>>drivers the base address and IRQ that has been assigned. Does anyone
>>has any suggestions?
>>
>
>
> The SystemACE driver is currently written as a subset of the
> CONFIG_XILINX_OCP code. So the easiest thing is to just add another
> xparameters_xxxx.h and have it conditionally included into the
> arch/ppc/platforms/xilinx_ocp/xparameters.h file. Put your board
> specific information in that file and you should be fine from there.
Yes, this is what is expected for new boards.
When writing about how the existing SystemACE driver gets the base
address etc. from xparameters_ml300.h I haven't meant editing this file
to match someone's board configuration. Probably I should better refer
to xparameters.h.
>
> You might have to also munge the config.in files and/or Makefiles to
> make sure everything gets included that needs to be there to support the
> SystemACE.
>
> Incidentally, I would be interested in hearing what kind of transfer
> rates people are seeing using the SystemACE. I have run some Bonnie
> tests on the filesystem on my MPC8266 board and it is pretty slow.
This is what I've got for ML300 (CPU clock is 300MHz, 1GB IBM MicroDrive disk):
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
192.168.119.11 20M 33448 96 31978 99 +++++ +++ 5342.4 97
192.168.119.11 20M 35652 100 33523 99 +++++ +++ 5685.3 95
192.168.119.11 20M +++++ +++ 27207 69 40435 57 5758.6 90
192.168.119.11 20M 17465 51 27585 80 +++++ +++ 6479.5 96
192.168.119.11 20M 40164 100 38478 99 +++++ +++ 6604.3 98
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
192.168.119.11 16 189 96 +++++ +++ 5909 74 191 92 26963 82 614 88
192.168.119.11 16 172 86 32531 99 7948 99 206 91 +++++ +++ 747 90
192.168.119.11 16 195 87 +++++ +++ 9156 100 207 90 +++++ +++ 749 90
192.168.119.11 16 194 87 +++++ +++ 6574 72 210 91 +++++ +++ 719 87
192.168.119.11 16 189 86 +++++ +++ 9152 99 208 91 +++++ +++ 748 90
>
> Jeff Angielski
> The PTR Group
>
>
>
Best regards,
Andrei Konovalov
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-02-26 17:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-26 3:54 Activating SystemACE support Stephen Williams
2004-02-26 9:44 ` Andrei Konovalov
2004-02-26 12:12 ` Jon Masters
2004-02-26 16:02 ` Jeff Angielski
2004-02-26 17:48 ` Andrei Konovalov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).