FPGARelated.com
Forums

xilinx linux source?

Started by Anonymous February 1, 2006
I have an evm on order, but is there a place I can download the PPC linux
for Virtex-4? I want to make sure I can build it okay.

Thanks,
Clark


You can rsync the ppc linux source from
rsync://source.mvista.com/linuxppc-2.4

But setting up the ppc gcc cross compiler correctly for linux kernel is
not a trivial task.    


-Tony

Haven't had any problems using Crosstool: http://kegel.com/crosstool/
Very easy to setup as well.  

Paul

"tony.p.lee@gmail.com" wrote:
> > You can rsync the ppc linux source from > rsync://source.mvista.com/linuxppc-2.4 > > But setting up the ppc gcc cross compiler correctly for linux kernel is > not a trivial task. > > -Tony
Have a look at XAPP765 
(http://www.xilinx.com/bvdocs/appnotes/xapp765.pdf). It is written for 
an older EDK version but the principles of operation are still the same.

- Peter


Anonymous wrote:
> I have an evm on order, but is there a place I can download the PPC linux > for Virtex-4? I want to make sure I can build it okay. > > Thanks, > Clark > >
I'm confused. I thought the xilinx linux was open source? Is monte vista the
only place to get the source?

"Peter Ryser" <peter.ryser@xilinx.com> wrote in message
news:drteng$8a31@cliff.xsj.xilinx.com...
> Have a look at XAPP765 > (http://www.xilinx.com/bvdocs/appnotes/xapp765.pdf). It is written for > an older EDK version but the principles of operation are still the same. > > - Peter > > > Anonymous wrote: > > I have an evm on order, but is there a place I can download the PPC
linux
> > for Virtex-4? I want to make sure I can build it okay. > > > > Thanks, > > Clark > > > > >
mvista is rsync site is just mirror of the public linux kernel site.
You don't need to pay monte vista to use it.

It is not the only place to get it.  

-Tony

So the process is really:

1. get PPC cross compiler
2. get kernel source from kernel.org
3. generate board support packages from fpga design
4. build kernel
5. build ace file and boot

So the magic is all in the BSP stuff which I assume is basically the BIOS
code in a regular PC and the libraries/memory spaces for the various
peripherals? Monte Vista is just making it easier for folks by packaging
everything in one place?

How does the kernel source know that I'm building for a PPC target?

Thanks,
Clark

<tony.p.lee@gmail.com> wrote in message
news:1138904088.604673.26180@g47g2000cwa.googlegroups.com...
> > mvista is rsync site is just mirror of the public linux kernel site. > You don't need to pay monte vista to use it. > > It is not the only place to get it. > > -Tony >
Try

make ARCH=ppc CROSS_COMPILE=<cross-compile toolchain prefix>

"Anonymous" <someone@microsoft.com> schrieb im Newsbeitrag 
news:KitEf.959$no3.741@tornado.southeast.rr.com...
> So the process is really: > > 1. get PPC cross compiler > 2. get kernel source from kernel.org > 3. generate board support packages from fpga design > 4. build kernel > 5. build ace file and boot > > So the magic is all in the BSP stuff which I assume is basically the BIOS > code in a regular PC and the libraries/memory spaces for the various > peripherals? Monte Vista is just making it easier for folks by packaging > everything in one place? > > How does the kernel source know that I'm building for a PPC target? > > Thanks, > Clark > > <tony.p.lee@gmail.com> wrote in message > news:1138904088.604673.26180@g47g2000cwa.googlegroups.com... >> >> mvista is rsync site is just mirror of the public linux kernel site. >> You don't need to pay monte vista to use it. >> >> It is not the only place to get it. >> >> -Tony >> > >
Clark,

we have released the source code for the Linux port to Virtex-II Pro to 
the linuxppc open source repository at http://penguinppc.org . Click on 
the "Kernel Source" link on the left side to find out what the different 
ways are to get access to that source code. linuxppc-2.4 is the correct 
tree.

Various distributions have picked up that source code. To get started, 
though, you will need cross-compiler, kernel, and root filesystem. The 
MontaVista Preview Kit contains all these things and combined with 
XAPP765 that should get you started.

- Peter


Anonymous wrote:
> I'm confused. I thought the xilinx linux was open source? Is monte vista the > only place to get the source? > > "Peter Ryser" <peter.ryser@xilinx.com> wrote in message > news:drteng$8a31@cliff.xsj.xilinx.com... > >>Have a look at XAPP765 >>(http://www.xilinx.com/bvdocs/appnotes/xapp765.pdf). It is written for >>an older EDK version but the principles of operation are still the same. >> >>- Peter >> >> >>Anonymous wrote: >> >>>I have an evm on order, but is there a place I can download the PPC > > linux > >>>for Virtex-4? I want to make sure I can build it okay. >>> >>>Thanks, >>>Clark >>> >>> >> > >