Question: Has anyone tried KVM on L4T 32.1 and can confirm whether or not a patch to the device
tree is necessary as it was with 28.2?
I’m a bit wary about flashing the 32.1 bootloader before knowing for sure this is going to work…
(Booting the 32.1 kernel and root filesystem using the old bootloader and DTB seems to be a no-go. :-( )
Kernel-based Virtual Machine (Kernel-based Virtual Machine - Wikipedia).
The thing that lets you run an up-to-date upstreams kernel (including one configured as
big endian) as a guest on the TX2.
Ok, so same question but for R32.2? Does nobody have any idea whether it works or not? I don’t want to break my existing installation by upgrading if KVM does not work…
I finally took the plunge with L4T 32.4.3, and can confirm that KVM still works like before, but also that the device tree hack is still needed.
Also, updating the device tree is really awkward. In addition to having to dd your device tree to a special partition on the system eMMC, you also have to run a signing script (provided with the BSP), which for reasons unknown splits the device tree blob into two files, one with the “.sig” extension added which contains the signature and the first 3696 bytes of data, and the original file, which it truncates by removing the first 3696 bytes(!). So you need to concatenate these and then dd the result to the special partition.
In summary: This is the thing you need to do:
cp your.dtb tmp.dtb # The original gets destroyed by the signing script
l4t_sign_image.sh --file tmp.dtb --chip 0x18 # 0x18 is for TX2
cat tmp.dtb.sig tmp.dtb > signed.dtb
dd if=signed.dtb of=/dev/mmcblk0p30
dd if=signed.dtb of=/dev/mmcblk0p31
I haven’t checked yet wheter or not the l4t_sign_image.sh can actually be run on the Jetson itself…
Turns out the shell script runs an x86 binary (tegrasign_v2), so in order to run it on the Jetson you also need to install qemu-i386 and setup binfmt-misc.
This should create the following file which can be used directly by the system in the kernel-dtb partition. tegra186-your-board-file_sigheader.dtb.encrypt