Full kvm virtualization on the Jetson Nano 2G Developer Kit

Hello,

I bought a JetRacer Pro 2GB AI Kit with Jetson Nano 2G Developer Kit. Just wanted to know that it is possible to get full kvm virtualization to function on it.

The /dev/kvm does not exist and I think it’s because jetson nano’s kernel was compiled without KVM support. Is there a way to get the official kernel fork for Jetson Nano 2GB(to be used with the JetRacer) so I can just enable KVM and recompile?Or is there an easier way to get KVM working? Maybe I should just enable it somewhere?

Please check below thread to see if can help: Getting KVM to work on NVIDIA Jetson Nano - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums

I can’t see in the document you provide in that thread (https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#) any reference to the jetson nano 2G.
Also, I would like to know where to get the sources for this board that runs on the JetRacer.

For Nano, you shoud check the R32.6.1 L4T doc, see NVIDIA Jetson Linux Driver Package Software Features : Kernel Customization | NVIDIA Docs

All source packages are located at Jetson Linux R32.6.1 Release Page | NVIDIA Developer

This is what I get from the board:

jetbot@jetbot:~$ cat /etc/nv_tegra_release
# R32 (release), REVISION: 5.0, GCID: 25531747, BOARD: t210ref, EABI: aarch64, DATE: Fri Jan 15 22:55:35 UTC 2021

Are these packages ok?

For Jetbot, you may need to find those release from Releases · NVIDIA-AI-IOT/jetbot · GitHub

If any issue please report a bug by creating an issue

Are the jetbot releases the sources used in the JetRacer? The image I burned into the sd is called ‘jetracer_pro-2GB.img’

For JetRacer please find all those source from GitHub - NVIDIA-AI-IOT/jetracer: An autonomous AI racecar using NVIDIA Jetson Nano

I can’t find the Linux sources used in that link. I need it to enable the KVM support

you needed this structure GitHub - mrcmunir/jetson_nano_overclock: Kernel for nvidia jetson nano with some changes in dvfs for enable higher speed (CPU 2,0ghz+ and GPU 1,0ghz)

1 run ./nvbuild.sh
2 inside of kernel/kernel-4.9 make modules && sudo make modules_install
3 inside of kernel/kernel-4.9 make && sudo make install
4 sudo cp kernel/kernel-4.9/arch/arm64/boot/Image /boot/Image

If you needed some module change to compile in kernel/kernel-4.9/arch/arm64/configs/tegra_defconfig
For KVM needed CONFIG_KVM=y

Also see how compile kernel custom from linux host How to build NVIDIA Jetson Nano kernel - RidgeRun Developer Connection

The problem is not to enable the KVM in the Jetson Nano. With the linux image for R32 (release), REVISION: 5.0, I have managed to enable KVM in this board, but the LCD display on the JetRacer (the car powered by NVIDIA Jetson Nano) doesn’t show anything. Probably the linux image must be a different one? Is it required to install something else?

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