How to flash only kernel image to Xavier ?

Dear sir,

I tried copy compiled Image to /boot/ after Xavier bootup and using command to flash Xavier, both failed.

sudo ./flash.sh -r -k kernel jetson-xavier mmcblk0p1

Can u give some suggestion on this?

Thanks so much.

dennis,

You need to put it under Linux_for_Tegra/kernel on host.

Dear WayneWWW,

I tried three methods:

  1. After Xavier bootup, copy Image to /boot/ dircetory, failed (this works okay on TX2)

  2. Copy Image to Linux_for_Tegra/kernel/ directory, and running command, but still failed when bootup looking dmesg log :

sudo ./flash.sh -r -k kernel jetson-xavier mmcblk0p1
Linux version 4.9.108-tegra (buildbrain@mobile-u64-2565) (gcc version 6.4.1 20170707 (Linaro GCC 6.4-2017.08) ) #1 SMP PREEMPT Wed Oct 31 15:17:21 PDT 2018
  1. Copy Image to Linux_for_Tegra/kernel/ directory, and running flash all image command, but still failed when bootup looking dmesg log :
sudo ./flash.sh jetson-xavier mmcblk0p1
Linux version 4.9.108-tegra (buildbrain@mobile-u64-2565) (gcc version 6.4.1 20170707 (Linaro GCC 6.4-2017.08) ) #1 SMP PREEMPT Wed Oct 31 15:17:21 PDT 2018

Dear WayneWWW,

I made a mistake, using method2, Xavier kernel image works, thanks so much.

FYI, newer releases of the TX2 will also fail with a simple file copy of Image into “/boot”.

Hi,
I tried this cmd on Jetpack 4.4, but failed.It seems that the flashing process complete,but indeed the kernel is still the previous one.

sudo ./flash.sh -r -k kernel jetson-xavier mmcblk0p1

Could you kindly help me?
Thank you very much!

Hi,

It has been changed. Xavier supports to update kernel by putting new Image to /boot/Image now.