When trying to use kexec on the Jetson Nano it causes a full reboot (going through first
and second stage boot loaders) instead of just reloading and restarting the kernel.
No warning messages are printed.
On the Jetson I’m running Ubuntu 18.04 from the provided jetson-nano-sd-card-image-r3221.
In the kernel config both CONFIG_KEXEC and CONFIG_KEXEC_CORE are set to y:
The steps I performed were the following:
- Install kexec-tools with ``` sudo apt install kexec-tools ```
- ``` sudo kexec -l /boot/Image --reuse-cmdline --initrd=/boot/initrd --dtb=/boot/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb ```
- ``` sudo systemctl kexec ``` or ``` sudo kexec -e ```
Performing equivalent steps on an x86 machine resulted in loading the kernel directly
without going through grub, as expected.