Skip to content

arm: fix imx_* defconfig

Denis Benato imx linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: imx_v4_v5_defconfig: define CONFIG_ARCH_NXParch/arm/configs/imx_v4_v5_defconfig+1 -01 reply
2/3ARM: imx_v6_v7_defconfig: define CONFIG_ARCH_NXParch/arm/configs/imx_v6_v7_defconfig+1 -00 replies
3/3ARM: imxrt_defconfig: define CONFIG_ARCH_NXParch/arm/configs/imxrt_defconfig+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] arm: fix imx_* defconfig

Compiling the kernel using affected imx defconfigs lead to a hard CPU crash that reaches a state where each register, including PC ends up in 0xDEADBEEF.

That is because the SoC support depending on CONFIG_ARCH_MXC gets disabled since CONFIG_ARCH_NXP is not defined while said feature depends on it.

The default arm defconfig is unaffected as it defines CONFIG_ARCH_NXP=y correctly as excepted.

These patches solve the crash causing my confusion:
https://lore.kernel.org/all/[email protected]

Denis Benato (3):
ARM: imx_v4_v5_defconfig: define CONFIG_ARCH_NXP
ARM: imx_v6_v7_defconfig: define CONFIG_ARCH_NXP
ARM: imxrt_defconfig: define CONFIG_ARCH_NXP

 arch/arm/configs/imx_v4_v5_defconfig | 1 +
 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 arch/arm/configs/imxrt_defconfig     | 1 +
 3 files changed, 3 insertions(+)
Signature · 1 line
2.49.0