我在orin nx,jetpack5.1.2上实验AB分区功能,有些疑问。
1.对于orin nx,AB分区的配置文件我应该使用哪一个?
tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab.xml
tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml
我在flash章节和rootfs章节分别看到了使用以上两种来生成的AB分区命令。
2.使用tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab.xml设置AB分区时,开机后我发现APP和APP_b分区大小不一致,理论上应该各自为27G,但实际一个27G,另一个90GB
我想知道如何分配相同的大小给这两个分区?
假设我的nvme硬盘是500GB,我该如何分别给两个slot各自分配大约250G?
Hi 1031150349,
They are the same you can check as following
lrwxrwxrwx 1 root root 37 五 20 08:33 flash_l4t_nvme_rootfs_ab_enc.xml -> flash_l4t_t234_nvme_rootfs_ab_enc.xml
It seems you configure 27GB for rootfs currently.
It is caused from auto extension for free size.
You can remove <Linux_for_Tegra>/rootfs/etc/nv/nvautoconfig
before flash to prevent it resize it.
You can use -S 250GiB
in flash command for this use case.
Please check the available size of your SSD first.
You can also refer to How to solve the issue that ssd are not entiely availiable after full disk encryption - #5 by KevinFFF for details.
感谢回复!
我查询到在r35.4.1中
tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab.xml
tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml
两个文件是不相同的,分区位置有区别。
我最终通过修改sector数量和指定-S参数完成了AB分区+UDA分区的烧写。
system
Closed
June 4, 2024, 3:49am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.