Irradium (based on crux linux) Milk-V Jupiter K1/M1(SpacemiT X60™) riscv64

Using irradium-3.8-riscv64-xfce-milk_v_jupiter-6.15.2-build-20250611.img.zst

On start-up it said there were no ALSA devices found, and MilkV have confirmed to me there is an issue with onboard audio being detected in recent releases of Bianbu so maybe that is the same issue here.

There was also a kernel panic/crash that i think may have been a corrupted file… checking that.

1 Like

Kernel panic was a issue with the decompressed image, now solved.

1 Like

the problem with sound is that the modules are not loaded automatically at startup, but are loaded by the system itself, so it is necessary to check the presence of modules after loading and the presence of a specific card

lsmod && cat /proc/asound/cards

manual loading

for m in $(echo spacemit-card spacemit-hdmiaudio spacemit-i2s spacemit-pcm);do modprobe $m;done; 
# cat /proc/asound/cards
 0 [HiFi           ]: i2s-dai0-ES8156 - i2s-dai0-ES8156 HiFi
                      i2s-dai0-ES8156 HiFi
1 Like

try it


echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon[[:print:]]*/pwm1               # Full fan speed (Value: 255)
echo 0 > /sys/devices/platform/pwm-fan/hwmon/hwmon[[:print:]]*/pwm1                 # Fan is stopped (Value: 0)
echo 2 > /sys/devices/platform/pwm-fan/hwmon/hwmon[[:print:]]*/pwm1_enable      # Change fan mode to automatic
echo 1 > /sys/devices/platform/pwm-fan/hwmon/hwmon[[:print:]]*/pwm1_enable      # Change fan mode to manual
echo 0 > /sys/devices/platform/pwm-fan/hwmon/hwmon[[:print:]]*/pwm1_enable      # Change fan mode to full spee
1 Like

If you look back in the history of this thread you will see Ive already tried modprobe and checking for the presence of a sound card to no avail, however I will try again on this latest image.

I will try those fan control lines and see if they work, but have had no much luck with similar lines in the past, being blocked by permissions or in use errors on those directorys in /sys/devices

1 Like

here you need to do exactly this, but before that check the presence of the device and loaded modules.

it’s in a different place and everything is fine with access.

1 Like

Good news the fan control directions worked.

Bad news is audio is still not working:

1 Like

This is from MilkV support re the audio issue:

1 Like

no, the driver is not included in the kernel es8316

1 Like

I see, is this the problem then the driver is not included ? would you be able to include it ?

1 Like

I’ll rebuild and post a new image.

1 Like

Would you be able to add the modules so audio works without having to load them as well ?

1 Like

Yes, but I added it to the kernel by analogy with es8316, es8326

1 Like

installation README.TXT
kernel 6.15.2

for overclocking 1.8ghz you need to enable boost:

echo 1 > /sys/devices/system/cpu/cpufreq/boost
echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo 1800000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed

mirror 1, mirror 2, mirror 3

irradium-3.8-riscv64-core-milk_v_jupiter-6.15.2-build-20250614.img.zst
irradium-3.8-riscv64-core-milk_v_jupiter-6.15.2-build-20250614.img.zst.sha256
irradium-3.8-riscv64-xfce-milk_v_jupiter-6.15.2-build-20250614.img.zst
irradium-3.8-riscv64-xfce-milk_v_jupiter-6.15.2-build-20250614.img.zst.sha256

1 Like

Any chance this distro will get compiled with radeon/amdgpu kernel driver support?

1 Like

Here is the current configuration.
you can enable additional modules.
added in config

2 Likes

installation README.TXT
kernel 6.15.3

for overclocking 1.8ghz you need to enable boost:

echo 1 > /sys/devices/system/cpu/cpufreq/boost
echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo 1800000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed

mirror 1, mirror 2, mirror 3

irradium-3.8-riscv64-core-milk_v_jupiter-6.15.3-build-20250621.img.zst
irradium-3.8-riscv64-core-milk_v_jupiter-6.15.3-build-20250621.img.zst.sha256
irradium-3.8-riscv64-xfce-milk_v_jupiter-6.15.3-build-20250621.img.zst
irradium-3.8-riscv64-xfce-milk_v_jupiter-6.15.3-build-20250621.img.zst.sha256

1 Like

I can now see a sound card listed with these recent images, however trying to install pulseaudio and pavucontrol give me the following errors.

1 Like

you can install the binary package

prt-get depinst pkg-get && pkg-get -i python3-cython

or

prt-get -if -is depinst python3-cython
1 Like

Not sure if I’m in the right thread here. Having some audio issues too. Just Updated the kernel to 6.6.63 on Bianbu 2.1.1 as I wasn’t seeing any es8316 device at all.

cat /proc/asound/cards
 0 [sndhdmi        ]: snd-hdmi - snd-hdmi
                      snd-hdmi
 1 [sndes8316      ]: snd-es8316 - snd-es8316
                      snd-es8316

I now see it. It is also available in the sound setting.

But it is not giving any output on the headphone jack of the mainboard. tried different headphones (Koss/Grado) - nothing. The indicator in the mixer is moving though if there is audi playback (audacity or snapclient).

anyone knows what might be causing this?

Thanks!

1 Like