mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] arm: fix imx_* defconfig
@ 2025-05-10  1:18 Denis Benato
  2025-05-10  1:18 ` [PATCH 1/3] ARM: imx_v4_v5_defconfig: define CONFIG_ARCH_NXP Denis Benato
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Denis Benato @ 2025-05-10  1:18 UTC (permalink / raw)
  To: Russell King
  Cc: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	linux-arm-kernel, imx, linux-kernel, Denis Benato

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/c84e8246-8104-4409-8d95-389d61bc07af@gmail.com

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(+)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-05-12 18:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-10  1:18 [PATCH 0/3] arm: fix imx_* defconfig Denis Benato
2025-05-10  1:18 ` [PATCH 1/3] ARM: imx_v4_v5_defconfig: define CONFIG_ARCH_NXP Denis Benato
2025-05-10 17:57   ` Fabio Estevam
2025-05-10  1:18 ` [PATCH 2/3] ARM: imx_v6_v7_defconfig: " Denis Benato
2025-05-10  1:18 ` [PATCH 3/3] ARM: imxrt_defconfig: " Denis Benato
2025-05-12  6:03 ` [PATCH 0/3] arm: fix imx_* defconfig Sascha Hauer
2025-05-12 18:09   ` Denis Benato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®