linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Xilinx Virtex4 FX PPC
@ 2007-08-20 16:00 Robert Woodworth
  2007-08-20 16:35 ` Josh Boyer
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Robert Woodworth @ 2007-08-20 16:00 UTC (permalink / raw)
  To: linuxppc-embedded

Hello All!

I'm beginning development with a Xilinx PPC/FPGA.  I've now gotten my
feet wet and have a few successes and a few head scratches.

I have a Xilinx ML403 dev board.  I ran the Monta-Vista Linux 2.4 demo.
good.



Now for my own attempt.  
(Please reply if anything I'm doing is incorrect)

I found a pre-built toolchain for my i686 Debian host with 
gcc-4.1.1 + glibc6.  I downloaded kernel 2.6.23-rc3 after reading
several posts on this list about the ML403 and drivers in this kernel
version.

Problem 1:  The kernel did not have the correct memory information.  I
noticed in 'embed_config.c' that the board params are hard coded,
however my kernel was not linking with that version of embed_config().
It was linking with embed_config() in 'misc-embedded.c'   
Did I miss a config parameter in the kernel config??


My kernel now boots and mounts the MontaVista rootfs on the SystemACE
Flash!!! :)



Problem 2:  Build my own rootfs.
If I try to build my own programs (busybox and bash at this point) with
shared libc using the same glibc from my toolchain, I get an "Illegal
instruction" error.  Is my glibc not compatible with my Xilinx PPC 405??


If I try to build a rootfs with debian ppc packages I have the same
"Illegal instruction" error.



Question 1:
Do I need a special glibc for the Xilinx PPC 405????  
Does a normal PPC glibc have more "advanced" instructions compiled in
that will not work on a Xilinx PPC 405??

Question 2:
Is it true that the xparameters.h file produced by Xilinx EDK is not
compatible with the current 2.6.23 kernel??  It appears that if I change
params (addresses or IRQ's) in my Xilinx EDK I need to hand edit the
xparameters.h in the kernel source tree.  True?  


BTW: My Xilinx EDK is version 9.1i with full ISE 9.1i.




I'm looking forward to helping the Linux on Xilinx PPC effort!!

Woody.

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

end of thread, other threads:[~2007-08-21 22:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20 16:00 Xilinx Virtex4 FX PPC Robert Woodworth
2007-08-20 16:35 ` Josh Boyer
2007-08-20 17:26   ` Robert Woodworth
2007-08-20 17:42     ` Grant Likely
2007-08-20 17:50     ` Stephen Neuendorffer
2007-08-21 22:14     ` Clemens Koller
2007-08-20 17:50 ` Grant Likely
2007-08-21  8:52 ` Stelios Koroneos
2007-08-21 12:57   ` Josh Boyer

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