hello tianying414,
-
you should specify the partition names after -k options; please also refer to Flash Script Usage for the detailed information about flash.sh command line.
-
for updating kernel images on Xavier, you may replace /kernel/Image and perform warm-reboot to let the changes takes effect.
-
please also check Topic 122019 for an alternative way to update device tree.