From: "David Baird" <dhbaird@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Problem booting Linux 2.6 on Virtex-4
Date: Mon, 14 Jan 2008 17:14:14 -0700 [thread overview]
Message-ID: <440abda90801141614u777edfbndc5d2c61f927dd4f@mail.gmail.com> (raw)
In-Reply-To: <20080114210954.AC436CF8050@mail36-dub.bigfish.com>
Hi Steve,
On Jan 14, 2008 2:09 PM, Stephen Neuendorffer
<stephen.neuendorffer@xilinx.com> wrote:
> What kernel version are you targeting? Are you using arch/powerpc or arch/ppc? V4 has a data cache errata, which isn't currently in mainline arch/powerpc.
I am using arch/ppc/, but to be honest, I don't yet know what the
difference is between those two trees.
Also, I am still learning how to use git, but it appears that I am
using this version:
Tags: v2.6.24-rc7
I am actually using OpenEmbedded which executes the following commands
to get the Linux tree:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
cd linux-2.6
git clone git://git.secretlab.ca/git/linux-2.6-virtex.git master
> if((mfpvr() & 0xfffff000) == 0x20011000) {
> /* PPC errata 213: only for Virtex-4 FX */
> __asm__("mfccr0 0\n\t"
> "oris 0,0,0x50000000@h\n\t"
> "mtccr0 0"
> : : : "0");
> }
I tried out this code snippit, but it did not help :-( I also looked
in head.S and found that this was already in there:
#if defined(CONFIG_XILINX_VIRTEX_4_FX)
/* PPC errata 213: only for Virtex-4 FX */
mfccr0 0
oris 0,0,0x50000000@h
mtccr0 0
#endif
Today, I tried a completely fresh design in EDK 9.2i (whereas I had
been using 9.1i). I tried the design found in
EDKexamples/Virtex4_PPC_Example_9_2.zip. This design works :-) I am
not sure why it works (or rather, why the other one did not work), but
it works.
-David
(P.S. - Sorry I forgot to send to this to the list on the first try)
next prev parent reply other threads:[~2008-01-15 0:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 5:12 Problem booting Linux 2.6 on Virtex-4 David Baird
2008-01-14 8:37 ` Enno Lübbers
2008-01-14 20:11 ` David Baird
2008-01-14 21:09 ` Stephen Neuendorffer
2008-01-15 0:14 ` David Baird [this message]
2008-01-15 7:24 ` Enno Lübbers
2008-01-14 23:49 ` David Baird
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=440abda90801141614u777edfbndc5d2c61f927dd4f@mail.gmail.com \
--to=dhbaird@gmail.com \
--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).