Milk-V Duo S / Debian ARM64 / Ollama / Qemu / ADB

Hello, viewer! So, there’s isn’t any public images to utilize a good distro like Debian on Milk-V Duo S, so I decided to make one, but I never compiled a kernel or a bootloader or knew how to combine them with a rootfs. But in the past week after some problems, kernel panics and ordering a better SD card, I made a purr-fect image. :grinning_cat:

:high_voltage: Debian (SID) for Milk-V Duo S (ARM64 core, SD card) working stable
:wireless: Wi-FI and Bluetooth are working
:link: USB works as well
:robot: Tested smollm:135m AI model from ollama
:desktop_computer: Fastfetch and QEMU and a lot of drivers for various things preinstalled
:white_small_square: Fits on 8 GB SD/TF-card

Download from MEGA [6.99 GB]

Screenshots:

NOTE: This image also has preinstalled ADBD and while making the image I accidentally got ADBD working over USB, after finishing the image I couldn’t repeat that even using Wi-Fi, though.

After flashing the image, you can access using the default Milk-V documentation (use ssh [email protected] with password milkv).

If you want to disable flashing heartbeat LED:
echo none > /sys/class/leds/blue/trigger && echo 1 > /sys/class/leds/blue/brightness

I also tried adding Arduino support, but it got a lot of issues.

1 Like

ARM64 only? No RISC-V yet?

Debian for RISC-V is already done by Fishwaldo, so I do not see any point in making RISC-V image.

Hi thanks but why sid and not trixie?

Hello! That’s a great question, which I do not know the answer to :slight_smile:
I did use some parts of Fishwaldo’s Debian for RISC-V, and the mmdebstrap command he had was for sid, I saw that and thought about changing it, but decided to keep.

Fishwaldo used Sid because there weren’t riscv64 packages in bookworm (the current debian at the time). Now trixie has this architecture and it’s stable.

1 Like