From: Michael Welling <mwelling@ieee.org>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>,
Tony Lindgren <tony@atomide.com>, Pavel Machek <pavel@ucw.cz>,
Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>,
Aaro Koskinen <aaro.koskinen@iki.fi>, Nishanth Menon <nm@ti.com>,
linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: linux 4.2-rc1 broken Nokia N900
Date: Mon, 13 Jul 2015 16:52:32 -0500 [thread overview]
Message-ID: <20150713215232.GA22584@deathray> (raw)
In-Reply-To: <201507132234.22082@pali>
On Mon, Jul 13, 2015 at 10:34:21PM +0200, Pali Rohár wrote:
> On Monday 13 July 2015 22:28:35 Michael Welling wrote:
> > On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote:
> > > Hello, here is my objdump of 4.2-rc2 version:
> > >
> > > 00000064 <omap2_mcspi_set_cs>:
> > > 64: e3003182 movw r3, #386 ; 0x182
> > > 68: e19030b3 ldrh r3, [r0, r3]
> > > 6c: e3130004 tst r3, #4
> > > 70: 0a000001 beq 7c
> > > <omap2_mcspi_set_cs+0x18> 74: e2711001 rsbs
> > > r1, r1, #1
> > > 78: 33a01000 movcc r1, #0
> > > 7c: e5902188 ldr r2, [r0, #392] ; 0x188
> > > 80: e3520000 cmp r2, #0
> > > 84: 012fff1e bxeq lr
> > > 88: e5923018 ldr r3, [r2, #24]
> > > 8c: e3510000 cmp r1, #0
> > > 90: 13c33601 bicne r3, r3, #1048576 ;
> > > 0x100000 94: 03833601 orreq r3, r3, #1048576
> > > ; 0x100000 98: e5823018 str r3, [r2,
> > > #24]
> > > 9c: e5902188 ldr r2, [r0, #392] ; 0x188
> > > a0: e5922000 ldr r2, [r2]
> > > a4: e582302c str r3, [r2, #44] ; 0x2c
> > > a8: e592302c ldr r3, [r2, #44] ; 0x2c
> > > ac: e12fff1e bx lr
> >
> > I have not been able to duplicate the failure on the hardware that I
> > have. I dug out my old Beagleboard and added an SPI registration to
> > the dts. This was the closest hardware that I had to the N900's
> > processor.
> >
> > What is the version of the gcc compiler you are using and where did
> > you get it from?
> >
>
> I'm using gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) from package
> gcc-4.6-arm-linux-gnueabi which is available on Ubuntu 12.04 LTS
> (version 4.6.3-1ubuntu5cross1.62).
I downloaded and compiled with this compiler and it still does not effect
the functionality of the targets that I have.
What flags (if any) are you passing to the compiler?
Here is my objdump with gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5):
00000074 <omap2_mcspi_set_cs>:
74: e59f304c ldr r3, [pc, #76] ; c8 <omap2_mcspi_set_cs+0x54>
78: e19030b3 ldrh r3, [r0, r3]
7c: e3130004 tst r3, #4
80: 0a000001 beq 8c <omap2_mcspi_set_cs+0x18>
84: e2711001 rsbs r1, r1, #1
88: 33a01000 movcc r1, #0
8c: e5903258 ldr r3, [r0, #600] ; 0x258
90: e3530000 cmp r3, #0
94: 012fff1e bxeq lr
98: e5932018 ldr r2, [r3, #24]
9c: e3510000 cmp r1, #0
a0: 13c22601 bicne r2, r2, #1048576 ; 0x100000
a4: 03822601 orreq r2, r2, #1048576 ; 0x100000
a8: e5832018 str r2, [r3, #24]
ac: e5903258 ldr r3, [r0, #600] ; 0x258
b0: e5933000 ldr r3, [r3]
b4: e583202c str r2, [r3, #44] ; 0x2c
b8: e5903258 ldr r3, [r0, #600] ; 0x258
bc: e5933000 ldr r3, [r3]
c0: e593202c ldr r2, [r3, #44] ; 0x2c
c4: e12fff1e bx lr
c8: 00000252 .word 0x00000252
>
> > For instance, I am using a 4.9.1 compiler that I built using Yocto.
> >
> > Also are you using devicetree or the old board file board-rx51.c?
>
> I'm using devicetree.
>
> --
> Pali Rohár
> pali.rohar@gmail.com
next prev parent reply other threads:[~2015-07-13 21:52 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-11 12:05 linux 4.2-rc1 broken Nokia N900 Pali Rohár
2015-07-13 6:44 ` Tony Lindgren
2015-07-13 8:09 ` Sebastian Reichel
2015-07-13 17:03 ` Michael Welling
2015-07-13 17:09 ` Pali Rohár
2015-07-13 17:56 ` Michael Welling
2015-07-13 20:28 ` Michael Welling
2015-07-13 20:34 ` Pali Rohár
2015-07-13 21:52 ` Michael Welling [this message]
2015-07-13 22:02 ` Pali Rohár
2015-07-13 22:36 ` Michael Welling
2015-07-14 7:14 ` Pali Rohár
2015-07-14 7:45 ` Tony Lindgren
2015-07-14 16:33 ` Michael Welling
2015-07-14 20:01 ` Pavel Machek
2015-07-14 20:17 ` Michael Welling
2015-07-15 19:49 ` Pavel Machek
2015-07-15 20:10 ` Michael Welling
2015-07-21 7:31 ` Pavel Machek
2015-07-21 7:33 ` Pavel Machek
2015-07-21 8:04 ` Pali Rohár
2015-07-20 20:48 ` Michael Welling
2015-07-20 20:46 ` Michael Welling
2015-07-20 20:58 ` Pali Rohár
2015-07-21 9:34 ` Pavel Machek
2015-07-21 21:28 ` Michael Welling
2015-07-22 0:17 ` Michael Welling
2015-07-22 2:03 ` Sebastian Reichel
2015-07-22 5:13 ` Michael Welling
2015-07-22 7:27 ` Pali Rohár
2015-07-22 13:33 ` Sebastian Reichel
2015-07-22 14:27 ` Pali Rohár
2015-07-22 13:30 ` Pavel Machek
2015-07-25 8:55 ` Pali Rohár
2015-07-28 8:39 ` Pali Rohár
2015-07-28 12:26 ` Sebastian Reichel
2015-07-28 12:32 ` Pali Rohár
2015-07-13 11:10 ` Pali Rohár
2015-07-13 13:26 ` Tony Lindgren
2015-07-13 15:51 ` Sebastian Reichel
2015-07-13 16:05 ` Pali Rohár
2015-07-13 19:32 ` Sebastian Reichel
2015-07-14 0:18 ` Krzysztof Kozlowski
2015-07-24 8:18 ` Dave Young
2015-07-24 8:30 ` Ivaylo Dimitrov
2015-07-24 10:28 ` Dave Young
2015-07-24 10:53 ` Pali Rohár
2015-07-24 8:40 ` Pali Rohár
2015-07-24 10:33 ` Dave Young
2015-07-24 10:52 ` Pali Rohár
2015-07-24 15:50 ` Pali Rohár
2015-07-24 8:51 ` Pavel Machek
2015-07-24 10:39 ` Dave Young
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=20150713215232.GA22584@deathray \
--to=mwelling@ieee.org \
--cc=aaro.koskinen@iki.fi \
--cc=ivo.g.dimitrov.75@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=pali.rohar@gmail.com \
--cc=pavel@ucw.cz \
--cc=sre@kernel.org \
--cc=tony@atomide.com \
/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;
as well as URLs for NNTP newsgroup(s).