🛠 Boot sur carte SD, chaîne de démarrage et recouvrement

Raspberry Pi Model A (2013) — Board Sheet · avance · Schéma : IMG-model-a-avance-7-modela-boot-recouvrement.svg — Coupe du démarrage du Model A : ROM VideoCore chargeant bootcode.bin depuis la partition FAT d'une carte SD grand format, puis start.elf et kernel, avec une flèche de secours vers la réécriture de l'image

Objectives

Hardware

Full Code

# Écrire l'image sur la carte SD (PC Linux)
sudo dd if=2021-05-07-raspios-buster-armhf.img of=/dev/sdX bs=4M status=progress conv=fsync

# Recouvrement sans réécriture : monter la partition FAT et réparer config.txt
sudo mount /dev/sdX1 /mnt/boot
mv /mnt/boot/config.txt /mnt/boot/config.txt.bak   # config fautive de côté
sync && sudo umount /mnt/boot

# Indicateurs matériels : la LED verte clignote si bootcode.bin est trouvé,
# reste éteinte si la ROM ne lit rien (carte mal écrite / format incompatible)
cat /boot/config.txt | head

Expected Verification

After writing, the card has a FAT partition (~64 MB: bootcode.bin, start.elf, fixup.dat, kernel.img, config.txt) and an ext4 root partition. On boot, the green LED blinks and then the system starts; a dark LED = ROM without bootcode.bin.

Common Errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials