linux-armv7 6.16-1 seem broken unable to boot. on Odroid XU4

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

linux-armv7 6.16-1 seem broken unable to boot. on Odroid XU4

Postby moonlinux » Thu Aug 07, 2025 10:52 am

Hi All,

I just tried to upgrade the linux-armv7 package for Odroid XU4 Armv7 boards.
It fails to boot because regulators are not getting initialized.

I just checked the commit

[code]commit 004ba919b7760a40b878282d3d2411b3e5be2370
Author: graysky <therealgraysky AT proton DOT me>
Date: Wed Aug 6 06:28:54 2025 -0400

core/linux-armv7 to 6.16-1

diff --git a/core/linux-armv7/config b/core/linux-armv7/config
index 94a728579..85e8bcf80 100644
--- a/core/linux-armv7/config
+++ b/core/linux-armv7/config[/code]

[b]It appears that the following configuration flag has been removed:[/b]

| # CONFIG_MFD_SEC_I2C is not set

To restore functionality, could you please enable the following package configurations in the config ?

[code]
linux-armv7$ git diff
diff --git a/core/linux-armv7/config b/core/linux-armv7/config
index 85e8bcf80..7f377e43e 100644
--- a/core/linux-armv7/config
+++ b/core/linux-armv7/config
@@ -5408,7 +5408,8 @@ CONFIG_MFD_RK8XX=y
CONFIG_MFD_RK8XX_I2C=y
# CONFIG_MFD_RK8XX_SPI is not set
CONFIG_MFD_RN5T618=y
-# CONFIG_MFD_SEC_I2C is not set
+CONFIG_MFD_SEC_CORE=y
+CONFIG_MFD_SEC_I2C=y
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
@@ -5570,6 +5571,9 @@ CONFIG_REGULATOR_RN5T618=y
# CONFIG_REGULATOR_RTMV20 is not set
# CONFIG_REGULATOR_RTQ6752 is not set
# CONFIG_REGULATOR_RTQ2208 is not set
+CONFIG_REGULATOR_S2MPA01=y
+CONFIG_REGULATOR_S2MPS11=y
+CONFIG_REGULATOR_S5M8767=y
# CONFIG_REGULATOR_SLG51000 is not set
CONFIG_REGULATOR_STPMIC1=y
CONFIG_REGULATOR_TI_ABB=y
@@ -5655,8 +5659,8 @@ CONFIG_USB_PULSE8_CEC=m
CONFIG_USB_RAINSHADOW_CEC=m
# end of CEC support

-CONFIG_MEDIA_SUPPORT=y
-# CONFIG_MEDIA_SUPPORT_FILTER is not set
+CONFIG_MEDIA_SUPPORT=m
+CONFIG_MEDIA_SUPPORT_FILTER=y
CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
[/code]

[quote]
[ 3.380477] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 3.387663] clk: Disabling unused clocks
[ 3.391357] PM: genpd: Disabling unused power domains
[ 3.395337] ALSA device list:
[ 3.398246] No soundcards found.
[ 3.405153] Freeing unused kernel image (initmem) memory: 2048K
[ 3.410303] Run /init as init process
:: running early hook [udev]
Starting systemd-udevd version 257.8-1-arch
:: running hook [udev]
:: Triggering uevents...
:: running hook [keymap]
:: Loading keymap...kbd_mode: KDSKBMODE: Inappropriate ioctl for device
done.
Waiting 10 seconds for device /dev/disk/by-partuuid/319faf29-01 ...
[ 15.606086] platform 10000000.chipid: deferred probe pending: (reason unknown)
[ 15.611922] platform 14530000.hdmi: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO6
[ 15.623571] platform soc:usb@12000000: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO11
[ 15.635483] platform 12200000.mmc: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO3
[ 15.647010] platform soc:usb@12400000: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO11
[ 15.658961] platform 12220000.mmc: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO13
[ 15.670576] platform 101e0000.rtc: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/clocks
[ 15.681328] platform 10060000.tmu: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO7
[ 15.692845] platform 10064000.tmu: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO7
[ 15.704374] platform 10068000.tmu: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO7
[ 15.715895] platform 1006c000.tmu: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO7
[ 15.727425] platform 100a0000.tmu: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/LDO7
[ 15.738953] platform cpufreq-dt: deferred probe pending: (reason unknown)
[ 15.745707] platform 11800000.gpu: deferred probe pending: platform: wait for supplier /soc/i2c@12ca0000/pmic@66/regulators/BUCK4
Waiting 10 seconds for device /dev/disk/by-partuuid/319faf29-01 ...
ERROR: device 'PARTUUID=319faf29-01' not found. Skipping fsck.
:: mounting 'PARTUUID=319faf29-01' on real root
mount: /new_root: can't find PARTUUID=319faf29-01.
ERROR: Failed to mount 'PARTUUID=319faf29-01' on real root
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ~]#
[/quote]

Thanks
-Anand
moonlinux
 
Posts: 17
Joined: Mon Jul 13, 2015 5:38 pm

Re: linux-armv7 6.16-1 seem broken unable to boot. on Odroid

Postby neildarlow » Mon Aug 18, 2025 9:23 am

Hi,

Have you been able to test linux-armv7-6.16.1-1? And, if yes, is the issue solved?
neildarlow
 
Posts: 19
Joined: Fri Jul 17, 2020 10:45 am

Re: linux-armv7 6.16-1 seem broken unable to boot. on Odroid

Postby moonlinux » Mon Aug 18, 2025 3:38 pm

Not yet—with my local config, it works.
The booting is currently broken due to the following commit,
But additional config changes are necessary to get it working.

commit 680ef57915db0f715e99a683c15f0f9f7c700e64
Author: André Draszik <andre.draszik@linaro.org>
Date: Wed Apr 9 21:37:29 2025 +0100

mfd: sec: Split into core and transport (i2c) drivers

Need to check the diff between exynos_defconfig and linux-armv7/config to make it work.
moonlinux
 
Posts: 17
Joined: Mon Jul 13, 2015 5:38 pm

Re: linux-armv7 6.16-1 seem broken unable to boot. on Odroid

Postby graysky » Tue Aug 19, 2025 8:05 am

Please try 6.16.1-2 which should hit the repos when done building, see:make_clickable_callback(MAGIC_URL_FULL, ' ', 'https://github.com/archlinuxarm/PKGBUILDs/commit/e78a265710296345d69c235e7b9d2ce3b87f7476', '', ' class="postlink"')
graysky
Developer
 
Posts: 1878
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: linux-armv7 6.16-1 seem broken unable to boot. on Odroid

Postby moonlinux » Tue Aug 19, 2025 10:04 am

Hi graysky,

I just checked commit e78a265710296345d69c235e7b9d2ce3b87f7476 and noticed
that the following configuration options were disabled:

scripts/config --disable CONFIG_RTC_DRV_S5M
scripts/config --disable CONFIG_COMMON_CLK_S2MPS11

These appear to be necessary for proper PMIC clock and RTC functionality on Samsung boards.
and disabling them may lead to issues.

Additionally, several configuration parameters seem to be missing—likely because they
were previously enabled by default.

You might want to compare your current linux-armv7/config against linux-stable
(specifically multi_v7_defconfig or exynos_defconfig) to identify discrepancies.

If you'd like, I can share an updated config with the necessary adjustments.

I just use Arch Linux for development on this platform.
moonlinux
 
Posts: 17
Joined: Mon Jul 13, 2015 5:38 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 32 guests