Is there any way I can quickly verify the kernel's correctness without burning it?

I need to change the linux kernel code.Is there any way I can quickly verify the kernel’s correctness without burning it?

hello machengyuan,

yes,
please replace the /boot/Image with your own build kernel image, and perform system reboot by ‘sudo reboot’ to take effect.
thanks

I suggest getting a serial cable for serial console. Then you can add alternative entries at boot time for picking which kernel to boot without losing the original kernel…a nice safety net. See:
[url]http://www.jetsonhacks.com/2017/03/24/serial-console-nvidia-jetson-tx2/[/url]