linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Getting started with Xilinx V4 PPC?
@ 2006-01-30 19:11 David Summers
  2006-01-30 20:28 ` bennett78
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Summers @ 2006-01-30 19:11 UTC (permalink / raw)
  To: linuxppc-embedded

I am starting a new project where I need to have a flash file system
and an ethenet interface (HTTP and FTP).  The project is a solar
physics experiment that will be launched on a sub-orbital rocket
flight this fall.  The idea is that the experiment will write data
files to the flash file system while in flight, and then I can
download the data using ethernet after the experiment returns to
earth.

I think that Linux is the way to go for this project because of the
JFFS2 filesystem and the strong networking support.  The only problem
is that I am totally new to embedded linux.

I am prototyping my system on an Avnet FX12 development board ( Specs
here: http://tinyurl.com/4gfdv ) which is pretty similar to the Xilinx
ML403 board except with less memory and no SystemACE slot.

I will eventually build my own custom board with the same Xilinx
Virtex 4 FX12 FPGA and additional flash memory and some custom
interface hardware. My background is primarily as a hardware designer,
and I am very confortable with the FPGA part of this project.   I am
comfortable as a Linux user, and I am a pretty good C coder (for a
hardware guy anyway :).  I have never built a linux system (embedded
or desktop) before, and I need some help getting started with embedded
linux.

I have already found the following websites which have been a big help so f=
ar:

http://www.klingauf.de/v2p/index.phtml
http://splish.ee.byu.edu/projects/LinuxFPGA/configuring.htm
http://www.crhc.uiuc.edu/IMPACT/gsrc/hardwarelab/docs/kernel-HOWTO.html#toc=
1

I have a few questions that I hope someone can help me with:

1. What is the best linux distribution to start out with?  I am
currently working with the 2.4 kernel code from
ppc.bkbits.net/linuxppc_2_4_devel, but I'm not sure that this version
be being updated.  (MontaVista also seems to be making it rather
difficult to download their free Linux Preview Kit, so I wouldn't mind
finding another distribution)    Does the DENX distribution have good
PPC support?  Are there any others that I should look at, or should I
just download the kernel source directly from kernel.org?


2. kernel 2.4 or 2.6?

It is my understanding that the latest version of MTD and JFFS2 have
dropped support for kernel 2.4.  I would like to use JFFS2 on a NAND
flash device, so it seems like I should use 2.6.  (Can I use JFFS2 on
a NAND device with kernel v 2.4?)

Being a complete newbie, am I biting off more that I can handle by
trying to use 2.6?

I have been lurking on the mailing list for a while, and I know that
there are several people working on 2.6.x patches for the Xilinx
virtex 4 parts.  Could someone point me to a list of the patches that
I need to get me started?  I think that the ML403 patches should work
with my board, but I don't know which ones I need to download.


Thank you for your help,

David Summers
University of Colorado

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Getting started with Xilinx V4 PPC?
@ 2006-01-31  7:44 Paula Saameño
  0 siblings, 0 replies; 9+ messages in thread
From: Paula Saameño @ 2006-01-31  7:44 UTC (permalink / raw)
  To: linuxppc-embedded, bennett78

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

Hi!!

I was pretty new to embedded linux as well, but I can recommend you using
2.4 kernel. The 2.6 version is not fully adapted to V4 yet, since the
ethernet drivers for the Xilinx EMAC hasn't been released, neither the ones
for other specific devices.

I used 2.4_devel, and it works fine for me. My design for the FPGA is
composed by an uart, the ethernet mac, i2c, ddr memory and interrupt
controller, and the kernel 2.4 is ok making the corresponding modifications
(adding xparameters.h and the other drivers generated by EDK).

However, here are some patches for the kernel 2.6 on the ml403 and the
Xilinx reference design:

http://patchwork.ozlabs.org/linuxppc/

See January and there are 9 patches that maybe are useful for you. I got it
running on my ml403 board, but there is no network support for Xilinx yet,
and that's why I recommended you the 2.4.

Hope being helpful!
Paula

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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Getting started with Xilinx V4 PPC?
@ 2006-02-10  7:47 Paula Saameño
  0 siblings, 0 replies; 9+ messages in thread
From: Paula Saameño @ 2006-02-10  7:47 UTC (permalink / raw)
  To: linuxppc-embedded, bennett78

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

Hi!!

I am using ML403 right now and everything works fine with the
linuxppc_2_4_devel. My basic design has a simple UART, DDR, Ethernet, IIC
and XSysAce.
I haven't measured the power consumption yet, but I will soon. I'll let you
know when I do it.

I thought about using the internal FPGA MAC as a complete PHY. For Ethernet
over fiber it's ok, but for Ethernet over copper, we should implement the
collision detector, serder... "manually" and I don't think we had enough
space in the FPGA (XC4VFX12), since the actual design uses the 85% of
slices.
Maybe with a bigger FPGA we could do the complete design "inside".

Have a good weekend!
Paula

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

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

end of thread, other threads:[~2006-02-10  7:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-30 19:11 Getting started with Xilinx V4 PPC? David Summers
2006-01-30 20:28 ` bennett78
2006-01-31 21:07   ` David Summers
2006-01-31  5:59 ` Peter Ryser
2006-01-31 11:43 ` David H. Lynch Jr.
2006-01-31 21:17   ` David Summers
2006-02-10  2:13     ` Frank Bennett
  -- strict thread matches above, loose matches on Subject: below --
2006-01-31  7:44 Paula Saameño
2006-02-10  7:47 Paula Saameño

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