* ARM: imx: linux-next 20191203 kernel does not start on an i.MX6ULL due to the SoC serial number fetch.
@ 2019-12-03 10:59 Christoph Niedermaier
2019-12-03 16:30 ` Fabio Estevam
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Niedermaier @ 2019-12-03 10:59 UTC (permalink / raw)
To: linux-arm-kernel, Anson Huang
Cc: aisheng.dong, shawnguo, s.hauer, linux, kernel, festevam
Hi,
My i.MX6ULL SoC doesn't start on the linux-next 20191203 Kernel.
Reason is the commit "ARM: imx: Add serial number support for i.MX6/7 SoCs" (8267ff89b713).
For i.MX6ULL the variable "ocotp_compat" is set to "fsl,imx6ul-ocotp", but with commit
"nvmem: imx-ocotp: Implement i.MX6ULL/ULZ support" (ffbc34bf0e9c) and commit
"ARM: dts: imx6ull: Fix i.MX6ULL/ULZ ocotp compatible" (f243bc821ee3) the value
"fsl,imx6ull-ocotp" is already defined and set in device tree...
With the follwing change the kernel starts on my i.MX6ULL SoC.
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index d8118031c51f..1ff73d1ac869 100644
--- a/arch/arm/mach-imx/cpu.c
+++ b/arch/arm/mach-imx/cpu.c
@@ -148,7 +148,7 @@ struct device * __init imx_soc_device_init(void)
soc_id = "i.MX6UL";
break;
case MXC_CPU_IMX6ULL:
- ocotp_compat = "fsl,imx6ul-ocotp";
+ ocotp_compat = "fsl,imx6ull-ocotp";
soc_id = "i.MX6ULL";
break;
case MXC_CPU_IMX6ULZ:
Best regards,
Christoph
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: ARM: imx: linux-next 20191203 kernel does not start on an i.MX6ULL due to the SoC serial number fetch.
2019-12-03 10:59 ARM: imx: linux-next 20191203 kernel does not start on an i.MX6ULL due to the SoC serial number fetch Christoph Niedermaier
@ 2019-12-03 16:30 ` Fabio Estevam
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2019-12-03 16:30 UTC (permalink / raw)
To: Christoph Niedermaier
Cc: aisheng.dong, Yongcai Huang, s.hauer, linux, kernel, shawnguo,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
Hi Christoph,
Em ter, 3 de dez de 2019 08:00, Christoph Niedermaier
<cniedermaier@dh-electronics.com> escreveu:
>
> Hi,
>
> My i.MX6ULL SoC doesn't start on the linux-next 20191203 Kernel.
> Reason is the commit "ARM: imx: Add serial number support for i.MX6/7 SoCs" (8267ff89b713).
> For i.MX6ULL the variable "ocotp_compat" is set to "fsl,imx6ul-ocotp", but with commit
> "nvmem: imx-ocotp: Implement i.MX6ULL/ULZ support" (ffbc34bf0e9c) and commit
> "ARM: dts: imx6ull: Fix i.MX6ULL/ULZ ocotp compatible" (f243bc821ee3) the value
> "fsl,imx6ull-ocotp" is already defined and set in device tree...
>
> With the follwing change the kernel starts on my i.MX6ULL SoC.
> diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
> index d8118031c51f..1ff73d1ac869 100644
> --- a/arch/arm/mach-imx/cpu.c
> +++ b/arch/arm/mach-imx/cpu.c
> @@ -148,7 +148,7 @@ struct device * __init imx_soc_device_init(void)
> soc_id = "i.MX6UL";
> break;
> case MXC_CPU_IMX6ULL:
> - ocotp_compat = "fsl,imx6ul-ocotp";
> + ocotp_compat = "fsl,imx6ull-ocotp";
Your change looks good.
Please send it as a formal patch.
Thanks
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-03 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 10:59 ARM: imx: linux-next 20191203 kernel does not start on an i.MX6ULL due to the SoC serial number fetch Christoph Niedermaier
2019-12-03 16:30 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.