ARM: imx: linux-next 20191203 kernel does not start on an i.MX6ULL due to the SoC serial number fetch.
Subsystems (3)
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.
arch/arm/mach-imx/cpu.c +1 -1
@@ -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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Fabio Estevam
reviewerHi Christoph,
Em ter, 3 de dez de 2019 08:00, Christoph Niedermaier <[email protected]> escreveu:
Quoted 16 lines
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.
arch/arm/mach-imx/cpu.c +0
-0
arch/arm/mach-imx/cpu.c struct device * __init imx_soc_device_init(void) · line 151
Quoted 5 lines
arch/arm/mach-imx/cpu.c +1
-1@@ -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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel