ZHDA242 July 2026 TDA4VE-Q1
节 3 中引入的 OSPI 闪存布局保留 ospi.rootfs 分区用于 Linux 存储。
在创建 UBI 器件之前,必须删除分区中的任何现有数据。
root@j721s2-evm:~# ubiformat /dev/mtd5
ubiformat: mtd5 (nor), size 58458112 bytes (55.7 MiB), 223 eraseblocks of 262144 bytes (256.0 KiB), min. I/O size 16 bytes
libscan: scanning eraseblock 222 -- 100 % complete
ubiformat: 223 eraseblocks have valid erase counter, mean value is 1
ubiformat: formatting eraseblock 222 -- 100 % complete
root@j721s2-evm:~#格式化完成后,分区已准备好进行 UBI 连接。