i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
Take an uncompressed image on the host and send it with ssh through the network to the eMMC of the
target with a one-line command:
target:~$ ssh <USER>@192.168.3.10 "dd if=<path_to_file>/phytec-qt6demo-image-phyboard-segin-
,→imx93-2.wic" | dd of=/dev/mmcblk0 bs=1M conv=fsync status=progress
Flash eMMC via Network in Linux on Host
It is also possible to install the OS at eMMC from your Linux host. As before, you need a complete image
on your host.
Tip
A working network is necessary! Setup Network Host
Show your available image les on the host:
host:~$ ls
phytec-qt6demo-image-phyboard-segin-imx93-2.wic
Send the image with the dd command combined with ssh through the network to the eMMC of your device:
host:~$ dd if=phytec-qt6demo-image-phyboard-segin-imx93-2.wic bs=1M status=progress | ssh␣
,→root@192.168.3.11 "dd of=/dev/mmcblk0 conv=fsync"
4.2.3 Flash eMMC U-Boot image via Network from running U-Boot
Update the standalone U-Boot image imx-boot is also possible from U-Boot. This can be used if the
bootloader on eMMC is located in the eMMC user area.
Tip
A working network is necessary! Setup Network Host
Load image over tftp into RAM and then write it to eMMC:
u-boot=> tftp ${loadaddr} imx-boot
u-boot=> setexpr nblk ${filesize} / 0x200
u-boot=> mmc dev 0
u-boot=> mmc write ${loadaddr} 0x40 ${nblk}
Hint
The hexadecimal value represents the oset as a multiple of 512 byte blocks. See the oset table for the
correct value of the corresponding SoC.
Installing the OS 19