linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux 2.6 on xilinx ml403
@ 2007-04-10 11:51 Miroslaw Dach
  2007-04-16  5:59 ` Grant Likely
  0 siblings, 1 reply; 3+ messages in thread
From: Miroslaw Dach @ 2007-04-10 11:51 UTC (permalink / raw)
  To: linuxppc-dev

Hi All,

	I am new in the linux powerpc linux. I have the Avnet evaluation
board which contains xilinx ml403 (Virtex-4 FX family). The challenge I 
have is to build linux (most preferable 2.6) with suitable drivers.

On the net I have found much information how to build linuxppc 2.4 for 
xilinx ml300/ml301. I did not found however any good reference which 
refers to kernel 2.6 and suitable patches for powerpc 405 which is 
included in the ml403.

I would appreciate very much if someone could provide me with some good 
reference links referring kernel 2.6 for PPC 405 on xilinx ml403.
I have found the place to download the linuxppc_2_4_devel on BitKeper page 
but there is no equivalent like linuxppc_2_6_devel.


Best Regards

Mirek 


=============================================================================
          Miroslaw Dach (Miroslaw.Dach@psi.ch) - SLS/Controls Group 
                PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux 2.6 on xilinx ml403
  2007-04-10 11:51 linux 2.6 on xilinx ml403 Miroslaw Dach
@ 2007-04-16  5:59 ` Grant Likely
       [not found]   ` <Pine.LNX.4.44.0704181448130.9502-200000@slslc02.psi.ch>
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Likely @ 2007-04-16  5:59 UTC (permalink / raw)
  To: Miroslaw Dach; +Cc: linuxppc-dev

On 4/10/07, Miroslaw Dach <miroslaw.dach@psi.ch> wrote:
> Hi All,
>
>         I am new in the linux powerpc linux. I have the Avnet evaluation
> board which contains xilinx ml403 (Virtex-4 FX family). The challenge I
> have is to build linux (most preferable 2.6) with suitable drivers.
>
> On the net I have found much information how to build linuxppc 2.4 for
> xilinx ml300/ml301. I did not found however any good reference which
> refers to kernel 2.6 and suitable patches for powerpc 405 which is
> included in the ml403.
>
> I would appreciate very much if someone could provide me with some good
> reference links referring kernel 2.6 for PPC 405 on xilinx ml403.
> I have found the place to download the linuxppc_2_4_devel on BitKeper page
> but there is no equivalent like linuxppc_2_6_devel.

The mainline tree has ml403 support, but it's not complete.  I just
posted a set of patches that clean up a bunch of stuff and add some
support.  Also, if you look through the mailing list archive, you can
find a copy of the adapter.c file needed to make the Xilinx TEMAC
driver work with Linux.

I'm also planing to publish my git tree tomorrow where I've integrated
all the patches I need to get Linux in a useful state for the ml403.
The git tree will show up on http://git.secretlab.ca.  You might find
it easier to grab my tree and use that as your starting point.

Cheers,
g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux 2.6 on xilinx ml403
       [not found]   ` <Pine.LNX.4.44.0704181448130.9502-200000@slslc02.psi.ch>
@ 2007-04-18 16:04     ` Grant Likely
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Likely @ 2007-04-18 16:04 UTC (permalink / raw)
  To: Miroslaw Dach, Linux PPC

On 4/18/07, Miroslaw Dach <miroslaw.dach@psi.ch> wrote:
> Hi Grant,
>
>         Thank you very much for your e-mail. I have just downloaded your
> kernel with patches for ml403. In fact I have the Avnet evaluation board
> which is equipped with Xilinx cheap Virtex-4 FX12.
>
> Would you have also the .config file which corresponds to the ml403
> architecture?

The ml403_defconfig (arch/ppc/configs) should be a workable starting point.

>
> I have used the EDK 8.2 which generated all of the files (drivers and BSP
> definitions). In the  include file ->  xparametrs_ml40x.h there are
> however different macros comparing to that what is in the standard linux
> 2.6 (I have attached the file generated by the EDK 8.2). I have to find
> out the way how to map the addresses ?

The xparameters file generated by EDK should work with the mainline
kernel (assuming you selected Linux 2.6 in the EDK software platform
settings.  Drop it into the arch/ppc/platforms/4xx/xparameters
directory and make sure xparameters.h is including it when your board
is selected in .config

> I do not know, in addition, how to setup the GPIO to deal with the FPGA
> part of my board. The EDK 8.2 has generated the char/xilinx_gpio driver. I
> could not find the equivalent in the kernel 2.6. There are however some
> references in the xparametrs_ml403.h to GPIO. Could you tell me please how
> to included GPIO support (driver) to the kernel and how to configure it?

There is no Xilinx GPIO driver in mainline or in my tree.  You'll need
to write or port one, but it's just GPIO, it's not too hard to do.

>
> Sorry for some basic questions but I am just a beginner in the Xilinx
> ml403 linux programing.

No problem, but please as questions on the mailing list instead of in
private emails.

Cheers,
g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-18 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-10 11:51 linux 2.6 on xilinx ml403 Miroslaw Dach
2007-04-16  5:59 ` Grant Likely
     [not found]   ` <Pine.LNX.4.44.0704181448130.9502-200000@slslc02.psi.ch>
2007-04-18 16:04     ` Grant Likely

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).