Hi,
I would like to know effect of Jetson board parameters:
- Lets say, I create a massflash image with BOARDID=3668 FAB=301 BOARDSKU=0001 BOARDREV=E.0 and flash this image on another board let’s say BOARDID=3668 FAB=100 BOARDSKU=0001 BOARDREV=C.0 , the massflash image is successfully flashed on the another board and there are no issues. (& vice versa)
If this is the case, then why are these parameters different ? Do they affect anything or can I use it interchangeably ?
Thanks
- I created an image which consists of internal qspi image & external image together(Secureboot+Disk encryption together) for setting up the boot-order NVME as highest priority using below commands :
#internal image creation
sudo ./tools/kernel_flash/l4t_initrd_flash.sh -u $ROOT_DIR/keys/sd/jetson.pem -v $ROOT_DIR/keys/sbk_key.txt -p "-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml" --showlogs --no-flash jetson-xavier-nx-devkit-emmc internal
#external image creation
sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ROOTFS_ENC=1 BOARDID=3668 FAB=301 BOARDSKU=0001 BOARDREV=E.0 ./tools/kernel_flash/l4t_initrd_flash.sh -u $ROOT_DIR/keys/jetson.pem -v $ROOT_DIR/keys/sbk_key.txt -p "-i ./ekb.key" --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_enc.xml -S 40GiB --no-flash --append --external-only --direct nvme0n1 --showlogs jetson-xavier-nx-devkit-emmc nvme0n1p1
I intend to create a bootable-USB Image from current rootfs, where I copy the above generated external image:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --direct $loop_device_path_name --external-device sda1 -c ./tools/kernel_flash/flash_l4t_external.xml -S 40GiB jetson-xavier-nx-devkit-emmc external
Once, I plug-in the bootable-USB to the jetson, the external image created above, is flashed via systemd service to the NVME directly by running below commands:
pushd /Linux_for_Tegra
echo "Flash the NVMe SSD... "
# Run the specified command
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_enc.xml --external-only -S 40GiB --direct nvme0n1 --showlogs jetson-xavier-nx-devkit-emmc external
echo "NVMe has been successfully flashed."
popd
But , when I reboot the jetson and try to boot the jetson up, the default boot order is still EMMC and not NVME which I expected to be as I created the image above giving ADDITIONAL_DTB_OVERLAY_OPT=“BootOrderNvme.dtbo” as env argument. This does not work after bootable-USB is used to update the NVME. Maybe, this way it is not writing the QSPI with the boot-order ?
Because when I create a normal massflash image with the same argument ADDITIONAL_DTB_OVERLAY_OPT=“BootOrderNvme.dtbo” and flash the jetson (having default boot-order as EMMC), after flashing the image, the boot-priority is changed to NVME as first priority.
Could you please help me in telling me why the same boot-order is not changed when I update the NVME via bootable-USB ? But, it does get changed when I update the NVME via Massflash image ?
Isn’t the QSPI not getting overwritten when updating NVME via bootable-USB ?
Thanks for your support in advance.