I can flash.sh Xavier for ubuntu system. But I can’t flash.sh device with SDK, such as: cuda, deepstream, cudnn, …
I have no way to create a rootfs with this tools .
please check comment #3 to clone the APP partition to backup your rootfs, then you should enable flash.sh to do manual flash to deploy the root file system to Xavier-B.
note, you should add -r options to reuse the system image for image flashing,
thanks
I not sure what you said.
Did you mean use command “sudo ./flash.sh -r -k APP -G clone.img jetson-agx-xavier-devkit mmcblk0p1” to backup APP partition ?
In this way, I can get a .img file of APP partition, but it can’t achieve my 2nd purpose.
In the host machine (PC), install my cross-compile program in rootfs directory.
Then, use command "sudo ./flash.sh jetson-agx-xavier-devkit mmcblk0p1 " update my xavier device.
At the last, use command “sudo ./flash.sh -r -k APP -G clone.img jetson-agx-xavier-devkit mmcblk0p1” to backup APP partition.
You mean use this three step ?
But in this way, how can I install cuda/cudnn/opencv in the rootfs ?
after you used -k APP -G clone.img to backup APP partition, you’ve also backup the installation to rootfs.
you should taking this clone.img to replace original system.img to deploy your Xavier-B. i.e. $ sudo ./flash.sh -r jetson-agx-xavier-devkit mmcblk0p1.
you may boot-up the device to install all of them on the target.
you may customize your own root file system, and deploy it by using flash script.
please check developer guide, Setting Up the Root File System for reference, thanks
that’ll be huge rootfs if all the components has installed, it should taking a long time if using rsync to copy the rootfs.
btw, how about post installation via apt server?
please check OTA update packages from developer guide for reference, Update Packages for Jetson Devices.