public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Xilinx EDK 9.2i and current Linux src tree(s)
@ 2008-03-10 18:34 Phil Hochstetler
  2008-03-10 18:57 ` Stephen Neuendorffer
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Hochstetler @ 2008-03-10 18:34 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

Thanks to responses from this group, I'm using Ubuntu and ELDK 4.1, I
have a working environment to build a linux kernel for a Xilinx ML403
board.  I pulled the kernel source at
git://git.xilinx.com/linux-2.6-xlnx.git
<http://git.xilinx.com/cgi-bin/gitweb.cgi?p=linux-2.6-xlnx.git;a=summary
>  and while it will compile using "make ARCH=ppc ml403_defconfig" and
"make ARCH=ppc CROSS_COMPILE=ppc_4xx- bzImage", when I use the EDK 9.2i
to create a bitstream for the ML403 board, the BSP based header files
(xparam*) files are out of sync with the kernel source.  The files in
the linux-2.6-xlnx tree appear to have been build with EDK 7.1 and I am
using the current EDK release 9.2i.  The major diff seems to be that the
new EDK release moves all the periphials off the OPB bus and uses the
XPS bus instead.  Any ideas on how best to resolve this?  Is there a
linux tree out there that is synced with the current EDK release?   Is
it sufficient to had edit in the hardware address in the existing OPB
based file and ignore the differences between OPB and XPS?   Is the
difference in name only?  Should I just try to pick up the entire linux
tree from the EDK release and drop it on the linux kernel?  Has anyone
else been down this path already?  Thanks for any words of wisdom.

--phil


[-- Attachment #2: Type: text/html, Size: 3053 bytes --]

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

* RE: Xilinx EDK 9.2i and current Linux src tree(s)
  2008-03-10 18:34 Xilinx EDK 9.2i and current Linux src tree(s) Phil Hochstetler
@ 2008-03-10 18:57 ` Stephen Neuendorffer
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Neuendorffer @ 2008-03-10 18:57 UTC (permalink / raw)
  To: Phil Hochstetler, linuxppc-embedded


You should copy the xparameters file into the Linux kernel tree.

Although the overall structure of the file is very different from EDK
7.1, and many names are different when using the xps* IP in EDK 9.2, the
names that are used by the kernel (in arch/ppc/syslib/virtex_devices.c)
should be defined correctly (as long as you use the linux-2.6 BSP).

Under no circumstances would I ever recommend editing that file by hand.
If you modify the design, you should regenerate the xparameters file and
copy it into your kernel.  Furthermoe, the file that is in the kernel is
for a standard reference design, and unless you are using this reference
design, you *must* copy the xparameters file for your design.  The
kernel from git.xilinx.com already has all the drivers, all you need is
the one file.

Steve

> -----Original Message-----
> From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs•org
[mailto:linuxppc-embedded-
> bounces+stephen=3Dneuendorffer.name@ozlabs•org] On Behalf Of Phil
Hochstetler
> Sent: Monday, March 10, 2008 11:34 AM
> To: linuxppc-embedded@ozlabs•org
> Subject: Xilinx EDK 9.2i and current Linux src tree(s)
>=20
> Thanks to responses from this group, I'm using Ubuntu and ELDK 4.1, I
have a working environment to
> build a linux kernel for a Xilinx ML403 board.  I pulled the kernel
source at
> git://git.xilinx.com/linux-2.6-xlnx.git
<http://git.xilinx.com/cgi-bin/gitweb.cgi?p=3Dlinux-2.6-
> xlnx.git;a=3Dsummary>  and while it will compile using "make =
ARCH=3Dppc
ml403_defconfig" and "make
> ARCH=3Dppc CROSS_COMPILE=3Dppc_4xx- bzImage", when I use the EDK 9.2i =
to
create a bitstream for the ML403
> board, the BSP based header files (xparam*) files are out of sync with
the kernel source.  The files
> in the linux-2.6-xlnx tree appear to have been build with EDK 7.1 and
I am using the current EDK
> release 9.2i.  The major diff seems to be that the new EDK release
moves all the periphials off the
> OPB bus and uses the XPS bus instead.  Any ideas on how best to
resolve this?  Is there a linux tree
> out there that is synced with the current EDK release?   Is it
sufficient to had edit in the hardware
> address in the existing OPB based file and ignore the differences
between OPB and XPS?   Is the
> difference in name only?  Should I just try to pick up the entire
linux tree from the EDK release and
> drop it on the linux kernel?  Has anyone else been down this path
already?  Thanks for any words of
> wisdom.
>=20
> --phil

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

end of thread, other threads:[~2008-03-10 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 18:34 Xilinx EDK 9.2i and current Linux src tree(s) Phil Hochstetler
2008-03-10 18:57 ` Stephen Neuendorffer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox