can someone help me write a small straight forward guide for cloning jetson nano SD card into a ready for distribution image for many jetson-nano devices? i have read this documentation:[url]Welcome — Jetson Linux<br/>Developer Guide 34.1 documentation and read some of the forum threads, but it is still not clear for me what i need to do.
1- what is the best way to create the image? do i create image of the whole SD card or only the mmcblk0p1 partition or do i just copy the contents of the root file and put them in the L4T package fsroot file and run the flash.sh file? (i have installed the initial image through the ready jetson-nano image)
2- what is the correct way or the steps needed to make the image ready for flashing on a new SD card( taking into consideration that i want the image to be in first boot state and all defaults reset)
that’s not correct, you should customize you rootfs and you’ll need to execute those commands on your host to generate a blob.
since Nano working with sdcard, you may also check 3rdparty tools which could duplicate sdcard as quick solutions.
thanks
so in other words, copying the content in the sd root directory into rootfs inside linux_for_tegra file and then excuting the above command should work? and then i can rename the image to system.img and move it inside bootloader then excute the flash script with -r option and the img will be flashed to the new sd card in first boot state( having all my software, but without old user credentials)
if this is correct what is the size of blob image i should chose ? similar to the size of the rootfs content?
running that script actually generate an image from your local rootfs, and it also create partitions.
suggest you could use the Etcher tool to install the image blob into another new sdcard.
i know about the Etcher tool, it is what i used first time ran my jetson nano. but i want to clone the sd card to different jetson device with flash.sh -r so i can reset the defaults.
i have copied my root to rootfs and currently executing create-jetson-nano-sd-card-image.sh, i will let you know whether it works.
“running that script actually generate an image from your local rootfs, and it also create partitions.
suggest you could use the Etcher tool to install the image blob into another new sdcard.”
In my case, after run “create-jetson-nano-sd-card-image.sh”, do create a blob image file in L4T folder. But when I use Etcher to load in that blob image file, Etcher remind the image file there are no partitions and could not boot up. Any idea for the problem?
please refer to Topic 1057994 or Write Image to the microSD Card for detail steps.
you may also share the failure message or the screenshot of the error code for reference.
thanks
create-jetson-nano-sd-card-image.sh - creating sd-blob.img of 16G…
0+0 records in
0+0 records out
0 bytes copied, 0.000124465 s, 0.0 kB/s
create-jetson-nano-sd-card-image.sh - creating signed images
###############################################################################
When I load created “sd-blob.img” file into Etcher, got bellow warning message:
“It looks like this is not a bootable image.
The image does not appear to contain a partition table, and might not be recognized or bootable by your device”
did you setup a virtual machine environment for flashing the board?
the script file, create-jetson-nano-sd-card-image.sh, will also execute flash.sh to generate singed files, and also create partitions.
you should read below messages after complete the whole process.
for example,
After connected Nano board to host computer and flashed, I can successfully create SD image file. But got a new problem. That Nano board had been flashed cannot boot any more. Any idea about it? (It was working before flash) Is it possible HW issue or some on board Flash memory content had been changed? (I have two Nano boards, new created SD image is tested in another Nano board to prove it is working)
I am following the link suggested method to reflash the nano board. Have tried sdkmanager and flash.sh script, also tried different sdk reversions, but got similar results. The flashing processing will stuck on some steps and never finish (waited more than 24 hours). How to fix the cannot flashing issue?
there might be communication issue between your Nano and virtual machine, suggest you may tried to working with ubuntu environment.
Or, you might refer to Topic 1002081, and this getting started web page for installing necessary packages.
thanks
The nano board stuck on recovery mode issue have been resolved. The VertualBox is not working in my side. After changing to VMware, I can successfully flash the nano board.
Please provide steps to take image with installed package and files from jetson nano board. As of now we used dd cmd and took backup, for 15GB size it took around 24 GB image file. Any other option to take image ?
Any help appreciated!! Thanks