linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Grant Likely" <grant.likely@secretlab.ca>
To: greenlean <jmgomez@atc.ugr.es>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Linux 2.6 from git.xilinx and XUPV2P
Date: Tue, 11 Dec 2007 08:34:23 -0700	[thread overview]
Message-ID: <fa686aa40712110734v7b83b9e1lef9f59701ff98ad3@mail.gmail.com> (raw)
In-Reply-To: <14274035.post@talk.nabble.com>

On 12/11/07, greenlean <jmgomez@atc.ugr.es> wrote:
>
> Hi all,
>
>  I'm a beginner in Xilinx & Linux world and I'm getting a bit loose. I'm
> trying to run linux kernel 2.6 that I downloaded from the xilinx git server
> on the PPC405 of the Xilinx university program Virtex II Pro (XUPV2P for the
> search engine)  board, and I'm using the compiler ELDK 4.1 (I' ve just read
> this compiler may cause some error so I'll change it, and try the 4.0
> version) and I'm getting a lot of compilation error  and warning.

Hmm.  I use ELDK 4.1 daily and I've not had any problems on the
virtex.  What compile errors are you getting?

> I think this is what I should use, Does anybody if I have to patch this
> kernel or if it is still prepatched??

The xilinx git tree should be ready to go without patches.  In fact,
the mainline Linux tree supports the Virtex powerpc.  All that is
missing is some of the device drivers (EMAC, TEMAC).

> My compiler can find some definitions like TASK_SIZE or CONFIG_KERNEL_START,
> now I'm solving it writting  the values manually , I google for the error
> and make the definition where it's needed, but I don't think this is a good
> idea ;). I think this definitions should be defined in the .config file,
> because I found the values I wrote on a posted message in this list.

You should *not* need to do this.  The following should compile a
working kernel for the ml300 reference design (using ELDK):

$ export ARCH=ppc
$ export CROSS_COMPILE=ppc_4xx-
$ make ml300_defconfig
$ make

>
> Maybe somebody could guide me a bit through this kernel compilation, or send
> me .config file running. I don't know if a revision in the project is a good
> way, to put things in situation for beginers.

hint: look in arch/ppc/configs for working .config files.

>
> Thanks, any info would be interesting.

I've collected some of my notes here:
http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex

Hope this helps,
g.

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

  reply	other threads:[~2007-12-11 15:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 13:32 Linux 2.6 from git.xilinx and XUPV2P greenlean
2007-12-11 15:34 ` Grant Likely [this message]
2007-12-11 17:54 ` Stephen Neuendorffer
2007-12-12 17:05 ` greenlean
2007-12-12 17:19   ` Stephen Neuendorffer
2007-12-13  9:15     ` greenlean
2007-12-13 11:09     ` greenlean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa686aa40712110734v7b83b9e1lef9f59701ff98ad3@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=jmgomez@atc.ugr.es \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).