v3.18-rc1 doesn't boot on nitrogen6x i.MX6 board
Subsystems (2)
Fabio Estevam
reviewerHi 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
3fce0e882f61513c45c67e15bd0fde03341b58a5Author: Tim Harvey <[email protected]> Date: Thu Aug 7 23:36:40 2014 -0700PCI: 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.
[bhelgaas: reword changelog slightly]Tested-by Fabio Estevam <[email protected]>Signed-off-by Tim Harvey <[email protected]>Signed-off-by Bjorn Helgaas <[email protected]>Acked-by Marek Vasut <[email protected]>Acked-by Lucas Stach <[email protected]>
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
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
3fce0e882f61513c45c67e15bd0fde03341b58a5Author: Tim Harvey <[email protected]> Date: Thu Aug 7 23:36:40 2014 -0700PCI: 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.
[bhelgaas: reword changelog slightly]Tested-by Fabio Estevam <[email protected]>Signed-off-by Tim Harvey <[email protected]>Signed-off-by Bjorn Helgaas <[email protected]>Acked-by Marek Vasut <[email protected]>Acked-by Lucas Stach <[email protected]>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
Fabio Estevam
reviewerQuoted 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
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.htmlWith his patch applied the kernel can boot fine.
Regards,
Fabio Estevam