We have a official devkit xavier , added an 500GB SSD (Nvme) to it (J1 interface).
I flashed the system in NVME mode using SDKManager, and enable redundancy with “sudo nv_update_engine --enable-ab”,and generat the Bootloader Update Payload due to official document,but when I use command " sudo nv_update_engine -i bl-only --payload bl_update_payload",I encountered an error:
Thanks for your reply!
The command is : sudo FAB=400 BOARDID=2888 FUSELEVEL=fuselevel_production BOARDSKU=0004 BOARDREV=K.0 ./build_l4t_bup.sh jetson-xavier nvme0n1p1
I tried several times, but I couldn’t reproduce the problem. I didn’t know whether I was happy or unhappy.
“nv-l4t-bootloader-config.service” as follow:
[sudo] password for nvidia:
● nv-l4t-bootloader-config.service - Configure QSPI bootloader service
Loaded: loaded (/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.service; bad; vendor preset: enabled)
Active: inactive (dead) since Thu 2021-12-30 11:21:06 CST; 2h 11min ago
Process: 7398 ExecStart=/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh (code=exited, status=0/SUCCESS)
Main PID: 7398 (code=exited, status=0/SUCCESS)
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: kernel_b to /dev/nvme0n1p4
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: kernel-dtb to /dev/nvme0n1p5
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: kernel-dtb_b to /dev/nvme0n1p6
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: recovery to /dev/nvme0n1p7
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: recovery-dtb to /dev/nvme0n1p8
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: kernel-bootctrl to /dev/nvme0n1p9
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: kernel-bootctrl_b to /dev/nvme0n1p10
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: RECROOTFS to /dev/nvme0n1p11
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: Restore link: UDA to /dev/nvme0n1p12
Dec 30 11:21:05 neolix-center nv-l4t-bootloader-config.sh[7398]: 2888-400-0004--1-2-jetson-agx-xavier-devkit-
If the problem recurs, I’ll let you know.
Now I can use BUP to upgrade BootLoader normally, but I don’t know how to switch rootfs.
I successfully flashed NVME SSD using command " sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml -S 10GiB --showlogs jetson-xavier nvme0n1p1 ", I can see "/dev/nvme0n1p1 " and “/dev/nvme0n1p2”, "/dev/nvme0n1p1 " is current APP partition ,how can I switch to another one?