pythops / jetson-image

Create minimalist, Ubuntu based images for the Nvidia jetson boards
305 stars 100 forks source link

Error building Jetson Nano 24.04 image #136

Closed CristianEduardMihai closed 1 week ago

CristianEduardMihai commented 1 week ago

Hi! I'm trying to build a ubuntu 22.04 image for the Jetson nano 4gb dev kit. just build-jetson-rootfs 24.04 ran without any issue, however just build-jetson-image -b jetson-nano -d SD -l 36 encountered some dependency erros: logs-build.txt I haven't tested to see if the same error would come up with another version, like 22.04, but when i do it i'll update the issue.

pythops commented 1 week ago

Jetson nano does not support ubuntu 24.04. The reason is that some nvidia libraries depend on some tools that are not in ubuntu 24.04. You option is to choose either ubuntu 20.04 or 22.04

CristianEduardMihai commented 1 week ago

Update: Ubuntu 22.04 seems to error out at installing cuda-toolkit build-logs-22-04.txt Will post an update after removing the cuda-toolkit from Containerfile.image.*

pythops commented 1 week ago

You can not use -l 36 for jetson nano. https://developer.nvidia.com/embedded/jetson-linux-archive

pythops commented 1 week ago

for jetson nano, try this instead

just build-jetson-image -b jetson-nano -r 100 
CristianEduardMihai commented 1 week ago

just build-jetson-image -b jetson-nano -r 100 -d SD -l 32 succesfully built will try the command you suggested above too i had to remove all cuda references from the Container files, won't use it anyways