How to update Xavier Kernel using JetPack 4.2 ?

Hi Guys,

We moved to JetPack 4.2. I generated a new kernel image. In previous JP 4.1.1, it was a “flash” script which I used in order to update kernel image: -r -k kernel -K YOUR_KERNEL_ZIMAGE jetson-xavier mmcblk0p

How to do it using JetPack 4.2?

Thank you.

Hi Berkutok,

The procedure remains the same as you have mentioned.

Thank you Anish.Aney,

So I should run it from “JetPack_4.1.1/Xavier/Linux_for_Tegra” directory as I did before?
From JP 4.1.1?

Just for clarification. In order to burn JP4.2 Kernel I need to install on Host JP 4.1.1 and use “flash” script from it?

I haven’t tried flashing a kernel on R32.1, but there should still be a “Linux_for_Tegra/” subdirectory with “”…only it would have moved to somewhere in “~/nvidia/”.

Thank you Linuxdev,

Indeed. It’s in: “nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888/Linux_for_Tegra”.
Somehow I have 3 different directories for JP4.2:

drwxr-xr-x 3 aitech aitech 4096 Apr 1 15:25 JetPack_4.2_Linux/
drwxr-xr-x 3 aitech aitech 4096 Apr 1 15:16 JetPack_4.2_Linux_P2888/
drwxr-xr-x 3 aitech aitech 4096 Apr 15 11:02 JetPack_4.2_Linux_P3489/

Maybe each time I am running “sdkmanager” it’s creates new one?
Anyway, I found latest one by ‘ls -ltr’ and I have “flash” script inside it.

I am going to try to use it. will update.
Thank you again.

Hi Berkutok,

No to both questions. Well, it will work that way but I wouldn’t suggest that as you will not have the latest firmware.

In order to get JP4.2 running, you should first run SDKManager choosing Xavier as platform. This is to get the latest firmware on your Xavier. Once you flash the system using JP4.2 SDKM, a directory is created at (by default) ~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888/Linux_for_Tegra/ . script is present there.

Thank you Anish.Aney,

I found it. Your detailed explanation really appreciated.
I found it.
Thank you guys.

Where you guys found it, is it explained in some documentation I missed?

JetPack_4.2_Linux_P3489/ is created for TX2i. P2888 is for Xavier which should be used.