From: "Luca Ceresoli" <luca@lucaceresoli.net>
To: s.hauer@pengutronix.de
Cc: barebox@lists.infradead.org
Subject: Re: Regression: not booting anymore on OMAP35xx
Date: Tue, 22 Jun 2010 16:04:52 +0200 [thread overview]
Message-ID: <L4F5S4$2423D397FA7BDC615C5A7C3556F0B4F1@aruba.it> (raw)
Sascha Hauer wrote:
> Hi Luca,
>
> On Tue, Jun 22, 2010 at 02:26:11PM +0200, Luca Ceresoli wrote:
> > Hi,
> >
> > recent versions of barebox do not boot anymore on OMAP3530 (Cortex-A8).
> >
> > I build barebox with omap3530_beagle_per_uart_defconfig, and load it
> > using pserial from Nishanth Menon's omap-u-boot-utils
> > (http://github.com/nmenon/omap-u-boot-utils).
> >
> > Symptoms:
> > pserial detects the OMAP ID, then starts sending via UART.
> > The transfer apparently gets completed (obvious as there is no control),
> > but after that the UART line to the target is totally mute.
> >
> > This happens since commit:
> > 78104ae arm: reimplement startup code in C
> >
> > And is still happening on current master:
> > ea5230c i2c: fix adapter_list manipulation
>
> Seems that I lost the call to arch_init_lowlevel. Does the following
> patch help?
I'm afraid it doesn't seem to.
It fails with the same symptoms.
Luca
>
>
> diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
> index eea7dcf..91d2ccd 100644
> --- a/arch/arm/cpu/start.c
> +++ b/arch/arm/cpu/start.c
> @@ -50,6 +50,8 @@ void __naked __bare_init reset(void)
> {
> uint32_t r;
>
> + arch_init_lowlevel();
> +
> /* set the cpu to SVC32 mode */
> __asm__ __volatile__("mrs %0, cpsr":"=r"(r));
> r &= ~0x1f;
> diff --git a/arch/arm/mach-omap/omap3_core.S b/arch/arm/mach-omap/omap3_core.S
> index 7337d4c..d904231 100644
> --- a/arch/arm/mach-omap/omap3_core.S
> +++ b/arch/arm/mach-omap/omap3_core.S
> @@ -92,7 +92,7 @@ next:
> arch_start:
> .word arch_init_lowlevel
> barebox_start:
> - .word _start
> + .word exception_vectors
> SRAM_INTVECT:
> .word OMAP_SRAM_INTVECT
>
> --
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2010-06-22 14:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-22 14:04 Luca Ceresoli [this message]
2010-06-23 6:42 ` Sascha Hauer
-- strict thread matches above, loose matches on Subject: below --
2010-06-24 12:32 Luca Ceresoli
2010-06-24 15:41 ` Sascha Hauer
2010-06-22 12:26 Luca Ceresoli
2010-06-22 13:11 ` Sascha Hauer
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='L4F5S4$2423D397FA7BDC615C5A7C3556F0B4F1@aruba.it' \
--to=luca@lucaceresoli.net \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox