![Phytec L-1017e.A3 i.MX 8M Plus Manual Download Page 19](http://html1.mh-extra.com/html/phytec/l-1017e-a3-i-mx-8m-plus/l-1017e-a3-i-mx-8m-plus_manual_1554092019.webp)
L-1017e.A3 i.MX 8M Plus BSP Manual
•
•
Flash SPI NOR from SD Card in
kernel
on Target
Mount the SD Card:
host$ mount /dev/mmcblkp1 /mnt
Find the number of erase blocks of the u-boot partition:
target$ mtdinfo /dev/mtd0
mtd0
Name: u-boot
Type: nor
Eraseblock size:
65536
bytes,
64.0
KiB
Amount of eraseblocks:
64
(
4194304
bytes,
4.0
MiB)
Minimum input/output unit size:
1
byte
Sub-page size:
1
byte
Character device major/minor:
90
:
0
Bad blocks are allowed:
false
Device is writable:
true
Erase the u-boot partition and flash it:
target$ flash_erase /dev/mtd0
0x0
64
target$ flashcp /mnt/imx-boot-phyboard-pollux-imx8mp-
3
-fspi.bin-flash_evk_flexspi /
dev/mtd0
RAUC
The
RAUC
(Robust Auto-Update Controller) mechanism support has been added to
meta-ampliphy
. It controls the
procedure of updating a device with new firmware. This includes updating the Linux kernel, Device Tree, and root
filesystem. PHYTEC has written an online manual on how we have intergraded RAUC into our BSPs: