From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Giovagnini Date: Tue, 1 Feb 2011 17:24:03 +0100 (CET) Subject: [U-Boot] !!! Trouble with u-boot and leon3 !!!! In-Reply-To: <32F0C181-3258-4250-A72C-BEADEDFBFFAE@kernel.crashing.org> References: <1296536050-29861-1-git-send-email-galak@kernel.crashing.org> <1296538110-30260-1-git-send-email-galak@kernel.crashing.org> <32F0C181-3258-4250-A72C-BEADEDFBFFAE@kernel.crashing.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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?