Hi,
I have flashed an Xavier NX using nvidia’s sdkmanager and modified the kernel and device trees since I am using a custom board (not exactly the same as the devkit). The kernel and device tree modifications were done via an externally provided script which has to be executed inside the Xavier NX.
My goal is: avoid running the script at each time I need to setup a new XavierNX by including everything in the flashing process.
My question is: how can I clone both the kernel and the device tree for future flashing?
I know already that the cloning command has the following structure:
sudo ./flash.sh -r -k <partition_id> -G <clone> <board> <rootdev>
If I want to flash the rootfs
(APP partition) then:
<partition_id>=APP
<clone>=backup.img
<board>=jetson-xavier-nx-devkit-emmc
<rootdev>=mmcblk0p1
However, I am still not able to find any documentation on how to clone the kernerl and device tree and I am missing some information:
For cloning the kernel
-
<partition_id>=kernel
(not sure) <clone>=???.???
<board>=jetson-xavier-nx-devkit-emmc
<rootdev>=???
For cloning the device tree
-
<partition_id>=kernel-dtb
(not sure) <clone>=???.???
<board>=jetson-xavier-nx-devkit-emmc
<rootdev>=???
Could anyone please point me in the right direction?
Thanks in advance!