임베디드 27

[NVIDIA] 도커 디폴트 런타임 설정 변경

Docker default Runtime 설정 변경 방법 Docker의 기본 런타임을 nvidia로 설정해야 docker 빌드 작업 중에 NVCC 컴파일러와 GPU를 사용할 수 있습니다. /etc/docker/daemon.json 파일 수정 { "runtimes": { "nvidia": { "path": "nvidia-container-runtime", "runtimeArgs": [] } } } { "runtimes": { "nvidia": { "path": "nvidia-container-runtime", "runtimeArgs": [] } }, "default-runtime": "nvidia", } 1) 참조 사이트 https://github.com/dusty-nv/jetson-containers/b..

임베디드/Jetson 2023.12.05

[NVIDIA] ERROR: might be timeout in USB write. SDKManager 실행 에러 일때

SDK Manger 설치 방법 및 설명https://docs.nvidia.com/sdk-manager/install-with-sdkm-jetson/index.html#installation Install Jetson Software with SDK Manager :: NVIDIA SDK Manager DocumentationThere are many causes of various installation errors. Below is a checklist of common installation issues, which may help you recover from a broken installation. Review the summary table to identify which component fa..

임베디드/Jetson 2023.08.21

[라즈베리파이] RTL8192EU 무선랜 드라이버 설치

최고의 방법은 라즈베리파이에서 바로 인식되는 무선랜 카드를 사는 것이 가장 좋다. 위와 같은 사진이면 usb 인식은 되는 상황이니 아래를 참조해서 드라이버만 설치해주면 된다. 자세한 설정들은 아래 깃 주소에 README.md 읽으면 됨 이슈주의) Makefile은 nano가 아닌 vi로 수정할 것. 1. 1번 참조사이트 참고해서 make 빌드 시 raspberrypi-kernel-headers 경로를 못 찾는 경우 발생 => 경로를 임의로 지정해서 빌드했지만 너무 많이 나오는 설정값들.... 설정하는 것들을 default 값으로 넣었지만 에러 발생 2번 참조사이트로 해결함 2. kernel headers 문제 발생 => apt-get install 할때 raspberrypi-kernel-headers 로..

[Raspberry Pico] 라즈베리파이 피코 프로젝트 빌드 및 세팅

Raspberry Pico 프로젝트 빌드 및 Pico 윈도우로 세팅하는 법 1. pico-setup-windows 을 다운받는다. 아래 설치되는 부가항목들은 없으면 알아서 다운로드 https://github.com/ndabas/pico-setup-windows/releases Releases · ndabas/pico-setup-windows Quickly get started with Raspberry Pi Pico/RP2040 on Windows - ndabas/pico-setup-windows github.com 2. pico-sdk 를 설치한다. 1번 실행 후 설치한 폴더 안에서 pico-setup.cmd 실행 3. pico-sdk를 설치한 폴더에서 cmake 파일 복사한다. {설치경로}\pico-..

[Raspberry Pi] USB드라이버 마운트 경로 변경 시

라즈베리파이에 USB 연결 시 기본 /media/pi/[UUID 이름] 경로로 인식이 되는 상황 발생USB드라이버는 바뀌는 상황에 0000-0000 로 지정된 폴더명을 바꾸고 싶을때 처음에 드라이버 인식됬는지 확인하는 명령어1) df -h 2) sudo blkid3) sudo fdisk -l   기존에 UUID로 자동 마운트 되어서 안될 경우 /dev/sda 부분을 언마운트 시켜야함 // 참조사이트 1)sudo umount /dev/sda1sudo mount -t exfat -o uid=1000,gid=1000 /dev/sda1 /media/pi/USB\ 드라이브/    이슈주의)1. /etc/fstab 잘못수정했다가 부팅 시 못읽어들이면서 에러문만 커널에 뜨면서 부팅안되는 상황 발생           ..

[Python] 라즈베리파이에서 파이썬 사용 오류 (정리 중)

라즈베리파이에 기본 설치되는 tkinter 모듈이 없을 때 ImportError: No module named tkinter Python2.7 import Tkinter as tk #대문자 T로 바꿔줘야함 Python3 import tkinter as tk Python2.7 사용 시 SyntaxError: Non-ASCII character '\xea' in file main_tk.py on line 44, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 상단에 주석 작성 # -*- coding: utf-8 -*-

[Raspberry Pi] 라즈베리파이에서 파이썬 삭제하기

리눅스에서 파이썬 삭제하기 [주의 ] 기존 라즈베리파이 쓰고 있는 3.7버전 삭제 할 경우 python-samba 등 일부 패키지 작동하지 않음으로 특정 버전만 지울것 sudo apt autoremove python3 sudo apt autoremove python 즉 python3으로 지우지말고 버전을 입력해서 지울것 pi@raspberry:~ $ python -V Python 3.8.1 pi@raspberry:~ $ python3 -V -bash: python3: command not found pi@raspberry:~ $ sudo apt autoremove python Reading package lists... Done Building dependency tree Reading state inf..

(실행에러) Permission denied: '/dev/ttyAMA0' 에러

라즈베리파이에서 시리얼 통신 테스트 시 [Errno 13] Permission denied: '/dev/ttyAMA0' stty -F /dev/ttyAMA0 시 stty : /dev/ttyAMA0: Permission denied 권한 에러가 나오는 상황이다 라즈베리파이 시리얼 설정을 바꿔줘야한다. 아래 구문을 입력하면 다음 아래와 같은 사진이 나온다. $ sudo raspi-config 위를 끝마치면 재부팅하고 다시 시도해보자.

(주의) apt-update 시 N: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable' 해결방법

라즈베리파이 업데이트 시 주의 경고문이 발생했다. pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB] Get:5 http://raspbian...