Skip to contentSkip to conversation

v5.10-rc3 vs. Droid 4

DISCUSSION Pavel Machek 2 participants 5 messages Nov 14, 2020 – Nov 15, 2020 Device tree bindings

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#1 lore raw
Quoted 11 lines · Pavel Machek

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/[email protected]/

Regards,

Tony

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw

Hi!

Quoted 8 lines
Quoted 8 lines

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.

Quoted 7 lines
Quoted 2 lines

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/[email protected]/

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

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#4 lore raw
In reply to Tony Lindgren

Hi!

Quoted 9 lines
Quoted 9 lines

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

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#3 lore raw
In reply to Pavel Machek
Quoted 17 lines · Pavel Machek

Hi!

Quoted 8 lines
Quoted 8 lines

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.

Quoted 7 lines
Quoted 2 lines

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/[email protected]/

Quoted 8 lines

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

arch/arm/boot/dts/motorola-mapphone-common.dtsi +2 -0
index ae4c0f7c7383..21a5375f1e66 100644
@@ -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 {
arch/arm/boot/dts/omap3-n900.dts +2 -0
index 1fed802175fc..60eb3ebdc6b8 100644
@@ -866,9 +866,11 @@
 	no-sd;
 };
 
+#if 0
 &mmc3 {
 	status = "disabled";
 };
+#endif
 
 &gpmc {
 	ranges = <0 0 0x01000000 0x01000000>,	/* 16 MB for OneNAND */
arch/arm/boot/dts/omap3-n950-n9.dtsi +2 -0
index 8601e5ab85b8..704e4c7149ed 100644
@@ -563,9 +563,11 @@
 	ti,non-removable;
 };
 
+#if 0
 &mmc3 {
 	status = "disabled";
 };
+#endif
 
 /* RNG not directly accessible on N950/N9. */
 &rng_target {
arch/arm/boot/dts/omap3.dtsi +2 -0
index 9dcae1f2bc99..ba575e76b75a 100644
@@ -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>;
arch/arm/boot/dts/omap4-l4.dtsi +2 -0
index de742bf84efb..477246f8d5c1 100644
@@ -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";
Signature · 1 line
http://www.livejournal.com/~pavelmachek