Reform-hw-setup.service fails with no ill effects

A while ago I noticed something red flash by during boots and today I looked at boot.log and noticed that it was reform-hw-setup.service failing. Perhaps it is similar to what @onepict reported even though it’s a different model? I don’t know. In my case, it seems related to an unmounted SD card I have in the laptop. (It contains a lot of MP3 and PDF files.)

Here’s what I get:

[FAILED] Failed to start reform-hw-setup.service - MNT Reform Hardware Defaults Setup.
See 'systemctl status reform-hw-setup.service' for details.

When I do that:

Sep 02 14:26:36 subterraneobombus systemd[1]: Starting reform-hw-setup.service - MNT Reform Hardware Defaults Setup...
Sep 02 14:26:37 subterraneobombus reform-hw-setup[711]: I: Try to load exact match wifi driver: 7.1.12-1+reform20260831T193840Z
Sep 02 14:26:37 subterraneobombus reform-hw-setup[711]: I: Found exact match for kernel 7.1.12-1+reform20260831T193840Z
Sep 02 14:26:38 subterraneobombus reform-hw-setup[711]: I: Successfully loaded exact match driver
Sep 02 14:26:38 subterraneobombus reform-hw-setup[807]: Invalid card number '0'.
Sep 02 14:26:38 subterraneobombus systemd[1]: reform-hw-setup.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 14:26:38 subterraneobombus systemd[1]: reform-hw-setup.service: Failed with result 'exit-code'.

When I mount the the SD card and run the service again, no issues (but also no systematic sound check).

Sep 02 14:46:33 subterraneobombus systemd[1]: Starting reform-hw-setup.service - MNT Reform Hardware Defaults Setup...Sep 02 14:46:33 subterraneobombus reform-hw-setup[3348]: I: Module qcacld2 is already loaded
...
Sep 02 14:46:33 subterraneobombus systemd[1]: reform-hw-setup.service: Deactivated successfully.
Sep 02 14:46:33 subterraneobombus systemd[1]: Finished reform-hw-setup.service - MNT Reform Hardware Defaults Setup.

This is related to audio: Invalid card number '0'. You’re on imx8mp, is that correct? We should get rid of all audio setup in reform-hw-setup and do everything in ALSA UCM files instead. If someone wants to help with finishing this work, I’d appreciate it a lot.

The task would be to create additional text files like this one: https://source.mnt.re/reform/reform-tools/-/tree/main/audio/ucm2.conf.d/rk3588-tlv320ai?ref_type=heads

But for imxmp-tlv320ai etc, and this name can also differ depending on device tree differences.

1 Like