embeded/jetson

jetracer jetcard

구차니 2026. 3. 20. 19:12

버전 차이가 있긴 한데

jetcard가 용량이 제법늘어나 있다.

 

보드리비전만 따지고 모듈 리비전은 안따지나?

[링크 : https://github.com/NVIDIA-AI-IOT/jetcard]

 

[링크 : https://m.blog.naver.com/zeta0807/221934764603]

[링크 : https://m.blog.naver.com/zeta0807/222043543005]

 

 

+

2026.03.21

jetcard로 굽고나서 부팅하니 먼가 뜨는데 안된다.

 

그래서 하라는대로 하려는데 이 미묘한(?) 함정은 멀까 ㅋㅋ

메모리 부족하니 이런거 설정해라 라고 하는데 실제로는 퍼미션에러 ㅋㅋㅋ

$ jupyter lab build
/usr/lib/python3/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.26.4) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
[LabBuildApp] JupyterLab 2.2.6
[LabBuildApp] Building in /usr/local/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (build:dev:minimize)
Build failed.
Troubleshooting: If the build failed due to an out-of-memory error, you
may be able to fix it by disabling the `dev_build` and/or `minimize` options.

If you are building via the `jupyter lab build` command, you can disable
these options like so:

jupyter lab build --dev-build=False --minimize=False

You can also disable these options for all JupyterLab builds by adding these
lines to a Jupyter config file named `jupyter_config.py`:

c.LabBuildApp.minimize = False
c.LabBuildApp.dev_build = False

If you don't already have a `jupyter_config.py` file, you can create one by
adding a blank file of that name to any of the Jupyter config directories.
The config directories can be listed by running:

jupyter --paths

Explanation:

- `dev-build`: This option controls whether a `dev` or a more streamlined
`production` build is used. This option will default to `False` (ie the
`production` build) for most users. However, if you have any labextensions
installed from local files, this option will instead default to `True`.
Explicitly setting `dev-build` to `False` will ensure that the `production`
build is used in all circumstances.

- `minimize`: This option controls whether your JS bundle is minified
during the Webpack build, which helps to improve JupyterLab's overall
performance. However, the minifier plugin used by Webpack is very memory
intensive, so turning it off may help the build finish successfully in
low-memory environments.

An error occured.
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter/lab/staging/index.js'
See the log file for details:  /tmp/jupyterlab-debug-nd1103ww.log

 

기본 패스워드는 jetson이다.

아무튼 잘 빌드된다. 역시 4GB!

$ sudo jupyter lab build
[sudo] password for jetson:
/usr/lib/python3/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.26.4) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
[LabBuildApp] JupyterLab 2.2.6
[LabBuildApp] Building in /usr/local/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (build:dev:minimize)

 

 

메모리 더 확보하려고 X 죽이려고 하는데 안네.. (gdm, gdm3 stop으로는 안됨)

역시 single user로 해야하나..

 

$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        630M        2.7G         28M        545M        3.1G
Swap:          5.9G          0B        5.9G

 

아까는 disable 안하고 stop만 해서 그런가?

아무튼 약 140MB 더 확보가 가능하다.

$ sudo systemctl disable gdm3
[sudo] password for jetson:
Synchronizing state of gdm3.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable gdm3
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        619M        2.7G         28M        546M        3.1G
Swap:          5.9G          0B        5.9G

$ sudo systemctl stop gdm3
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        475M        2.9G         27M        545M        3.3G
Swap:          5.9G          0B        5.9G

 

주피터 접속하니 475MB 에서 순간 769MB 까지 증가하더니 595MB로 줄어든다.

2기가 에서는 gdm 꺼도 스왑쓰지 않으면 위험할지도?

$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        475M        2.9G         27M        545M        3.3G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        517M        2.8G         27M        555M        3.3G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        570M        2.8G         27M        559M        3.2G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        525M        2.8G         27M        561M        3.3G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        543M        2.8G         27M        562M        3.3G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        614M        2.7G         27M        563M        3.2G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        666M        2.7G         27M        563M        3.1G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        722M        2.6G         27M        564M        3.1G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        747M        2.6G         27M        564M        3.1G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        769M        2.6G         27M        567M        3.0G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        602M        2.7G         27M        567M        3.2G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        607M        2.7G         27M        567M        3.2G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        607M        2.7G         27M        567M        3.2G
Swap:          5.9G          0B        5.9G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        595M        2.7G         27M        567M        3.2G
Swap:          5.9G          0B        5.9G

[링크 : https://eteo.tistory.com/997]

[링크 : https://forums.developer.nvidia.com/t/disabling-the-desktop-gui/257951]