Storage & boot
Mo62A boots from the microSD card. The boot ROM starts the bootloader chain from the card, U-Boot reads a text configuration from the BOOT partition, and the Linux kernel mounts the Debian root file system from the same card. This page explains that layout, what the first boot changes, and how to pick a different boot entry.
This page was tested on Mo62A image V1.1.0 (built 2026-08-19), with Debian 13 (Trixie) and Linux 6.12.35, on a 32 GB microSD card. Sizes shown in the examples depend on the card.
Boot sequence
- The boot ROM in the AM62A SoC is strapped to boot from the microSD card (MMC1, 4-bit) with Ethernet as the fallback. There is no on-board eMMC or flash, so the card must be present.
- The boot ROM loads
tiboot3.binto start the SPL boot chain, which continues withtispl.binandu-boot.imgfrom theBOOTpartition. - U-Boot reads
extlinux/extlinux.confand loads the kernelImage, base device tree and overlays for the selected default entry. The current supplied configuration does not request an interactive menu; do not assume a countdown or numbered menu appears on the debug UART. - The kernel mounts the third partition as
/and systemd starts Mo OS.
Boot progress is printed on the debug UART at 115200 baud. Nothing appears on HDMI until the kernel has started.
Partition layout
The flashing tool creates three MBR partitions:
| Partition | Device | File system | Size | Label | Contents |
|---|---|---|---|---|---|
| 1 | /dev/mmcblk1p1 | FAT32 | 255 MiB | BOOT | Bootloaders, kernel, device trees, boot menu, sysconfig.txt |
| 2 | /dev/mmcblk1p2 | swap | 4 GiB | swap | Swap space |
| 3 | /dev/mmcblk1p3 | ext4 | Remaining space | rootfs | Debian root file system |
BOOT holds tiboot3.bin, tispl.bin, u-boot.img, the kernel Image, the device trees in ti/ and the boot menu extlinux/extlinux.conf. It is mounted at /boot/firmware on the running system, so the menu and device trees can be edited from Mo OS. The terminal output below shows the layout on the tested card; / is already expanded to the end of the card.
lsblk -o NAME,SIZE,FSTYPE,LABEL,MOUNTPOINT /dev/mmcblk1
df -h / /boot/firmware
swapon --show
What the first boot changes
On the first boot, Mo OS runs mo-62a-firstboot-install.service once. It:
- installs the packages bundled with the image that are not part of the base system;
- grows the root partition to the end of the card and expands the ext4 file system online, so a 32 GB card gives about 25 GB for
/; - processes
sysconfig.txtfrom theBOOTpartition and then removes the file. Deletion is not secure erasure of flash media; change any temporary or default password after setup.
Do not treat the appearance of the login screen as proof that every first-boot step completed. Check the service status, logs and resulting settings. The logs are /var/log/mo-62a-firstboot-install.log and /var/log/mo-62a-auto-config.log. The settings themselves are described in sysconfig.txt reference.
Boot entries
extlinux/extlinux.conf on the BOOT partition contains one label per boot entry and a default line that selects the entry U-Boot loads automatically. Every entry loads the same kernel and base device tree; they differ only in the device tree overlay that enables peripherals on the 40-pin header or the CSI camera.
List the entries and the current default with the bootcfg tool:
bootcfg list
bootcfg show
To make another entry the default, run sudo bootcfg switch LABEL. The tool backs up extlinux.conf to extlinux.conf.bak, asks for confirmation and reboots immediately.
The entries supplied with the image and the pins they use are listed in Device tree overlays. Use bootcfg from a running system, or edit the default line with a text editor on a computer that can read the BOOT partition. Older images may present an interactive U-Boot menu; the current configuration must not be documented as always doing so.
The CSI camera overlay is part of the microSD-default entry only. Peripheral entries such as microSD-uart5 or microSD-spi0 boot without the camera.
Back up and clone the card
The whole card can be copied as an image from a computer. Shut the board down first, move the card to a card reader, and use the same tool you flashed with, or on Linux:
sudo dd if=/dev/sdX of=mo62a-backup.img bs=4M status=progress conv=fsync
Replace /dev/sdX with the card reader's device. A copy of the card boots on another Mo62A with the same host name, accounts and SSH host keys. For a fresh identity, flash the image again and use sysconfig.txt.
Troubleshooting
| Symptom | What to check |
|---|---|
| Debug UART silent after power-on | First check power, the UART adapter voltage, wiring, serial port and 115200 8N1 settings. Silence alone does not identify a bootloader failure. Re-seat the card until it clicks, check that the BOOT partition contains tiboot3.bin, tispl.bin and u-boot.img, and re-flash if in doubt. |
| U-Boot starts but the kernel does not | Check extlinux/extlinux.conf: the default label must exist, and Image and the device tree files it names must be present in BOOT. Restore extlinux.conf.bak if a change broke the menu. |
| A 40-pin peripheral is missing | Run bootcfg show; the default entry may not include the overlay you need. See Device tree overlays. |
| The camera is not detected | The current entry is not microSD-default. Switch back with sudo bootcfg switch microSD-default. |
/ is smaller than the card | Some difference is expected: BOOT and swap use space, and advertised GB differs from GiB. Compare the card and partition layout with lsblk and df -h. If unused space remains after the root partition, inspect /var/log/mo-62a-firstboot-install.log before considering the resize script; back up important data first. |
| The file system is reported read-only | Inspect findmnt / and sudo journalctl -k -b for I/O or ext4 errors. Back up readable data before further writes; check power and the card, and repair the file system offline from another system if appropriate. Do not force it writable or assume a reboot repairs corruption. |
Related pages
- Device tree overlays: the entries and overlays supplied with the image.
- sysconfig.txt reference: every first-boot setting.
- Install the OS: flashing the image.