EasyManua.ls Logo

Phytec i.MX 93 - Page 54

Default Icon
85 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
To set the BKOPS_EN bit, execute:
target:~$ mmc bkops_en manual /dev/mmcblk0
To ensure that the new setting is taken over and the kernel triggers BKOPS by itself, shut down the
system:
target:~$ poweroff
Tip
The BKOPS_EN bit is one-time programmable only. It cannot be reversed.
7.4.3 Reliable Write
There are two dierent Reliable Write options:
1. Reliable Write option for a whole eMMC device/partition.
2. Reliable Write for single write transactions.
Tip
Do not confuse eMMC partitions with partitions of a DOS, MBR, or GPT partition table (see the previous
section).
The rst Reliable Write option is mostly already enabled on the eMMCs mounted on the phyCORE-i.MX
93 SoMs. To check this on the running target:
target:~$ mmc extcsd read /dev/mmcblk0 | grep -A 5 WR_REL_SET
Write reliability setting register [WR_REL_SET]: 0x1f
user area: the device protects existing data if a power failure occurs during a write o
peration
partition 1: the device protects existing data if a power failure occurs during a write
operation
partition 2: the device protects existing data if a power failure occurs during a write
operation
partition 3: the device protects existing data if a power failure occurs during a write
operation
partition 4: the device protects existing data if a power failure occurs during a write
operation
--
Device supports writing EXT_CSD_WR_REL_SET
Device supports the enhanced def. of reliable write
Otherwise, it can be enabled with the mmc tool:
target:~$ mmc --help
[...]
mmc write_reliability set <-y|-n|-c> <partition> <device>
Enable write reliability per partition for the <device>.
(continues on next page)
Accessing Peripherals 50