linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Alan Mimms <alan@packetengines.com>
To: Clinton Lam <clinton@AudeSi.com>,
	"Linuxppc-Embedded (E-mail)"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: mpc8xx-2.2.13 booting problem
Date: Thu, 3 Feb 2000 10:02:47 -0800	[thread overview]
Message-ID: <0002031004170F.00733@alan.corp.packetengines.com> (raw)
In-Reply-To: <2044A9F15B38D211A89900104BD36C02381B4B@thebank.audesi.com>


Clinton,

This function enables interrupts.  Some bit of hardware is leaving an
interrupt asserted permanently, or else your port or your driver for some bit
of hardware is not turning off the interrupt request by servicing the interrupt
properly.  Or, possibly, your 8xx interrupt management is screwed up.

One of those explanations is it, just about guaranteed...

Luck.
a

On Thu, 03 Feb 2000, Clinton Lam wrote:
> Hi,
>
> I am new to the embeded linux. I am trying to port mpc8xx-2.2.13 kernel to
> our custom board, called Touchstone. It is a reference design based on
> mpc823, which has 32 Mbyte of SDRAM, and 4 Mbyte of flash.
>
> So far, I've developed a network bootloader, which downloads the zImage to
> the target. I am at the stage where I can unzip the kernel image to address
> location 0x0, and jump to it. Then, inside the routine "start_kernel", I am
> able to get the console up and have the linux banner partially displayed at
> the cosole.
>
> However, after some more kernel initialization in "start_kernel", the
> program stuck in a routine called "sti()". I've debugged through this
> routine (it is an assembly routine) , and it seems that it is looping
> forever inside the routine. I know that the routine is trying to set the EE
> bit in MSR, and also doing some thing with ppc_n_lost_interrupts, which I
> don't quite understand.
>
> Does anyone have any idea what is wrong with my port? Can someone explain to
> me what is the purpose of this "sti()" routine, what are the possible cause
> for it to hang?
>
> Your response is greately appreciated!
>
> Thanks in advance.
>
> Clinton Lam
--
Alan Mimms     Packet Engines, Inc.     Spokane, Washington [99214-0497]
  USA, Earth, Sol, Milky Way, The Local Group, Virgo Supercluster, U0
Despite the cost of living, have you noticed how popular it remains?
  -- Steven Wright?

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

  reply	other threads:[~2000-02-03 18:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-03 17:12 mpc8xx-2.2.13 booting problem Clinton Lam
2000-02-03 18:02 ` Alan Mimms [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-02-04  1:25 Clinton Lam
2000-02-04  1:47 ` Alan Mimms
2000-02-04 15:45   ` Richard Hendricks

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=0002031004170F.00733@alan.corp.packetengines.com \
    --to=alan@packetengines.com \
    --cc=clinton@AudeSi.com \
    --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).