能否同时擦写两个分区

如题,当我需要擦写BCT分区时,需要反复进入两次RCM执行擦写命令
进入RCM,
sudo ./l4t_initrd_flash.sh -k A_MB1_BCT jetson-agx-thor-devkit mmcblk0p1
此时,不确定系统处于什么状态,但已经不是RCM了,此时无法擦写设备,我必须拔掉电源,再次按recovery mode button + power button进入RCM,再执行
sudo ./l4t_initrd_flash.sh -k B_MB1_BCT jetson-agx-thor-devkit mmcblk0p1
请问有没有什么更简洁的操作方式,一次性完成2个分区的擦写工作,而不需要反复重启进入RCM?

Hi BossOfNvidia,

Sorry that the -k option is to specify the partition that you want to flash.
It supports only one partition at the same time.

If you want to update both of them(A_MB1_BCT, B_MB1_BCT), I would suggest using the following single command to flash QSPI only.

$ sudo ./l4t_initrd_flash.sh --qspi-only jetson-agx-thor-devkit internal 

But what should I do if I need to burn the A_kernel、A_kernel-dtb、 B_kernel、B_kernel-dtb partitions?

To verify the change in kernel image/dtb, you can simply update them in /boot/Image and /boot/dtb/kernel_XXX.dtb. Please just confirm if the LINUX and FDT have been specified in extlinux.conf correctly.

If you want to flash all of them, I suggest running the following command to perform full flash.

$ sudo ./l4t_initrd_flash.sh jetson-agx-thor-devkit internal