From: Tony Lindgren <tony@atomide.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: linux-omap@vger.kernel.org
Subject: Re: 4430SDP boot failure
Date: Thu, 6 Jan 2011 12:40:54 -0800 [thread overview]
Message-ID: <20110106204053.GA7771@atomide.com> (raw)
In-Reply-To: <20110106203238.GH1198@n2100.arm.linux.org.uk>
* Russell King - ARM Linux <linux@arm.linux.org.uk> [110106 12:32]:
> On Thu, Jan 06, 2011 at 10:20:23AM -0800, Tony Lindgren wrote:
> > * Russell King - ARM Linux <linux@arm.linux.org.uk> [110106 10:00]:
> > > can't be in the BSS section?
> >
> > BSS works too, got a patch for that?
>
> Yes.
>
> sed -i '/\.pushsection \.data/,/\.popsection/ {
> s/\.data/.bss/;
> s/.word\t0/.space\t4/;
> }' arch/arm/mach-omap2/include/mach/debug-macro.S
That does not work as BSS gets cleared in head-common.S.. See my other patch.
> > Can you please check if you have some older bootloader that passes
> > some wrong machine ID?
>
> If previous kernels didn't explicitly force the SDP4430 platform ID
> number (which they didn't for OMAP back to 2007), then it must be
> correct as previous kernels booted fine when only configured for
> the SDP4430.
>
> It must also be correct as the decompressor can select the correct port
> for outputting the "Decompressing kernel..." message.
>
> So by implication I think we can say that the ID number is correct.
OK thanks.
> I've just tried forcing it to use OMAP4 UART3, which seems to be what
> the decompressor is using for its output:
>
> 0000090c <puts>:
> 90c: e3a03802 mov r3, #131072 ; 0x20000
> 910: e38314fa orr r1, r3, #-100663296 ; 0xfa000000
> 914: e3833312 orr r3, r3, #1207959552 ; 0x48000000
> 918: e4d02001 ldrb r2, [r0], #1
> 91c: e3320000 teq r2, #0 ; 0x0
> 920: 01a0f00e moveq pc, lr
> 924: e5c32000 strb r2, [r3]
> 928: e3a01802 mov r1, #131072 ; 0x20000
> 92c: e2511001 subs r1, r1, #1 ; 0x1
> 930: 1afffffd bne 92c <puts+0x20>
> 934: e332000a teq r2, #10 ; 0xa
> 938: 03a0200d moveq r2, #13 ; 0xd
> 93c: 0afffff8 beq 924 <puts+0x18>
> 940: e3300000 teq r0, #0 ; 0x0
> 944: 1afffff3 bne 918 <puts+0xc>
> 948: e1a0f00e mov pc, lr
>
> 0x48020000 is the only UART address contained within the disassembly for
> the decompressor to use, so that must be the correct address.
>
> However, even with that, it causes the 'X-Loader hangs' before producing
> any output. No idea what to try next - and it's soo much hastle to keep
> moving SD cards around - which the laptop sometimes doesn't recognise -
> just to try new kernels that I'm wasting quite a bit of effort on each
> iteration it's untrue.
>
> As I said previously, I think someone else can look into this - someone
> who understands the hardware quirks of OMAP, who has a decent test setup,
> and has the tools necessary to do hardware debug on OMAP.
I think I got it fixed, see the other patch I just posted.
> (If it could do dhcp/tftp - and be configured to do that from powerup
> without interruption, then I might feel differently as that would
> significantly reduce the hastle factor and amount of time involved with
> testing each iteration.)
Yes these new boards badly need the Ethernet working in u-boot..
Anyways, I can debug the DEBUG_LL booting issue further if the patch
I posted does not help.
Regards,
Tony
next prev parent reply other threads:[~2011-01-06 20:41 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 17:08 4430SDP boot failure Russell King - ARM Linux
2011-01-06 17:25 ` Nishanth Menon
2011-01-06 18:00 ` Russell King - ARM Linux
2011-01-06 18:17 ` Russell King - ARM Linux
2011-01-06 18:25 ` Tony Lindgren
2011-01-06 18:20 ` Tony Lindgren
2011-01-06 19:52 ` Tony Lindgren
2011-01-06 20:34 ` Tony Lindgren
2011-01-06 20:51 ` Russell King - ARM Linux
2011-01-06 21:11 ` Russell King - ARM Linux
2011-01-06 23:52 ` Russell King - ARM Linux
2011-01-07 4:11 ` Tony Lindgren
2011-01-07 8:39 ` Santosh Shilimkar
2011-01-07 9:28 ` Russell King - ARM Linux
2011-01-07 9:52 ` Santosh Shilimkar
2011-01-07 12:18 ` Santosh Shilimkar
2011-01-07 12:24 ` Santosh Shilimkar
2011-01-07 12:51 ` Russell King - ARM Linux
2011-01-07 13:07 ` Koen Kooi
2011-01-07 13:58 ` Russell King - ARM Linux
2011-01-07 13:09 ` Santosh Shilimkar
2011-01-07 14:24 ` Russell King - ARM Linux
2011-01-07 14:26 ` Santosh Shilimkar
2011-01-07 15:49 ` 4430SDP boot failure - solved + SPI bug fix Russell King - ARM Linux
2011-01-07 17:10 ` Tony Lindgren
2011-01-07 17:19 ` Grant Likely
2011-01-07 17:25 ` Tony Lindgren
2011-01-07 20:24 ` Russell King - ARM Linux
2011-01-07 18:25 ` Santosh Shilimkar
2011-01-07 18:52 ` Russell King - ARM Linux
2011-01-07 19:05 ` Santosh Shilimkar
2011-01-07 19:19 ` Russell King - ARM Linux
2011-01-07 19:28 ` Santosh Shilimkar
2011-01-07 20:24 ` Russell King - ARM Linux
2011-01-07 16:24 ` 4430SDP boot failure Russell King - ARM Linux
2011-01-07 17:02 ` Daniel Díaz
2011-01-07 18:29 ` Santosh Shilimkar
2011-01-07 18:55 ` Russell King - ARM Linux
2011-01-06 20:32 ` Russell King - ARM Linux
2011-01-06 20:40 ` Tony Lindgren [this message]
2011-01-07 16:12 ` Russell King - ARM Linux
2011-01-10 18:52 ` Tony Lindgren
2011-01-11 23:16 ` [PATCH] omap4: Fix ULPI PHY init for ES1.0 SDP (Re: 4430SDP boot failure) Tony Lindgren
2011-01-11 23:16 ` Tony Lindgren
2011-01-13 8:52 ` Anand Gadiyar
2011-01-13 8:52 ` Anand Gadiyar
2011-01-13 9:15 ` Russell King - ARM Linux
2011-01-13 9:15 ` Russell King - ARM Linux
2011-01-13 15:51 ` Tony Lindgren
2011-01-13 15:51 ` Tony Lindgren
2011-01-13 16:49 ` Russell King - ARM Linux
2011-01-13 16:49 ` Russell King - ARM Linux
2011-01-14 17:29 ` Tony Lindgren
2011-01-14 17:29 ` Tony Lindgren
2011-01-14 19:18 ` Paul Walmsley
2011-01-14 19:18 ` Paul Walmsley
2011-01-14 21:20 ` Russell King - ARM Linux
2011-01-14 21:20 ` Russell King - ARM Linux
2011-01-14 22:07 ` Paul Walmsley
2011-01-14 22:07 ` Paul Walmsley
2011-01-14 23:10 ` Paul Walmsley
2011-01-14 23:10 ` Paul Walmsley
2011-01-14 23:58 ` Russell King - ARM Linux
2011-01-14 23:58 ` Russell King - ARM Linux
2011-01-15 0:12 ` Tony Lindgren
2011-01-15 0:12 ` Tony Lindgren
2011-01-15 0:25 ` Russell King - ARM Linux
2011-01-15 0:25 ` Russell King - ARM Linux
2011-01-15 0:37 ` Tony Lindgren
2011-01-15 0:37 ` Tony Lindgren
2011-01-15 17:04 ` Russell King - ARM Linux
2011-01-15 17:04 ` Russell King - ARM Linux
2011-01-17 8:35 ` Sascha Hauer
2011-01-17 8:35 ` Sascha Hauer
2011-02-01 12:55 ` Anand Gadiyar
2011-02-01 12:55 ` Anand Gadiyar
2011-02-02 1:10 ` Tony Lindgren
2011-02-02 1:10 ` Tony Lindgren
2011-02-02 6:05 ` Santosh Shilimkar
2011-02-02 6:05 ` Santosh Shilimkar
2011-02-02 19:48 ` Tony Lindgren
2011-02-02 19:48 ` Tony Lindgren
2011-02-03 8:43 ` Santosh Shilimkar
2011-02-03 8:43 ` Santosh Shilimkar
2011-02-12 8:46 ` Santosh Shilimkar
2011-02-12 8:46 ` Santosh Shilimkar
2011-02-24 17:38 ` Tony Lindgren
2011-02-24 17:38 ` Tony Lindgren
2011-02-25 5:33 ` Santosh Shilimkar
2011-02-25 5:33 ` Santosh Shilimkar
2011-02-25 17:49 ` Tony Lindgren
2011-02-25 17:49 ` Tony Lindgren
2011-02-02 18:43 ` Anand Gadiyar
2011-02-02 18:43 ` Anand Gadiyar
2011-02-02 19:50 ` Tony Lindgren
2011-02-02 19:50 ` Tony Lindgren
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=20110106204053.GA7771@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
/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.