All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Giovagnini <fabio.giovagnini@aurion-tech.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] !!! Trouble with u-boot and leon3 !!!!
Date: Tue, 1 Feb 2011 17:24:03 +0100 (CET)	[thread overview]
Message-ID: <f789de86e01470c25f4007848ab73460.squirrel@aurion-tech.com> (raw)
In-Reply-To: <32F0C181-3258-4250-A72C-BEADEDFBFFAE@kernel.crashing.org>

Hi All,
We have built u-boot (from git as suggested by U-Boot SPARC / LEON Port v
1.0.0 April 2009.
The building is successfull.
I configured for execution in ram (CONFIG_SYS_TEXT_BASE = 0x40000000) and
the system runs.
But nothing I see on the serial console connected to minicom.
When I do Crtl+C the system stop at an address inside such function:
arch/sparc/cpu/leon3/cpu_init.c - void cpu_init_f(void)
I found that it fails:
/* Find AMBA APB IRQMP Controller */
if (ambapp_apb_first(VENDOR_GAISLER, GAISLER_IRQMP, &apbdev) != 1) {
	/* no IRQ controller, something is wrong
	 * ==> jump to start (or hang)
	 */
	while (1) ;
}

so the while (1) occurs.

I discovered that:
ambapp_apb_first(VENDOR_GAISLER, GAISLER_IRQMP, &apbdev)

Any suggetions?

  reply	other threads:[~2011-02-01 16:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01  4:54 [U-Boot] [PATCH 1/2] powerpc/8xxx: Replace fsl_ddr_get_mem_data_rate with get_ddr_freq() Kumar Gala
2011-02-01  4:54 ` [U-Boot] [PATCH 2/2] powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board Kumar Gala
2011-02-01  5:28 ` [U-Boot] [PATCH 2/2 v2] " Kumar Gala
2011-02-01 10:08   ` Timur Tabi
2011-02-01 14:06     ` Kumar Gala
2011-02-01 16:24       ` Fabio Giovagnini [this message]
2011-02-04 20:44     ` [U-Boot] [PATCH 2/2 v3] " Kumar Gala
2011-02-10  5:21       ` Kumar Gala
2011-02-10  5:21 ` [U-Boot] [PATCH 1/2] powerpc/8xxx: Replace fsl_ddr_get_mem_data_rate with get_ddr_freq() Kumar Gala

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=f789de86e01470c25f4007848ab73460.squirrel@aurion-tech.com \
    --to=fabio.giovagnini@aurion-tech.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.