Debian img from eMMC

Hello lads,

Can you help me identify the exact steps necessary to create an image on the SD card of the eMMC memory?

The image should be as small as possible. please help me, it would be very useful not only for me, but for the whole community I think.

Searching online I couldn’t find a clear and precise procedure, thanks :wink:

Build your own with GitHub - armbian/build: Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf

M4 zero is supported, instructions: Building Armbian - Armbian Documentation