linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Robert Woodworth" <rwoodworth@securics.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Xilinx Virtex4 FX PPC
Date: Mon, 20 Aug 2007 11:50:29 -0600	[thread overview]
Message-ID: <fa686aa40708201050o688933a2re78072f4d1d7616e@mail.gmail.com> (raw)
In-Reply-To: <1187625654.6336.28.camel@PisteOff>

On 8/20/07, Robert Woodworth <rwoodworth@securics.com> wrote:
> 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??

Probably.  The one in misc-embedded.c has the 'weak' attribute, so it
gets linked in if a stronger version is not provided.  Check that
CONFIG_* values that wrap the Xilinx section of embed_config.c

As for the hard coded values, you need to add an xparameters_<board>.h
file as generated by the EDK 'linux-2.6' bsp and fixup
arch/ppc/platforms/4xx/xparameters.h appropriately to include it.

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

Cheers,
g.

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

  parent reply	other threads:[~2007-08-20 17:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2007-08-21  8:52 ` Stelios Koroneos
2007-08-21 12:57   ` Josh Boyer

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=fa686aa40708201050o688933a2re78072f4d1d7616e@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=rwoodworth@securics.com \
    /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).