linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Robin O'Leary" <ppc@ro.nu>
To: linuxppc-embedded@lists.linuxppc.org
Subject: 860T cold boot
Date: Mon, 29 Nov 1999 23:46:54 +0000	[thread overview]
Message-ID: <19991129234653.A1270@mail.ro.nu> (raw)


I have been following the linuxppc-embedded discussions for some
time while pottering with an i-Mac and the Bright Star ipEngine, in
preparation for our new 860T-based hardware to be designed and built.
It had been so easy to use both these systems, I was unprepared for the
ordeal involved in getting the 860T hardware going without the assistance
of a boot-loader.

Using the (rather unreliable) SDS SingleStep development kit and BDM
cable, I can address all the CPU memory-mapped registers, set up the SIU,
load zImages into RAM or flash and make them run.  I can write simple
programs that waggle I/O ports and generally test that the hardware is
present and correct.  But when I try to run a zImage it all goes wrong.
The debugger doesn't seem able to insert working breakpoints after the
first ``rfi'' so I can't tell exactly what's the matter, but inevitably
it crashes with some sort of exception, usually with PC=0x1100 (TLB miss
exception) where there is no code.  I've tried booting from RAM and flash,
with code, RAM and registers at various addresses, with various kernels.
I'm sure that the basics are correct and as nobody else seems to be
talking about problems with this low-level stuff, either you're all
using proprietary boot loaders or I'm missing something obvious (or it's
a hardware problem:-).

I currently set up 25 registers plus the UPM table with values derived
initially from Motorola's hopeless mcuinit tool, later much tinkered with
by reference to the 860UM/AD manual.  I'm sure that's all I should need to
get it going.  Am I right?  If anybody has a working set of initialisation
instructions that they could share, or even just a register dump of how
their boot-loader leaves things set, I should be most grateful.

Robin O'Leary.
-- 
email: roleary@equiinet.com  Equiinet Ltd., Innovation Centre, Singleton Park,
Tel.:  +44 1792 540008       Swansea  SA2 8PP, Wales, U.K.  51.6101N 3.9831W

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~1999-11-29 23:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-29 23:46 Robin O'Leary [this message]
1999-11-30  0:24 ` 860T cold boot Dan Malek

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=19991129234653.A1270@mail.ro.nu \
    --to=ppc@ro.nu \
    --cc=linuxppc-embedded@lists.linuxppc.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).