Partition Update script on Jetson Nano

Hi ,

Is there script which we can use to flash the firmware binary such as dtb kernel etc on the jetson nano itself ? I knew there are script on the host does some of them.

we are looking for solution so that we can flash these on the jetson device itself.

Thanks

hello terry8uwg2,

the script file you’re mentioned is flash.sh, this script file cannot execute on the Jetson device.
we had an alternative way for partition update, however, may I know what’s your use-case.
thanks

Hi Jerry,

We want to use this way to upgrade production devices in the customer field. we have on premise steup so these devices are only communicating with our local server.

Thanks

hello terry8uwg2,

you may overwrite the partition by using the dd commands,
if you look into flash messages, it’s DTB partition for device tree blob; it’s LNX partition for kernel images.
for example,

[ 260.8830 ] Writing partition DTB with tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
[ 260.9492 ] [................................................] 100%
[ 260.9648 ] Writing partition LNX with boot.img.encrypt
[ 261.0345 ] [................................................] 100%

please examine the partition labels with following command, i.e. $ ls -al /dev/disk/by-partlabel
for example,

$ ls -al /dev/disk/by-partlabel
lrwxrwxrwx 1 root root  16 Feb  4 01:30 DTB -> ../../mmcblk0p10
lrwxrwxrwx 1 root root  16 Feb  4 01:30 LNX -> ../../mmcblk0p11

you may copy the binary file to the target, using dd commands to overwrite it and reboot the system to make it works.
please note that, these bootloader binaries were signed and encrypted. you may perform with flash script to include --no-flash options for generate those binary locally.
thanks

please also refer to below topics as see-also.
thanks