{"id":16277501,"url":"https://github.com/pythops/jetson-image","last_synced_at":"2025-05-15T16:06:03.566Z","repository":{"id":38415447,"uuid":"223768505","full_name":"pythops/jetson-image","owner":"pythops","description":"💾 Create minimalist, Ubuntu based images for the Nvidia jetson boards","archived":false,"fork":false,"pushed_at":"2025-05-03T12:58:23.000Z","size":99,"stargazers_count":447,"open_issues_count":5,"forks_count":126,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-08T18:54:33.114Z","etag":null,"topics":["jetson-agx-xavier","jetson-nano","jetson-nano-2gb","jetson-orin-nano","jetson-xavier-nx","nvidia","podman","shell","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythops.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"pythops"}},"created_at":"2019-11-24T15:46:09.000Z","updated_at":"2025-05-08T17:15:24.000Z","dependencies_parsed_at":"2023-11-24T23:26:57.860Z","dependency_job_id":"18987f80-1623-4981-8f49-37849be8e635","html_url":"https://github.com/pythops/jetson-image","commit_stats":{"total_commits":136,"total_committers":10,"mean_commits":13.6,"dds":0.1470588235294118,"last_synced_commit":"3adba161ce7dfbf11fa4e60563b9f14670995221"},"previous_names":["pythops/jetson-nano-image"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythops%2Fjetson-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythops%2Fjetson-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythops%2Fjetson-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythops%2Fjetson-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythops","download_url":"https://codeload.github.com/pythops/jetson-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374465,"owners_count":22060611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jetson-agx-xavier","jetson-nano","jetson-nano-2gb","jetson-orin-nano","jetson-xavier-nx","nvidia","podman","shell","ubuntu"],"created_at":"2024-10-10T18:55:11.979Z","updated_at":"2025-05-15T16:06:03.529Z","avatar_url":"https://github.com/pythops.png","language":"Shell","funding_links":["https://github.com/sponsors/pythops"],"categories":[],"sub_categories":[],"readme":"# Nvidia Jetson Minimalist Images\n\n[![Discord][discord-badge]][chat-url]\n\n[discord-badge]: https://img.shields.io/badge/Discord-chat-5865F2?style=for-the-badge\u0026logo=discord\n[chat-url]: https://discord.gg/mfSRc9Jann\n\n## Motivation\n\nThe need for the minimalist images came from the official jetson images being large in size and containing pre-installed packages that are not necessary, resulting in the consumption of valuable disk space and memory.\n\n## Supported boards\n\n- [x] Jetson nano\n- [x] Jetson nano 2gb\n- [x] Jetson orin nano\n- [x] Jetson agx orin\n- [x] Jetso agx xavier\n- [x] Jetson xavier nx\n\n## Spec\n\n**Supported Ubuntu releases**: 20.04, 22.04, 24.04\n\n**L4T versions**: 32.x, 35.x, 36.x\n\n\u003e [!IMPORTANT]\n\u003e For jetson orin nano, you might need to update the firmware before being able to use an image based on l4t 36.x\n\u003e\n\u003e check this [link](https://www.jetson-ai-lab.com/initial_setup_jon.html) for more information.\n\n## Build the jetson image\n\n\u003e [!NOTE]\n\u003e Building the jetson image has been tested only on Linux machines.\n\nBuilding the jetson image is fairly easy. All you need to have is the following tools installed on your machine.\n\n- [podman](https://github.com/containers/podman)\n- [just](https://github.com/casey/just)\n- [jq](https://github.com/stedolan/jq)\n- [qemu-user-static]()\n\nStart by cloning the repo from github\n\n```bash\ngit clone https://github.com/pythops/jetson-image\ncd jetson-image\n```\n\nThen create a new rootfs with the desired ubuntu version.\n\n\u003e [!NOTE]\n\u003e Only the orin family boards can use ubuntu 24.04\n\nFor ubuntu 24.04\n\n```\njust build-jetson-rootfs 24.04\n```\n\nThis will create the rootfs in the `rootfs` directory.\n\n\u003e [!TIP]\n\u003e You can modify the `Containerfile.rootfs.*` files to add any tool or configuration that you will need in the final image.\n\nNext, use the following command to build the Jetson image:\n\n```\n$ just build-jetson-image -b \u003cboard\u003e -r \u003crevision\u003e -d \u003cdevice\u003e -l \u003cl4t version\u003e\n```\n\n\u003e [!TIP]\n\u003e If you wish to add some specific nvidia packages that are present in the `common` section from [this link](https://repo.download.nvidia.com/jetson/)\n\u003e such as `libcudnn8` for instance, then edit the file`l4t_packages.txt` in the root directory, add list each package name on separate line.\n\nFor example, to build an image for `jetson-orin-nano` board:\n\n```bash\n$ just build-jetson-image -b jetson-orin-nano -d SD -l 36\n```\n\nRun with `-h` for more information\n\n```bash\njust build-jetson-image -h\n```\n\n\u003e [!NOTE]\n\u003e Not every jetson board can be updated to the latest l4t version.\n\u003e\n\u003e Check this [link](https://developer.nvidia.com/embedded/jetson-linux-archive) for more information.\n\nThe Jetson image will be built and saved in the current directory in a file named `jetson.img`\n\n## Flashing the image into your board\n\nTo flash the jetson image, just run the following command:\n\n```\n$ sudo just flash-jetson-image \u003cjetson image file\u003e \u003cdevice\u003e\n```\n\nWhere `device` is the name of the sdcard/usb identified by your system.\nFor instance, if your sdard is recognized as `/dev/sda`, then replace `device` by `/dev/sda`\n\n\u003e [!NOTE]\n\u003e There are numerous tools out there to flash images to sd card that you can use. I stick with `dd` as it's simple and does the job.\n\n## Nvidia Libraries\n\nOnce you boot the board with the new image, then you can install Nvidia libraries using `apt`\n\n```bash\n$ sudo apt install -y libcudnn8 libcudnn8-dev ...\n```\n\n## Result\n\nFor the `jetson orin nano` for instance with the new image, only 220MB of RAM is used, which leaves plenty of RAM for your projects !\n\n![](https://github.com/user-attachments/assets/7404e20f-3ccd-42c7-b8d6-e93c635aa6f0)\n\n## License\n\nAGPLv3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythops%2Fjetson-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythops%2Fjetson-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythops%2Fjetson-image/lists"}