How to initrd flash individual partition

hello, everyone:
how to initrd flash individual partition, such as kernel-dtb?

now when i ready to repalce files of nvme ssd,i can only generate new system.img and cost much time,so i want to use initrd flash individual partition like ./flash.sh.

In README workflow8,it use follow

sudo ./tools/kernel_flash/l4t_initrd_flash.sh
–external-device nvme0n1p1
-c ./tools/kernel_flash/flash_l4t_nvme.xml
-k kernel-dtb --external-only jetson-xavier mmcblk0p1

but it also genreate system.img,so what should i do.
i try to follow cmd after i generate system.img

1.step 1 generate system.img

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --external-only --external-device nvme0n1 -c ./tools/kernel_flash/flash_l4t_nvme_256GB.xml -S 235GiB --showlogs jetson-xavier-nx-devkit-emmc nvme0n1p1

2 step 2 flash only kernel-dtb

sudo tools/kernel_flash/l4t_initrd_flash.sh --flash-only -k kernel-dtd jetson-xavier-nx-devkit-emmc nvme0n1p1

of course , it can not success, O_O
thanks you !

Actually you can just use dd command to write the partition. There is no flash only one partition in initrd flash.

1 Like

Oh, it’s a pity.
ok, i try to do it,thanks

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.