Skip to contentSkip to conversation

v3.18-rc1 doesn't boot on nitrogen6x i.MX6 board

BISECT Fabio Estevam 2 participants 4 messages Oct 23, 2014 – Oct 24, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Fabio Estevam

author reviewer
#1 lore raw

Hi Brian,

Quoted 31 lines · Brian Downing

Hi all; apologies for not posting to the linux-arm-kernel mailing list, but lists.infradead.org seems, well, dead:

$ host lists.infradead.org
Host lists.infradead.org not found: 3(NXDOMAIN)

v3.18-rc1 doesn't boot on my Boundary Devices nitrogen6x board. (Specifically, imx6q-nitrogen6x.dtb). It fails before any console output. I bisected it down to this commit:

commit 3fce0e882f61513c45c67e15bd0fde03341b58a5

Author: Tim Harvey <[email protected]>
Date:   Thu Aug 7 23:36:40 2014 -0700

PCI: imx6: Delay enabling reference clock for SS until it stabilizes

According to the IMX6 reference manuals, REF_SSP_EN (Reference clock enable for SS function) must remain deasserted until the reference clock is running at the appropriate frequency.

Delay enabling the reference clock for the SS function until it has stabilized. This prevents a high link failure rate (>5%) on certain IMX6 boards at various temperatures.

Quoted 4 lines

With that one commit reverted v3.18-rc1 fires up just fine for me.

I really haven't looked into what might be wrong, I just wanted to let you know that this fix apparently breaks some boards.

Adding Eric and Troy in case they could comment. I don't know why this commit would cause failure on nitrogen board.

Regards,

Fabio Estevam

#2 lore raw

Thanks for the report Brian (and Fabio).

Quoted 38 lines · Fabio Estevam

Hi Brian,

Quoted 35 lines · Brian Downing

Hi all; apologies for not posting to the linux-arm-kernel mailing list, but lists.infradead.org seems, well, dead:

$ host lists.infradead.org
Host lists.infradead.org not found: 3(NXDOMAIN)

v3.18-rc1 doesn't boot on my Boundary Devices nitrogen6x board. (Specifically, imx6q-nitrogen6x.dtb). It fails before any console output. I bisected it down to this commit:

commit 3fce0e882f61513c45c67e15bd0fde03341b58a5

Author: Tim Harvey <[email protected]>
Date:   Thu Aug 7 23:36:40 2014 -0700

PCI: imx6: Delay enabling reference clock for SS until it stabilizes

According to the IMX6 reference manuals, REF_SSP_EN (Reference clock enable for SS function) must remain deasserted until the reference clock is running at the appropriate frequency.

Delay enabling the reference clock for the SS function until it has stabilized. This prevents a high link failure rate (>5%) on certain IMX6 boards at various temperatures.

With that one commit reverted v3.18-rc1 fires up just fine for me.

I really haven't looked into what might be wrong, I just wanted to let you know that this fix apparently breaks some boards.

We'll dig in and let you know what we find.

Regards,

Eric

author reviewer
#3 lore raw
In reply to Fabio Estevam
Quoted 5 lines · Fabio Estevam
Quoted 2 lines

I really haven't looked into what might be wrong, I just wanted to let you know that this fix apparently breaks some boards.

Adding Eric and Troy in case they could comment. I don't know why this commit would cause failure on nitrogen board.

Ok, so I am able to reproduce this issue on a mx6qsabresd if I don't pass the PCI gpio reset (like in nitrogen):

arch/arm/boot/dts/imx6qdl-sabresd.dtsi +0 -1
@@ -521,7 +521,6 @@
 &pcie {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie>;
-       reset-gpio = <&gpio7 12 0>;
        status = "okay";
 };
 

Richard Zhu sent a fix for this, but it has not been applied yet:
http://www.spinics.net/lists/linux-pci/msg34748.html

With his patch applied the kernel can boot fine.

Regards,

Fabio Estevam

#4 lore raw

Thanks Fabio (and Richard).

Quoted 31 lines · Fabio Estevam
Quoted 5 lines · Fabio Estevam
Quoted 2 lines

I really haven't looked into what might be wrong, I just wanted to let you know that this fix apparently breaks some boards.

Adding Eric and Troy in case they could comment. I don't know why this commit would cause failure on nitrogen board.

Ok, so I am able to reproduce this issue on a mx6qsabresd if I don't pass the PCI gpio reset (like in nitrogen):

arch/arm/boot/dts/imx6qdl-sabresd.dtsi +0 -1
@@ -521,7 +521,6 @@
 &pcie {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie>;
-       reset-gpio = <&gpio7 12 0>;
        status = "okay";
 };
 

Richard Zhu sent a fix for this, but it has not been applied yet:
http://www.spinics.net/lists/linux-pci/msg34748.html

With his patch applied the kernel can boot fine.

Regards,

Fabio Estevam