βοΈ EspressoBin β UEFI + eMMC Complete Guide (2022 β 2025) π
π Projet : OMNI SUITE | Cyber / Embedded Labs
π§ Auteur : KuBoX Studio @ CyberMind # KERMAβs project
π
PΓ©riode couverte : 2022 β 2025
π» Plateformes : EspressoBin v5 / v7 / Ultra β ARM64 (Marvell Armada 3720)
π Introduction
Ce guide fusionne lβensemble des expΓ©rimentations UEFI Boot (CyberMind, 2022) et OpenWrt eMMC (KuBoX Studio, 2024) sur les cartes Globalscale EspressoBin.
Il couvre lβinstallation, la configuration et le dΓ©marrage dβOS ARM64 via UβBoot / TowβBoot / UEFI, avec un focus sur la version v7 eMMC.
β
π§± 1οΈβ£ Hardware Overview
| Version | SoC | MΓ©moire | Stockage | Interfaces principales |
|---|---|---|---|---|
| EspressoBin v5 | Armada 3720 | DDR3 1β2β―GB | Β΅SD / SATA | 3Γ GbE, 1Γ USB3, 1Γ SATA, UART |
| EspressoBin v7 (eMMC) | Armada 3720 Rev.7 | DDR3L 2β―GB | eMMC 8/16β―GB, Β΅SD | 3Γ GbE, 2Γ USB3, SATA, UART, miniβPCIe |
| EspressoBin Ultra | Armada 3720 + DDR4 | DDR4 4β―GB | eMMC + SATA + NVMe | 3Γ GbE, 2Γ USB3, SATA, M.2 NVMe |
π© Ports principaux
1 | ββββββββββββββββββββββββββββ |
β‘ 2οΈβ£ Power & Console Setup
π Alimentation : 12β―Vβ―/β―2β―A (centre positif).
π§· Console sΓ©rie : via microβUSB ou header UART 3βpins (115200β―8N1).
π» Outils :
- Linux/macOS β
screen /dev/ttyUSB0 115200 - Windows β PuTTY (115200β―8N1, No Flow Control)
π VΓ©rifications initiales
Dans la console :
1 | version |
Assureβtoi que les pΓ©riphΓ©riques USB et MMC sont correctement dΓ©tectΓ©s avant de flasher ou booter.
π§© 3οΈβ£ UEFI Boot Setup (CyberMind, 2022)
BasΓ© sur les travaux originaux de CyberMind (EspressoBin UEFI Boot Notes).
π§ Objectif
Configurer et valider le boot UEFI sur les cartes EspressoBin ARM64 Γ partir dβUβBoot.
Compatible avec Debian, IPFire, OPNsense, FreeBSD, et OpenBSD.
βοΈ Configuration UβBoot
1 | setenv fdt_name 'dtb/marvell/armada-3720-espressobin.dtb' |
πΎ PrΓ©parer un support de boot (USB / eMMC / SD)
1 | sudo wipefs -a /dev/sdX |
Copie :
1 | /EFI/BOOT/BOOTAA64.EFI |
π§ͺ Test IPFire π₯
1 | usb reset |
β RΓ©sultat : Boot Linux LTS OK β USB3 fonctionnel / USB2 non.
π§ͺ Test OPNsense π§
1 | mmc dev 0 |
β RΓ©sultat : Boot FreeBSD / OPNsense EFI OK.
πΎ 4οΈβ£ OpenWrt v7 eMMC Build & Flash (KuBoX Studio, 2024)
InspirΓ© du guide technique eMMC v7 EBIN.
π§± Construction de lβimage OpenWrt
1 | make PACKAGES="luci luci-ssl openssh-server openssh-client fstools e2fsprogs resize2fs qosify ..." ROOTFS_PARTSIZE="3500" EXTRA_IMAGE_NAME="-GK2@TEST-2408111-003" image PROFILE=globalscale_espressobin-v7-emmc |
πΎ Flash vers eMMC via UβBoot
1 | usb reset |
π DΓ©marrage automatique OpenWrt eMMC
1 | setenv bootowrt 'mmc dev 1; ext4load mmc 1:1 $kernel_addr_r $image_name; ext4load mmc 1:1 $fdt_addr_r $fdt_name; setenv bootargs $console root=/dev/mmcblk1p2 rw rootwait net.ifnames=0 biosdevname=0; booti $kernel_addr_r - $fdt_addr_r' |
π³ 5οΈβ£ DTB & Compatibility Matrix
| π§± Carte | 𧬠DTB recommandΓ© | πΏ OS testΓ© | βοΈ Statut |
|---|---|---|---|
| EspressoBin v7 eMMC | armada-3720-espressobin-v7-emmc.dtb | IPFire | β OK |
| EspressoBin v5 | armada-3720-espressobin.dtb | OPNsense / FreeBSD | β OK |
| EspressoBin Ultra | armada-3720-espressobin-ultra.dtb | Debian / OpenWrt | βοΈ En test |
π‘ Les DTB doivent correspondre Γ la rΓ©vision matΓ©rielle exacte.
π§° 6οΈβ£ Troubleshooting & Commands
| β οΈ ProblΓ¨me | π‘ Cause | π§© Solution |
|---|---|---|
Bad gz header sur gzwrite |
Image corrompue | Reβcopier lβimage sur la clΓ© USB et recharger |
Unknown MMC device |
Mauvais index | Utiliser mmc list pour vΓ©rifier (0β―=β―SDβ―/β―1β―=β―eMMC) |
| Boot bloquΓ© | Mauvais chemins | VΓ©rifier $image_name, $fdt_name, ext4load |
| Kernel panic root | Mauvais root=/dev/mmcblkXpY |
Adapter selon la dΓ©tection Linux |
| LuCI absent | Paquets manquants | Rebuild ImageBuilder avec modules luci |
π§© 7οΈβ£ OS Compatibility Table (2022β―ββ―2025)
| π₯οΈ OS / Distribution | πΏ UEFI | πΎ eMMC | π RΓ©seau | π§± Statut |
|---|---|---|---|---|
| Debianβ―12 (Bookworm) | β Oui | β Oui | β OK | π’ Stable |
| OpenWrtβ―23.05.4 (mvebu) | β Oui | β Oui | β OK | π’ Stable |
| IPFireβ―2.27β―(LTS) | β Oui | βοΈ Partiel | β OKβ―(USB3) | π‘ Fonctionnel |
| OPNsenseβ―/β―FreeBSDβ―13+ | β Oui | βοΈ Partiel | β οΈ Γ configurer | π‘ Boot EFI OK |
| Armbianβ―24.x (Debian/Ubuntu) | β Oui | β Oui | β OK | π’ RecommandΓ© |
| OpenBSDβ―7.xβ―ARM64 | βοΈ ExpΓ©rimental | β Non | βοΈ LimitΓ©e | π΄ Non stable |
π§Ύ 8οΈβ£ Credits & References
βοΈ RΓ©daction & Tests : KuBoX Studio @β―CyberMind β KERMAβs Project
π
2022β―ββ―2025β―: CyberMind, KuBoX Studio, OpenWrtβ―Labs
π Sources :
- CyberMind β EspressoBin UEFI Boot Notes (2022)
- OpenWrtβ―23.05.4 ImageBuilder β mvebuβcortexa53 (2024)
- KuBoXβ―Studio /β―OMNIβ―SUITEβ―2025β―Internal Docs