Skip to content

Commit

Permalink
Fix ODROID XU4 boot by disabling PROVE_LOCKING in kernel
Browse files Browse the repository at this point in the history
ODROID XU4 fails to boot after update to Linux 6.6. Comparing downstream
kernel config with upstream exynos defconfig shows it has various lockdep
options enabled, and PROVE_LOCKING seems to be the one that causes the
issue. It seems it (or any of PROVE_RCU, TRACE_IRQFLAGS or
PREEMPTIRQ_TRACEPOINTS) which get enabled along with it) probably
triggers some timing issues on the I2C bus, which causes the main PMIC
to fail to properly initialize all voltages.

Since these options should not have any real impact on our system, the
easiest option is to disable them. If we need them, or want to stay
closer to upstream defconfig, further debugging is needed.

Fixes #3137
  • Loading branch information
sairon committed Feb 8, 2024
1 parent 5fddd20 commit 177cd44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildroot-external/board/hardkernel/odroid-xu4/kernel.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_KERNEL_LZ4=y
# CONFIG_KERNEL_GZIP is not set

# CONFIG_S3C2410_WATCHDOG is not set

# CONFIG_PROVE_LOCKING is not set

0 comments on commit 177cd44

Please sign in to comment.