![Phytec L-1017e.A3 i.MX 8M Plus Manual Download Page 16](http://html1.mh-extra.com/html/phytec/l-1017e-a3-i-mx-8m-plus/l-1017e-a3-i-mx-8m-plus_manual_1554092016.webp)
L-1017e.A3 i.MX 8M Plus BSP Manual
•
•
•
•
target$ ls /dev | grep mmc
mmcblk1
mmcblk1p1
mmcblk1p2
mmcblk2
mmcblk2boot0
mmcblk2boot1
mmcblk2p1
mmcblk2p2
mmcblk2rpmb
The eMMC device can be recognized by the fact that it contains two boot partitions: (
mmcblk2
boot0
;
mmcblk2
boot1
)
Write the image to the phyCORE-i.MX 8M Plus eMMC (MMC device 2
without
partition):
target$ dd
if
=phytec-qt5demo-image-phyboard-pollux-imx8mp-
3
.sdcard of=/dev/mmcblk2
After a complete write, your board can boot from eMMC.
Flash SPI NOR Flash
The
phyCORE-i.MX8MP
modules are optionally
equipped
with SPI NOR Flash. To boot from SPI Flash, set
bootmode
switch
S3
to
QSPI boot
to
. The SPI Flash is usually quite small. The
phyBOARD-Pollux-i.MX8MP
kit
only has 32MB SPI NOR flash populated. Only the bootloader and the environment can be stored. The kernel, device
tree, and file system are taken from eMMC by default.
The SPI NOR flash partition table is defined in the
U-Boot
environment. It can be printed with:
u-boot=> printenv mtdparts
mtdparts=30bb0000.spi:3840k(u-boot),128k(env),128k(env:redund),-(none)
Flash SPI NOR Flash from Network
The SPI NOR can contain the bootloader and environment to boot from. The arm64 kernel can not decompress
itself, the image size extends the SPI NOR flash populated on the
phyCORE-i.MX 8M Plus
.
Warning
Before this will work, you need to configure the
bootmode switch
to
Default SOM Boot
to
boot from
eMMC.
Tip
A working network is necessary!