🛠 Boot eMMC/microSD et récupération

Hardkernel ODROID-XU4 (Samsung Exynos5422) · avance · Schéma : IMG-odroid-xu4-avance-1-odroidxu4-boot-emmc-sd.svg — ODROID-XU4 avec son emplacement module eMMC (HS400) et son port microSD, flèches de copie dd d'une carte SD vers le module eMMC, U-Boot mainline

Objectives

Cleanly install the ODROID-XU4 system, understand the dual boot between microSD and eMMC module (the eMMC port runs in 8-bit HS400 200 MHz mode under mainline — significantly faster and more durable than an SD card), migrate from one medium to the other, and know how to recover a card that no longer displays anything.

Hardware

Complete code

# 1) Graver l'image Armbian sur la microSD (verifier le disque !)
sudo dd if=Armbian_*_odroidxu4.img of=/dev/sdX bs=4M status=progress oflag=sync

# 2) Amorcé sur SD, copier la SD entiere vers le module eMMC
#    (sdX = carte SD, sdY = module eMMC vu comme disque USB/SD)
sudo dd if=/dev/sdX of=/dev/sdY bs=4M status=progress oflag=sync
sync

# 3) Redemarrer SANS la SD : la carte doit booter sur l'eMMC
sudo poweroff

# 4) Recuperation : carte muette ? Re-graver une image Armbian sur SD,
#    demarrer dessus, puis diagnostiquer ; en dernier recours la console
#    serie ttySAC2 (1,8 V !) affiche le log U-Boot/noyau.
sudo dd if=Armbian_neuve.img of=/dev/sdX bs=4M status=progress oflag=sync

Expected verification

After migration, lsblk shows the root on the eMMC device and dmesg | grep -i mmc mentions HS400 or HS200 mode. Booting without the microSD card works. A recovery dd brings a "dead" SD card back to life.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials