SDK Manager + Ubuntu 20.04 LTS

What is the expected timeline for supporting the current Ubuntu LTS version? SDK Manager seems to function if lsb_release -r output is hacked on 20.04 to match 18.04, but supporting the current LTS without this workaround seems important.

10 Likes

Hi dan.rossiter,

Thanks for asking, it’s under planning, but there is no firm schedule yet.

Hi,
Can you describe exactly how you did that?

Sure – I just modified /etc/os-release and replaced VERSION_ID value with 18.04. After that, sdkmanager happily runs.

6 Likes

I wouldn’t recommend that. It will let you install SDK manager but can probably also break your system’s package management, among other things.

os-release contains data that is defined by the operating system vendor and should generally not be changed by the administrator.

Probably best to wait for official support, given SDK manager installs packages on the host and Debian packages are not compatible across distos/versions even though it sometimes works and it’s possible to design packages with it in mind (eg. Chrome … or a lot of Google packages).

2 Likes

I didn’t propose leaving that change in place. Suppose I should have explicitly recommended reverting the change once SDK manager use is complete. That is what we’re doing.

And yes, ideally we’d use SDK Manager in a way that doesn’t require hacking the OS, but with Nvidia trailing pretty significantly behind an LTS release, we don’t have that luxury. No 18.04 or older system floating around and not worth the effort to downgrade OS.

1 Like

When you change it back after installing SDKM itself, what happens when SDKM tries to update your system packages? My understanding is SDKM installs a bunch of stuff on the host as well, which is where I worry things could go badly.

Have you tried downloading the BSP and using flash.sh directly, without installing SDKM?

Re: trailing behind, yeah. I was hoping they would have updated by now. 20.04 has been availalbe to test with for quite some time. Then again I am kinda hoping they kill the product off entirely or go back to the old GTK version.

The change is needed to pass runtime check. Change is reverted following running SDKM.

I I have not tried running the underlying tools without SDKM layer. Some of our TX2s are running on 3rd party carrier boards that have to modify the flashed contents after being prepared on host machine but before being flashed. 3rd party SW is tightly coupled to SDKM behavior in order to execute this process.

I have not tried running the underlying tools without SDKM layer.

It might be worth giving it a shot. SDKM sets up the Linux_for_Tegra folder, but the tarballs linked on that page seem to have identical contents. The BSP tarball has Linux_for_Tegra, the rootfs tarball has Linux_for_Tegra/rootfs and so on.

I’m curious how this third party software is coupled. There is a sqlite3 database in ~/.nvsdkm/sdkm.db with account credentials, download locations, and so forth. If it reads from that, it might require SDKM. Othewise (eg. if it requires you run it from inside a specific Linux_for_Tegra path) you might not need it.

Thanks! Their dependency is only on the Linux_for_Tegra folder, so it sounds like that may be viable. Next time we need to flash we’ll investigate this approach further.

Hi @kayccc,

Is there any update on supporting 20.04?

Regards,
Fabian

2 Likes

It’s planning to support at the next year. Thanks

4 Likes

Do you know that Ubuntu is releasing an LTS version each year? With your current schedule, you will never be able to support a recent Ubuntu release.

1 Like

LTS are released every 3 years for Ubuntu… That said, with Nvidia targeting 2021 for release they’re trailing LTS version by roughly a year – that’s pretty unreasonable if they intend for production use of their software.

4 Likes

Sorry – every 2 years. Fat fingers…

Yeah, a one year wait after an LTS release by Ubuntu is an unreasonable expectation to set. Come on nVidia, if you want developers to build robotics on your platforms, then keep up with the Ubuntu and ROS releases!

2 Likes

Sorry, but this is ridiculous! As people mentioned, there is a new LTS release out every two years and you PLAN on being a year behind??? Unbelievable, especially since it looks like the only “chnage” necessary is a third option for the version check. I am aware that there is more to it w.r.t. testing, but it sure looks not too complicated.

4 Likes

I am not sure if this helps but they also provide a docker image with SDK Manager. https://developer.nvidia.com/nvidia-sdk-manager#dockersupport

Finally we are there - made it into 2021~
So I may kindly ask for an update if or when SDKM for ubuntu 20.04 could be available?
Regards~

1 Like

@mail2eickhoff

FWIW, SDK Manager is basically a glorified download tool. You don’t need it to master Tegra image. You can just download tarballs directly from the download page and get much the same result, or even write something that does it for you if you feel like reinventing the wheel. I use a 18.04 VM and some scripts to make my images. Been using 20.04 since it came out, more or less. LMK if you run into any issues.