Jetson AGX Orin
BSP R36.4.3
We use a 1TB nvme. The num_sectors has been set under the layouts:
flash_l4t_t234_nvme_rootfs_ab.xml and flash_l4t_t234_nvme_rootfs_ab_enc.xml
like below:
<device type="external" instance="0" sector_size="512" num_sectors="2000409264" >
We have no issues with:
sudo ROOTFS_AB=1 ROOTFS_RETRY_COUNT_MAX=0 \
./tools/kernel_flash/l4t_initrd_flash.sh \
--external-devicenvme0n1 \
-ctools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab.xml \
-p "-c bootloader/generic/cfg/flash_t234_qspi_industrial.xml" \
-S 40GiB \
jetson-agx-orin-devkit-industrial external
We have layout issues when using the 40GiB rootfs size with the encrypted layout:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --network usb0
–showlogs -p “-c bootloader/generic/cfg/flash_t234_qspi_industrial.xml”
–no-flash jetson-agx-orin-devkit-industrial internal
sudo ROOTFS_ENC=1 ROOTFS_AB=1 ROOTFS_RETRY_COUNT_MAX=0
./tools/kernel_flash/l4t_initrd_flash.sh --network usb0
–showlogs --no-flash --external-device nvme0n1 -S 40GiB
-c tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab_enc.xml
–external-only --append -i ./sym2_t234.key
jetson-agx-orin-devkit-industrial external
Error:
[ 2.2194 ] End sector for APP_ENC_b, expected at: 119537630, actual: 0
Error: Return value 4
Setting the rootfs size to 16 GiB ( -S 16GiB ), as mentioned in the documentation, doesn’t cause the issue above.
However, setting 16GiB is not a solution for us.
We are really looking at using -S 40GiB or even larger. Is there anything else we can adjust to get AB and encryption working with a rootfs size of 40GiB for each APP_ENC and APP_ENC_b partitions?
Kind regards,
Jack