All of lore.kernel.org
 help / color / mirror / Atom feed
From: Reto Stalder <rstalder@gmx.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-Boot 1.3.2 crashes after interrupt_init() on PPC405EP board
Date: Mon, 24 Mar 2008 18:36:24 +0100	[thread overview]
Message-ID: <47E7E698.4010702@gmx.ch> (raw)

Hi

I'm setting up U-Boot 1.3.2 on a PowerPC 405EP based prototype board.
The execution stops shortly after returning from 'interrupt_init()' on
line 998 in 'lib_ppc/board.c'. When I comment out this function call or
line 104 in 'ppc_lib/interrupts.c' (set_msr(get_msr() | MSR_EE) I get
the U-Boot prompt.
All interrupt sources are disabled in 'board_early_init_f' and should
therefore not make problems (I hope at least, that I did it correctly):

        mtdcr(uicsr, 0xFFFFFFFF);       /* clear all ints */
        mtdcr(uicer, 0x00000000);       /* disable all ints */
        mtdcr(uiccr, 0x00000000);
        mtdcr(uicpr, 0xF7FF7F00);       /* set int polarities */
        mtdcr(uictr, 0x00000000);       /* set int trigger levels */
        mtdcr(uicsr, 0xFFFFFFFF);       /* clear all ints */
        mtdcr(uicvcr, 0x00000001);

So my assumption is that the board crashes on the first occurance of the
PIT interrupt, but I am not sure.

Has anybody seen something similar and could give me a hint?

Thank you in advance,
Reto

                 reply	other threads:[~2008-03-24 17:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=47E7E698.4010702@gmx.ch \
    --to=rstalder@gmx.ch \
    --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.