AGX Xavier can't update custom kernel by copy the Image file to /boot folder in JetPack 4.6

my device is AGX Xavier 32GB JetPack 4.6,
i use the commands below to install custom kernel (include a custom camera driver) in JetPack 4.6
sudo cp ~/Image /boot/Image -f
sudo cp ~/Image.sig /boot/Image.sig -f
after reboot, nothing is happened, driver is not installed. but it’s works fine in JetPack 4.5.1.

i try to delete the /boot folder and reboot:
sudo rm -rf /boot
and AGX boot normally. that’s weird. it should not boot after i delete the /boot folder.

so, i think the kernel files are moved to somewhere else in JetPack 4.6. that’s why my custom driver can’t install.

where can i find the kernel files (Image files)?

hello wudecao,

please don’t overwrite /boot/Image.sig; if you’re only update kernel image for testing your kernel modifications.
please only update /boot/Image and reboot the system to make the changes take effect.

besides, after you delete /boot/ binaries, the kernel image load via partition, that’s flashed to your target, you may have partition update with the -k options to flash it individually.

Soloved. Thanks so much!
I use flash -k command to update the partition.
sudo ./flash.sh -k kernel jetson-xavier mmcblk0p1
And it works!

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