* Common config for N900 and D4
@ 2018-06-03 10:48 Pavel Machek
2018-06-03 16:53 ` Pavel Machek
0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2018-06-03 10:48 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
Aaro, I know I have asked before, but if you have common config for
N900 and Droid4, please send me a copy. Yes, it should be somewhere in
my inbox already, but I can't find it and version for v4.17 would be
more useful.
While trying to came up with common config, I hit:
[ 0.000000] L2C-310 erratum 727915 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] Unhandled fault: imprecise external abort (0xc06) at
0x01f9d31c
[ 0.000000] pgd = (ptrval)
[ 0.000000] [01f9d31c] *pgd=00000000
[ 0.000000] Internal error: : c06 [#1] ARM
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W
4.17.0-rc7-75534-g9416de8-\
dirty #692
[ 0.000000] Hardware name: Generic DT based system
[ 0.000000] PC is at l2c310_configure+0x38/0x160
[ 0.000000] LR is at l2c310_configure+0x10/0x160
[ 0.000000] pc : [<c0116168>] lr : [<c0116140>] psr: 60000093
[ 0.000000] sp : c0d01ec0 ip : 00000001 fp : 00000000
[ 0.000000] r10: c0c0674c r9 : 00000000 r8 : 00000000
[ 0.000000] r7 : 00000008 r6 : c0b4a030 r5 : c0d50f4c r4 :
f0800000
[ 0.000000] r3 : 00000000 r2 : 00000000 r1 : 00000008 r0 :
00000000
[ 0.000000] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM
Segment none
[ 0.000000] Control: 10c5387d Table: 80004059 DAC: 00000051
[ 0.000000] Process swapper (pid: 0, stack limit = 0x(ptrval))
[ 0.000000] Stack: (0xc0d01ec0 to 0xc0d02000)
[ 0.000000] 1ec0: f0800000 c0d50f4c c0b4a030 c0115f54 c0d50f4c
f0800000 5e470001 00000004
Which sounds like kernel bug. I was running Droid 4 in !CONFIG_SMP
configuration by mistake, maybe that has something to do with it. I'll
try to investigate more.
Best regards
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180603/6a317d67/attachment-0001.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Common config for N900 and D4
2018-06-03 10:48 Common config for N900 and D4 Pavel Machek
@ 2018-06-03 16:53 ` Pavel Machek
2018-06-03 21:01 ` Pavel Machek
0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2018-06-03 16:53 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
> Aaro, I know I have asked before, but if you have common config for
> N900 and Droid4, please send me a copy. Yes, it should be somewhere in
> my inbox already, but I can't find it and version for v4.17 would be
> more useful.
>
> While trying to came up with common config, I hit:
>
> [ 0.000000] L2C-310 erratum 727915 enabled
> [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
> [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
I tried disabling outer cache to get rid of this. That got me further
in boot, but not to working system:
[ 0.000000] ti_clk_get_reg_addr: clk-provider not found for
auxclkreq0_ck!
[ 0.000000] ti_clk_get_reg_addr: clk-provider not found for
auxclkreq1_ck!
[ 0.000000] ti_clk_get_reg_addr: clk-provider not found for
auxclkreq2_ck!
[ 0.000000] ti_clk_get_reg_addr: clk-provider not found for
auxclkreq3_ck!
[ 0.000000] ti_clk_get_reg_addr: clk-provider not found for
auxclkreq4_ck!
[ 0.000000] ti_clk_get_reg_addr: clk-provider not found for
auxclkreq5_ck!
[ 0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles:
0xfffffffs
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns,
wraps every 6s
[ 3.105895] OMAP clocksource: 32k_counter at 32768 Hz
[ 3.111541] Unable to handle kernel NULL pointer dereference at
virtual addr0
[ 3.111541] pgd = (ptrval)
[ 3.122650] [00000000] *pgd=00000000
[ 3.122650] Internal error: Oops: 80000005 [#1] SMP ARM
[ 3.131683] Modules linked in:
[ 3.134826] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
4.17.0-rc7-75535-g2a545
[ 3.143310] Hardware name: Generic DT based system
[ 3.143310] PC is at (null)
[ 3.143310] LR is at __irq_svc+0x6c/0x90
[ 3.143310] pc : [<00000000>] lr : [<c0101a2c>] psr: 20000193
[ 3.155303] sp : c0d01f70 ip : 00000002 fp : 00000000
[ 3.155303] r10: 00000001 r9 : c0d00000 r8 : ef7d2a00
[ 3.172424] r7 : c0d01fa4 r6 : ffffffff r5 : 20000013 r4 :
c0c00b78
[ 3.172424] r3 : c01d2db8 r2 : c0d01fc0 r1 : c0d0f678 r0 :
c0d01f70
[ 3.172424] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM
Segment noe
[ 3.193206] Control: 10c5387d Table: 8000404a DAC: 00000051
[ 3.199096] Process swapper/0 (pid: 0, stack limit = 0x(ptrval))
[ 3.205261] Stack: (0xc0d01f70 to 0xc0d02000)
[ 3.205261] 1f60: 00000000
00000000 00000
[ 3.205261] 1f80: 00000000 ffffffff c0d50040 c0c358d4 ef7d2a00
411fc093 00000
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180603/ce084638/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Common config for N900 and D4
2018-06-03 16:53 ` Pavel Machek
@ 2018-06-03 21:01 ` Pavel Machek
2018-06-05 4:26 ` Tony Lindgren
0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2018-06-03 21:01 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
> > Aaro, I know I have asked before, but if you have common config for
> > N900 and Droid4, please send me a copy. Yes, it should be somewhere in
> > my inbox already, but I can't find it and version for v4.17 would be
> > more useful.
> >
> > While trying to came up with common config, I hit:
> >
> > [ 0.000000] L2C-310 erratum 727915 enabled
> > [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
> > [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
>
> I tried disabling outer cache to get rid of this. That got me further
> in boot, but not to working system:
I now have config that works.
My kernels were probably grossly misconfigured (OMAP4 not enabled on
droid4)... still I'd expect some kind of panic explaining board is not
compatible with kernel, not a random oops...
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180603/1e47dae2/attachment-0001.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Common config for N900 and D4
2018-06-03 21:01 ` Pavel Machek
@ 2018-06-05 4:26 ` Tony Lindgren
2018-06-07 10:26 ` Pavel Machek
0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2018-06-05 4:26 UTC (permalink / raw)
To: linux-arm-kernel
* Pavel Machek <pavel@ucw.cz> [180603 21:03]:
> Hi!
>
> > > Aaro, I know I have asked before, but if you have common config for
> > > N900 and Droid4, please send me a copy. Yes, it should be somewhere in
> > > my inbox already, but I can't find it and version for v4.17 would be
> > > more useful.
> > >
> > > While trying to came up with common config, I hit:
> > >
> > > [ 0.000000] L2C-310 erratum 727915 enabled
> > > [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
> > > [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
> >
> > I tried disabling outer cache to get rid of this. That got me further
> > in boot, but not to working system:
>
> I now have config that works.
>
> My kernels were probably grossly misconfigured (OMAP4 not enabled on
> droid4)... still I'd expect some kind of panic explaining board is not
> compatible with kernel, not a random oops...
Like "clk-provider not found" error? :) I agree it's not very
descriptive and I think we could easily print something from
after the SoC detection for missing pdata.
Eventually we should just get rid of all ARMv7 Kconfig variants
once most of the hwmod SoC pdata is gone.
Regards,
Tony
^ permalink raw reply [flat|nested] 5+ messages in thread
* Common config for N900 and D4
2018-06-05 4:26 ` Tony Lindgren
@ 2018-06-07 10:26 ` Pavel Machek
0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2018-06-07 10:26 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
> > > > [ 0.000000] L2C-310 erratum 727915 enabled
> > > > [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
> > > > [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
> > >
> > > I tried disabling outer cache to get rid of this. That got me further
> > > in boot, but not to working system:
> >
> > I now have config that works.
> >
> > My kernels were probably grossly misconfigured (OMAP4 not enabled on
> > droid4)... still I'd expect some kind of panic explaining board is not
> > compatible with kernel, not a random oops...
>
> Like "clk-provider not found" error? :) I agree it's not very
> descriptive and I think we could easily print something from
> after the SoC detection for missing pdata.
If you had patch for testing, or pointer where such check would
belong, that would be nice. I might try to do something, but now it
boots so it is not too high priority for me.
Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-07 10:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-03 10:48 Common config for N900 and D4 Pavel Machek
2018-06-03 16:53 ` Pavel Machek
2018-06-03 21:01 ` Pavel Machek
2018-06-05 4:26 ` Tony Lindgren
2018-06-07 10:26 ` Pavel Machek
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).