All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Wind River SBC8560 saga continues
Date: Thu, 03 May 2007 21:26:14 -0400	[thread overview]
Message-ID: <463A8BB6.2040502@gmail.com> (raw)
In-Reply-To: <315FA8E37E6E844C9B2EF35715F600720A3CC9@bache.mintera.net>

Mark Pilant wrote:
> Hi Andy.
> 
>>> Finally, I notice there is one area of memory, defined at 0x70000000,
>>> which has a TLB but does not appear to have any real memory to back
>>> it up.  (This address is associated with the CFG_INIT_RAM_ADDR
>>> defined symbol.)
>> This is just the initial area to store stuff before RAM is actually
>> set up.  It has to be somewhere with nothing behind it so it will just
>> stay in the cache.  Most 85xx systems use 0xe4010000.  However, once
>> RAM is set up, this address loses its meaning
> 
> OK.  That sounds reasonable, although I haven't run across this before.
> 
>>> I am hoping someone might be able to point out if I am missing
>>> something (subtle or obvious :-).
>>>
>>> I had thought this might be the source of the CPM SCC problem I
>>> am having, but so far it does not seem to be the case.
>> I don't recall seeing the email about  your problem.  Could you
>> redescribe it?
> 
> Simply put, I'm trying to get U-Boot 1.2.0 compiled and running on
> a Wind River SBC8560 board we have.  From what I saw of the '8560
> support in general and the SBC8560 in particular, I thought it would
> be relatively simple.
> 
> After setting up the ELDK on a Fedora Core 6 system I have, I was able
> to make a couple of changes to sbc8560.h (mostly to use SCC1 for the
> console) and build an image.
> 
> Loading the image into flash (using WR visionCLICK) everything goes
> along fine until the code attempts to initialize the CPM SCC Tx & Tx.
> After writing the appropriate value to the proper location, the code
> hangs waiting for the command to complete.
> 
> In reality, what appears to be happening is the code is reading one
> value (0x00810000) from the CPM CPCR (0xff7919c0) and if I dump that
> location using visionCLICK I see a different value (0x00800000).  The
> difference being the code sees the busy FLG and dumping the location
> has it clear; indicating it is no longer busy.
> 
> This feels a lot like a caching issue, but from everything I can see,
> the TLB is set up with the cache inhibited, so everything should be
> read/written through to memory.

Another possibility is that the register is missing the "volatile" 
qualifier and thus the compiler is not re-reading the register every 
time around the loop.  If this is a possiblility, disassemble the 
routine and see what the compiler actually produced.

> I have been trying for about the past two weeks to sort this out and
> get U-Boot up.  I'm not worried about the Linux kernel right now :-)
> 
> - Mark

Good luck,
gvb

Due to idiotic lawyer wanabes, in one second this email will self-destr%^*-.

  reply	other threads:[~2007-05-04  1:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 14:06 [U-Boot-Users] Wind River SBC8560 saga continues Mark Pilant
     [not found] ` <2acbd3e40705031026s2f240a39x6677bf28b66d45b@mail.gmail.com>
2007-05-03 17:57   ` Mark Pilant
2007-05-04  1:26     ` Jerry Van Baren [this message]
2007-05-04 13:17       ` Mark Pilant
2007-05-04 14:04         ` Jerry Van Baren
2007-05-04 14:36           ` Mark Pilant
2007-05-04 15:01             ` Jerry Van Baren
2007-05-04 15:18               ` Mark Pilant
2007-05-04 21:27         ` Andy Fleming
2007-05-07 13:11           ` Mark Pilant

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=463A8BB6.2040502@gmail.com \
    --to=gvb.uboot@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.