Transclusion: Yocto Linux: Manual Installation: SD card

From Compulab Mediawiki
Revision as of 14:37, 18 March 2026 by Igor (talk | contribs) (Created page with "== Installation == * Make sure that the SD capacity is enough to fit the rootfs image. {{Note|The recommended SD card capacity is greater than or equal to 8GB.}} * Define the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Installation

  • Make sure that the SD capacity is enough to fit the rootfs image.
Admolition note.png The recommended SD card capacity is greater than or equal to 8GB.
  • Define the MACHINE and the DRAM_CONF environment variables:
  • SOM Configuration
SOM type Command
ucm-imx8m-plus export MACHINE=ucm-imx8m-plus
ucm-imx8m-plus-sbev export MACHINE=ucm-imx8m-plus-sbev
mcm-imx8m-plus export MACHINE=mcm-imx8m-plus
som-imx8m-plus export MACHINE=som-imx8m-plus
  • Memory Configuration
SOM D option Command
D1,D8 export DRAM_CONF=d1d8
D2 export DRAM_CONF=d2
D4 export DRAM_CONF=d4
  • Prepare the boot media:
Admolition note.png 1) Replace sdX with the actual block device name on your Linux host.
2) The command order is important: 1-image, 2-bootloader
  • Flash the WIC image:
zstdcat pakage_dir/images/imx-image-full-${MACHINE}.rootfs.wic.zst | sudo dd of=/dev/sdX bs=1M status=progress
  • Update the bootloader:
sudo dd if=pakage_dir/bootloader/${MACHINE}/imx-boot_${MACHINE}_${DRAM_CONF} of=/dev/sdX bs=1K seek=32