NVIDIA/Jetson

Jetson debugging

Jetson 장치에서 작업을 진행하다 디버깅 작업이 필요할 때 진행해야 하는 방법을 설명한다.

SDK Manager로 장치를 플래시 할 때는 아래 공통작업은 필요하지 않다.

 

공통 작업

  • Linux_for_Tegra/tools 에서 l4t_create_default_user.sh 스크립트로 디폴트 유저 생성
  • cd tools
  • sudo ./l4t_create_default_user.sh -u user -p user -n user -a
  • 그 다음 flash 진행
  • sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1


uart 디버깅

  • flash 후 host pc 에서 micro 5pin usb 연결하여 장치가 잡히는 것을 확인 ls /dev/ttyACM0
  • sudo apt install picocom -y
  • sudo picocom /dev/ACM0 연결
  • 설정한 username 과 password 로 로그인 하여 dmesg 출력 확인


ssh 디버깅

  • host pc 에서 ifconfig 명령어로 192.168.55.100 확인
  • sudo ssh user@192.168.55.1 로 접속
  • 설정한 username 과 password 로 로그인 하여 dmesg 출력 확인

 

'NVIDIA > Jetson' 카테고리의 다른 글

Customized Logo  (0) 2023.04.22
Jetson Remote Control  (0) 2023.04.22
L4T(Linux for Tegra), JETSON  (0) 2023.02.01
JETSON backup 이미지 만들기  (0) 2023.01.28
Build NVIDIA Jetson kernel  (0) 2023.01.28