linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* v5.10-rc3 vs. Droid 4
@ 2020-11-14 20:57 Pavel Machek
  2020-11-15  8:31 ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2020-11-14 20:57 UTC (permalink / raw)
  To: kernel list, linux-arm-kernel, linux-omap, tony, sre, nekit1000,
	mpartap, merlijn, martin_rysavy

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

Hi!

Does anyone have Droid 4 working with 5.10-rc3?

I tried it with the original config; I got message about culomb
counter calibration done scrolling (and boot progressing very slowly
or not at all) . So ... I disabled cpcap battery & charger
support. But init still drops me to emergency shell.

I may try some more, but if someone know what is going on, let me
know.

Best regards,

								Pavel
-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v5.10-rc3 vs. Droid 4
  2020-11-14 20:57 v5.10-rc3 vs. Droid 4 Pavel Machek
@ 2020-11-15  8:31 ` Tony Lindgren
  2020-11-15 17:49   ` Pavel Machek
  2020-11-15 18:47   ` Pavel Machek
  0 siblings, 2 replies; 5+ messages in thread
From: Tony Lindgren @ 2020-11-15  8:31 UTC (permalink / raw)
  To: Pavel Machek
  Cc: kernel list, linux-arm-kernel, linux-omap, sre, nekit1000,
	mpartap, merlijn, martin_rysavy

* Pavel Machek <pavel@ucw.cz> [201114 20:59]:
> Hi!
> 
> Does anyone have Droid 4 working with 5.10-rc3?
> 
> I tried it with the original config; I got message about culomb
> counter calibration done scrolling (and boot progressing very slowly
> or not at all) . So ... I disabled cpcap battery & charger
> support. But init still drops me to emergency shell.
> 
> I may try some more, but if someone know what is going on, let me
> know.

I ran into this too, sorry I thought I added you to Cc but looks like not.
See the fix here:

https://lore.kernel.org/lkml/20201111170613.46057-1-tony@atomide.com/

Regards,

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v5.10-rc3 vs. Droid 4
  2020-11-15  8:31 ` Tony Lindgren
@ 2020-11-15 17:49   ` Pavel Machek
  2020-11-15 19:24     ` Pavel Machek
  2020-11-15 18:47   ` Pavel Machek
  1 sibling, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2020-11-15 17:49 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: kernel list, linux-arm-kernel, linux-omap, sre, nekit1000,
	mpartap, merlijn, martin_rysavy

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

Hi!
> > 
> > Does anyone have Droid 4 working with 5.10-rc3?
> > 
> > I tried it with the original config; I got message about culomb
> > counter calibration done scrolling (and boot progressing very slowly
> > or not at all) . So ... I disabled cpcap battery & charger
> > support. But init still drops me to emergency shell.
> > 
> > I may try some more, but if someone know what is going on, let me
> > know.
> 
> I ran into this too, sorry I thought I added you to Cc but looks like not.
> See the fix here:
> 
> https://lore.kernel.org/lkml/20201111170613.46057-1-tony@atomide.com/

You did (thank you!) but I failed to realize importance of that
email. I have tested it and the culomb counter messages are gone.

Good.

But it looks like my mmcblk interfaces got re-numbered, from mmcblk0 &
mmcblk1 to mmcblk0 & mmcblk2. ... which breaks my startup. If someone
knows what is going on there, please tell me :-).

Best regards, 
								Pavel
-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v5.10-rc3 vs. Droid 4
  2020-11-15  8:31 ` Tony Lindgren
  2020-11-15 17:49   ` Pavel Machek
@ 2020-11-15 18:47   ` Pavel Machek
  1 sibling, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2020-11-15 18:47 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: kernel list, linux-arm-kernel, linux-omap, sre, nekit1000,
	mpartap, merlijn, martin_rysavy

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

Hi!

> > Does anyone have Droid 4 working with 5.10-rc3?
> > 
> > I tried it with the original config; I got message about culomb
> > counter calibration done scrolling (and boot progressing very slowly
> > or not at all) . So ... I disabled cpcap battery & charger
> > support. But init still drops me to emergency shell.
> > 
> > I may try some more, but if someone know what is going on, let me
> > know.

I get at least three backtraces in dmesg... hmm. Four.

regmap/regmap.c: 3024 regmap_update_bits.
regulator/core.c put_part.2
regmap.c: 3024 again.

The last one is "WARNING: CPU: 1 PID: 55 at
drivers/net/...wlcore/sdio.c... raw_read+0x88.

I'm in emergency shell ... I don't even have "|" in the keymap, so
reading dmesg is ... not fun.

Hmm.. And now I'm getting backtraces once per second... "Framedone not
received for 250ms".

It seems something is detecting mmc1 at 480ad000, pushing my root to
mmcblk2 and breaking stuff...?

Best regards,
								Pavel
-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v5.10-rc3 vs. Droid 4
  2020-11-15 17:49   ` Pavel Machek
@ 2020-11-15 19:24     ` Pavel Machek
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2020-11-15 19:24 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: kernel list, linux-arm-kernel, linux-omap, sre, nekit1000,
	mpartap, merlijn, martin_rysavy

[-- Attachment #1: Type: text/plain, Size: 3646 bytes --]

On Sun 2020-11-15 18:49:09, Pavel Machek wrote:
> Hi!
> > > 
> > > Does anyone have Droid 4 working with 5.10-rc3?
> > > 
> > > I tried it with the original config; I got message about culomb
> > > counter calibration done scrolling (and boot progressing very slowly
> > > or not at all) . So ... I disabled cpcap battery & charger
> > > support. But init still drops me to emergency shell.
> > > 
> > > I may try some more, but if someone know what is going on, let me
> > > know.
> > 
> > I ran into this too, sorry I thought I added you to Cc but looks like not.
> > See the fix here:
> > 
> > https://lore.kernel.org/lkml/20201111170613.46057-1-tony@atomide.com/
> 
> You did (thank you!) but I failed to realize importance of that
> email. I have tested it and the culomb counter messages are gone.
> 
> Good.
> 
> But it looks like my mmcblk interfaces got re-numbered, from mmcblk0 &
> mmcblk1 to mmcblk0 & mmcblk2. ... which breaks my startup. If someone
> knows what is going on there, please tell me :-).

It seems like my wireless card sabotages the mmc? If I disable mmc3
completely, I'm back to working system. (Those omap3 changes are
probably not needed).

Best regards,
									Pavel


diff --git a/arch/arm/boot/dts/motorola-mapphone-common.dtsi b/arch/arm/boot/dts/motorola-mapphone-common.dtsi
index ae4c0f7c7383..21a5375f1e66 100644
--- a/arch/arm/boot/dts/motorola-mapphone-common.dtsi
+++ b/arch/arm/boot/dts/motorola-mapphone-common.dtsi
@@ -394,6 +394,7 @@
 	ti,non-removable;
 };
 
+#if 0
 &mmc3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc3_pins>;
@@ -420,6 +421,7 @@
 		tcxo-clock-frequency = <26000000>;
 	};
 };
+#endif
 
 &i2c1 {
 	led-controller@38 {
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 1fed802175fc..60eb3ebdc6b8 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -866,9 +866,11 @@
 	no-sd;
 };
 
+#if 0
 &mmc3 {
 	status = "disabled";
 };
+#endif
 
 &gpmc {
 	ranges = <0 0 0x01000000 0x01000000>,	/* 16 MB for OneNAND */
diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts/omap3-n950-n9.dtsi
index 8601e5ab85b8..704e4c7149ed 100644
--- a/arch/arm/boot/dts/omap3-n950-n9.dtsi
+++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi
@@ -563,9 +563,11 @@
 	ti,non-removable;
 };
 
+#if 0
 &mmc3 {
 	status = "disabled";
 };
+#endif
 
 /* RNG not directly accessible on N950/N9. */
 &rng_target {
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index 9dcae1f2bc99..ba575e76b75a 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -532,6 +532,7 @@
 			dma-names = "tx", "rx";
 		};
 
+#if 0
 		mmc3: mmc@480ad000 {
 			compatible = "ti,omap3-hsmmc";
 			reg = <0x480ad000 0x200>;
@@ -540,6 +541,7 @@
 			dmas = <&sdma 77>, <&sdma 78>;
 			dma-names = "tx", "rx";
 		};
+#endif
 
 		mmu_isp: mmu@480bd400 {
 			#iommu-cells = <0>;
diff --git a/arch/arm/boot/dts/omap4-l4.dtsi b/arch/arm/boot/dts/omap4-l4.dtsi
index de742bf84efb..477246f8d5c1 100644
--- a/arch/arm/boot/dts/omap4-l4.dtsi
+++ b/arch/arm/boot/dts/omap4-l4.dtsi
@@ -2214,6 +2214,7 @@
 			ranges = <0x0 0xa8000 0x4000>;
 		};
 
+#if 0
 		target-module@ad000 {			/* 0x480ad000, ap 63 50.0 */
 			compatible = "ti,sysc-omap4", "ti,sysc";
 			reg = <0xad000 0x4>,
@@ -2245,6 +2246,7 @@
 				dma-names = "tx", "rx";
 			};
 		};
+#endif		
 
 		target-module@b0000 {			/* 0x480b0000, ap 47 40.0 */
 			compatible = "ti,sysc";




-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-15 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14 20:57 v5.10-rc3 vs. Droid 4 Pavel Machek
2020-11-15  8:31 ` Tony Lindgren
2020-11-15 17:49   ` Pavel Machek
2020-11-15 19:24     ` Pavel Machek
2020-11-15 18:47   ` 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).