Re: Common config for N900 and D4
Hi! > > > > [0.00] L2C-310 erratum 727915 enabled > > > > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > > > > [0.00] 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
Re: Common config for N900 and D4
Hi! > > > > [0.00] L2C-310 erratum 727915 enabled > > > > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > > > > [0.00] 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
Re: Common config for N900 and D4
* Pavel Machek [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.00] L2C-310 erratum 727915 enabled > > > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > > > [0.00] 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
Re: Common config for N900 and D4
* Pavel Machek [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.00] L2C-310 erratum 727915 enabled > > > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > > > [0.00] 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
Re: Common config for N900 and D4
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.00] L2C-310 erratum 727915 enabled > > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > > [0.00] 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 signature.asc Description: Digital signature
Re: Common config for N900 and D4
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.00] L2C-310 erratum 727915 enabled > > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > > [0.00] 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 signature.asc Description: Digital signature
Re: Common config for N900 and D4
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.00] L2C-310 erratum 727915 enabled > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > [0.00] 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.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq0_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq1_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq2_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq3_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq4_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq5_ck! [0.00] clocksource: 32k_counter: mask: 0x max_cycles: 0xfffs [0.00] 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] [] *pgd= [3.122650] Internal error: Oops: 8005 [#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 : [<>]lr : []psr: 2193 [3.155303] sp : c0d01f70 ip : 0002 fp : [3.155303] r10: 0001 r9 : c0d0 r8 : ef7d2a00 [3.172424] r7 : c0d01fa4 r6 : r5 : 2013 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: 0051 [3.199096] Process swapper/0 (pid: 0, stack limit = 0x(ptrval)) [3.205261] Stack: (0xc0d01f70 to 0xc0d02000) [3.205261] 1f60: 0 [3.205261] 1f80: c0d50040 c0c358d4 ef7d2a00 411fc093 0 Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html signature.asc Description: Digital signature
Re: Common config for N900 and D4
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.00] L2C-310 erratum 727915 enabled > [0.00] L2C-310 enabling early BRESP for Cortex-A9 > [0.00] 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.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq0_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq1_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq2_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq3_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq4_ck! [0.00] ti_clk_get_reg_addr: clk-provider not found for auxclkreq5_ck! [0.00] clocksource: 32k_counter: mask: 0x max_cycles: 0xfffs [0.00] 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] [] *pgd= [3.122650] Internal error: Oops: 8005 [#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 : [<>]lr : []psr: 2193 [3.155303] sp : c0d01f70 ip : 0002 fp : [3.155303] r10: 0001 r9 : c0d0 r8 : ef7d2a00 [3.172424] r7 : c0d01fa4 r6 : r5 : 2013 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: 0051 [3.199096] Process swapper/0 (pid: 0, stack limit = 0x(ptrval)) [3.205261] Stack: (0xc0d01f70 to 0xc0d02000) [3.205261] 1f60: 0 [3.205261] 1f80: c0d50040 c0c358d4 ef7d2a00 411fc093 0 Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html signature.asc Description: Digital signature
Common config for N900 and D4
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.00] L2C-310 erratum 727915 enabled [0.00] L2C-310 enabling early BRESP for Cortex-A9 [0.00] L2C-310 full line of zeros enabled for Cortex-A9 [0.00] Unhandled fault: imprecise external abort (0xc06) at 0x01f9d31c [0.00] pgd = (ptrval) [0.00] [01f9d31c] *pgd= [0.00] Internal error: : c06 [#1] ARM [0.00] Modules linked in: [0.00] CPU: 0 PID: 0 Comm: swapper Tainted: GW 4.17.0-rc7-75534-g9416de8-\ dirty #692 [0.00] Hardware name: Generic DT based system [0.00] PC is at l2c310_configure+0x38/0x160 [0.00] LR is at l2c310_configure+0x10/0x160 [0.00] pc : []lr : []psr: 6093 [0.00] sp : c0d01ec0 ip : 0001 fp : [0.00] r10: c0c0674c r9 : r8 : [0.00] r7 : 0008 r6 : c0b4a030 r5 : c0d50f4c r4 : f080 [0.00] r3 : r2 : r1 : 0008 r0 : [0.00] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [0.00] Control: 10c5387d Table: 80004059 DAC: 0051 [0.00] Process swapper (pid: 0, stack limit = 0x(ptrval)) [0.00] Stack: (0xc0d01ec0 to 0xc0d02000) [0.00] 1ec0: f080 c0d50f4c c0b4a030 c0115f54 c0d50f4c f080 5e470001 0004 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 signature.asc Description: Digital signature
Common config for N900 and D4
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.00] L2C-310 erratum 727915 enabled [0.00] L2C-310 enabling early BRESP for Cortex-A9 [0.00] L2C-310 full line of zeros enabled for Cortex-A9 [0.00] Unhandled fault: imprecise external abort (0xc06) at 0x01f9d31c [0.00] pgd = (ptrval) [0.00] [01f9d31c] *pgd= [0.00] Internal error: : c06 [#1] ARM [0.00] Modules linked in: [0.00] CPU: 0 PID: 0 Comm: swapper Tainted: GW 4.17.0-rc7-75534-g9416de8-\ dirty #692 [0.00] Hardware name: Generic DT based system [0.00] PC is at l2c310_configure+0x38/0x160 [0.00] LR is at l2c310_configure+0x10/0x160 [0.00] pc : []lr : []psr: 6093 [0.00] sp : c0d01ec0 ip : 0001 fp : [0.00] r10: c0c0674c r9 : r8 : [0.00] r7 : 0008 r6 : c0b4a030 r5 : c0d50f4c r4 : f080 [0.00] r3 : r2 : r1 : 0008 r0 : [0.00] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [0.00] Control: 10c5387d Table: 80004059 DAC: 0051 [0.00] Process swapper (pid: 0, stack limit = 0x(ptrval)) [0.00] Stack: (0xc0d01ec0 to 0xc0d02000) [0.00] 1ec0: f080 c0d50f4c c0b4a030 c0115f54 c0d50f4c f080 5e470001 0004 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 signature.asc Description: Digital signature