Jetson: Support Nvidia Docker Images

Hey @scarlyon - just got a Jetson Nano Devkit (B01 / the 4 GB version with two CSI connectors) and played a bit around with (in a non-balena way). A friend of mine who knew about my new toy sent me this news this morning: NVIDIA Jetson TX2 NX + Other ARM Platforms Now Supported By Linux 5.15 - Phoronix

I was looking around a bit and quite confused, but it looks like nearly none of the Jetson boards have mainline kernel support. Nvidia is only keeping some infos about how to build the kernel yourself - but did not include it / pressure enough to really get it into the kernel, with the exception of the TX2 NX module in 5.15. A lot of the other modules are still bound to this prepackaged “Jetpack” image with a 4.9 Kernel and some Ubuntu LTS version, which is exactly what your container is also showing:

Kernel Version: 4.9.140-l4t-r32.4
Operating System: Ubuntu 18.04.5 LTS (containerized)

So, the point I am currently asking myself right now is whether there needs to be some kernel level support baked into the Yocto OS / balenaOS to support gpu acceleration and handling this with balena…

There is actually some old post in the forum - but I don’t know if its still current: