My Hardware Device: orin nano 4G
software version:JetPack 5.1.5
I use the following command to copy the image of orin nano:
sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b -c jetson-orin-nano-devkit
After successful copying, use the command to flash the copied image to other Orin Nano devices:
sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -r jetson-orin-nano-devkit
Error occurred when flashing copy image:
You are trying to flash images from a board model that does not match the current board you're flashing onto.
The error is caused by the script nvrestore_partitions. sh:
for value in $(grep -v -e '(^ *$|^#)' < "${FILE_NAME}"); do
declare -a FIELDS
for part in {1..6}; do
FIELDS[part]=$(echo "$value" | awk -F, -v part=${part} '{print $part}')
done
if [ "${FIELDS[1]}" = 'board_spec' ]; then
set_board_spec
echo "yhy test field:${FIELDS[2]} BOARD_SPEC:${BOARD_SPEC}"
if [[ "${FIELDS[2]}" == "${BOARD_SPEC}" ]]; then
BOARD_MATCH=true
fi
fi
done
if [ ${BOARD_MATCH} = false ]; then
echo "${SCRIPT_NAME}: You are trying to flash images from a board model that does not"
echo "match the current board you're flashing onto."
exit 1
fi
I print board model value:
yhy test field:3767-301-0004-F.1-1-1-jetson-orin-nano-devkit- BOARD_SPEC:3767-300-0004-T.1-1-1-jetson-orin-nano-devkit-
Why do the two Orin Nano device models not match?
*** Please note that this reply is generated by LLM automatically ***
Based on the provided context, it appears that you are trying to update your Jetson Orin Nano device from JetPack 5.1.5 to a newer version, possibly JetPack 6. You are using the l4t_initrd_flash.sh script to copy the image and then flash it to other Orin Nano devices. However, you are encountering an error caused by the nvrestorepartitions.sh script, which is printing a message indicating that the board model values do not match.
To resolve this issue, let’s break down the problem and compare the relevant information.
- Hardware Device: You mentioned that your hardware device is an Orin Nano 4G, which corresponds to the
P3767-0004 module.
- Software Version: Your current software version is JetPack 5.1.5.
- Copying Image: You used the
l4t_initrd_flash.sh script to copy the image of the Orin Nano.
- Flashing Image: You attempted to flash the copied image to other Orin Nano devices using the same script.
- Error: The error occurred during the flashing process, specifically with the
nvrestorepartitions.sh script.
Now, let’s compare the relevant information from the provided context:
- The
jetson-orin-nano-devkit and jetson-orin-nano-devkit-super boards are mentioned in the context, which correspond to the P3767-0004 and P3767-0005 modules, respectively.
- The
l4t_initrd_flash.sh script is used for flashing the image, which is specific to the jetson-orin-nano-devkit and jetson-orin-nano-devkit-super boards.
- The
nvrestorepartitions.sh script is mentioned as the cause of the error, which is likely related to the board model values not matching.
Based on this comparison, it is likely that the error is caused by a mismatch between the board model values of the Orin Nano devices. Specifically, the P3767-0004 module (Orin Nano 4G) may not be compatible with the P3767-0005 module (Orin Nano 8G) or vice versa.
To resolve this issue, you may need to:
- Verify that the board model values match between the Orin Nano devices.
- Use the correct
l4t_initrd_flash.sh script for the specific board model.
- Ensure that the image is compatible with the target Orin Nano device.
If you are still encountering issues, please provide more details about the error message and the specific commands you are using, and I’ll be happy to help you further.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
Hi,
Please try an alternative cloning approach described in the Cloning rootfs with initrd section of the NVIDIA documentation, since backup and restore operations are supported for devices with the same specifications.
Thanks
Hi, DavidDDD:
It seems that only rootfs were backed up using l4t_initrd_flash.sh. To do mass production burning, we need to backup the entire system images of orin nano 4G and orin nx 16G, and perform mass burning on the production line.
Hi,DavidDDD:
Our device now requires mass production burning. Can you provide a way to support orin orin/orin nx? The image provided to the production line only needs to be burned once to complete.
Hi,
After cloning the rootfs, you can replace the original rootfs with your backup as described in this topics.
Once the rootfs has been replaced, you can perform mass flashing to multiple devices by following the steps in the Flashing Support — NVIDIA Jetson Linux Developer Guide
Thanks