- Problem
Hello.
I’m not good at English so some parts may be difficult to understand.
I apologize in advance.
I’m trying to run a DC motor on a Jetson AGX Xvier.
However, I wanted to check the jetson-io config as there are no pin outputs.
When I use the command below it crashes instantly.
$ sudo /opt/nvidia/jetson-io/jetson-io.py
Please tell me how I should deal with this.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
- Coping strategies already tried
1.Prerequisite
$ sudo apt update
$ sudo apt upgrade
$ sudo reboot
- Editing Source Code 1
#dtbdir = os.path.join(self.bootdir, ‘dtb’)
dtbdir = os.path.join(self.bootdir, ‘’)
$ sudo reboot
- Editing Source Code 2 (After try “Editing Source Code 1”)
dtbdir = os.path.join(self.bootdir, ‘dtb’)
# dtbdir = os.path.join(self.bootdir, ‘’)
$ sudo reboot
- Rename .dtb file
$ sudo /opt/nvidia/jetson-io/config-by-pin.py
Traceback (most recent call last):
File “/opt/nvidia/jetson-io/config-by-pin.py”, line 84, in
main()
File “/opt/nvidia/jetson-io/config-by-pin.py”, line 39, in main
jetson = board.Board()
File “/opt/nvidia/jetson-io/Jetson/board.py”, line 223, in init
self.dtb = _board_get_dtb(self.compat, self.model, dtbdir)
File “/opt/nvidia/jetson-io/Jetson/board.py”, line 116, in _board_get_dtb
raise RuntimeError(“Multiple DTBs found for %s!” % model)
RuntimeError: Multiple DTBs found for Jetson-AGX!
$ ls /boot/dtb
kernel_tegra194-p2888-0001-p2822-0000-user-custom.dtb
kernel_tegra194-p2888-0001-p2822-0000.dtb.bkp
kernel_tegra194-p2888-0001-p2822-0000.dtb.sig
tegra186-p3636-0001-p3509-0000-a01-adafruit-sph0645lm4h.dtbo
tegra186-p3636-0001-p3509-0000-a01-adafruit-uda1334a.dtbo
tegra186-p3636-0001-p3509-0000-a01-fe-pi-audio.dtbo
tegra186-p3636-0001-p3509-0000-a01-hdr40.dtbo
tegra186-p3636-0001-p3509-0000-a01-m2ke.dtbo
tegra186-p3636-0001-p3509-0000-a01-respeaker-4-mic-array.dtbo
tegra186-p3636-0001-p3509-0000-a01-respeaker-4-mic-lin-array.dtbo
tegra186-p3636-0001-p3509-0000-a01.dtb
tegra186-quill-p3310-1000-a00-00-base.dtb
tegra186-quill-p3310-1000-as-0888.dtb
tegra186-quill-p3310-1000-c03-00-base-adafruit-sph0645lm4h.dtbo
tegra186-quill-p3310-1000-c03-00-base-adafruit-uda1334a.dtbo
tegra186-quill-p3310-1000-c03-00-base-csi.dtbo
tegra186-quill-p3310-1000-c03-00-base-fe-pi-audio.dtbo
tegra186-quill-p3310-1000-c03-00-base-hdr30.dtbo
tegra186-quill-p3310-1000-c03-00-base-hdr40.dtbo
tegra186-quill-p3310-1000-c03-00-base-m2ke.dtbo
tegra186-quill-p3310-1000-c03-00-base-respeaker-4-mic-array.dtbo
tegra186-quill-p3310-1000-c03-00-base-respeaker-4-mic-lin-array.dtbo
tegra186-quill-p3310-1000-c03-00-base.dtb
tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dtb
tegra186-quill-p3489-0888-a00-00-base.dtb
tegra186-quill-p3489-1000-a00-00-ucm1.dtb
tegra186-quill-p3489-1000-a00-00-ucm2.dtb
tegra194-p2888-0001-p2822-0000-adafruit-sph0645lm4h.dtbo
tegra194-p2888-0001-p2822-0000-adafruit-uda1334a.dtbo
tegra194-p2888-0001-p2822-0000-csi.dtbo
tegra194-p2888-0001-p2822-0000-fe-pi-audio.dtbo
tegra194-p2888-0001-p2822-0000-hdr40.dtbo
tegra194-p2888-0001-p2822-0000-m2ke.dtbo
tegra194-p2888-0001-p2822-0000-maxn.dtb
tegra194-p2888-0001-p2822-0000-maxn.dtb.sig
tegra194-p2888-0001-p2822-0000-respeaker-4-mic-array.dtbo
tegra194-p2888-0001-p2822-0000-respeaker-4-mic-lin-array.dtbo
tegra194-p2888-0001-p2822-0000.dtb
tegra194-p2888-0001-p2822-0000.dtb.sig
tegra194-p2888-0004-e3900-0000-adafruit-sph0645lm4h.dtbo
tegra194-p2888-0004-e3900-0000-adafruit-uda1334a.dtbo
tegra194-p2888-0004-e3900-0000-csi.dtbo
tegra194-p2888-0004-e3900-0000-dual-imx274.dtbo
tegra194-p2888-0004-e3900-0000-fe-pi-audio.dtbo
tegra194-p2888-0004-e3900-0000-hdr40.dtbo
tegra194-p2888-0004-e3900-0000-imx274.dtbo
tegra194-p2888-0004-e3900-0000-respeaker-4-mic-array.dtbo
tegra194-p2888-0004-e3900-0000-respeaker-4-mic-lin-array.dtbo
tegra194-p2888-0004-e3900-0000.dtb
tegra194-p2888-0004-e3900-0000.dtb.sig
tegra194-p2888-0008-p2822-0000.dtb
tegra194-p2888-0008-p2822-0000.dtb.sig
tegra194-p3668-all-p3509-0000-adafruit-sph0645lm4h.dtbo
tegra194-p3668-all-p3509-0000-adafruit-uda1334a.dtbo
tegra194-p3668-all-p3509-0000-camera-imx219-dual.dtbo
tegra194-p3668-all-p3509-0000-camera-imx477-dual.dtbo
tegra194-p3668-all-p3509-0000-camera-imx477-imx219.dtbo
tegra194-p3668-all-p3509-0000-fe-pi-audio.dtbo
tegra194-p3668-all-p3509-0000-hdr40.dtbo
tegra194-p3668-all-p3509-0000-m2ke.dtbo
tegra194-p3668-all-p3509-0000-respeaker-4-mic-array.dtbo
tegra194-p3668-all-p3509-0000-respeaker-4-mic-lin-array.dtbo
tegra194-p3668-all-p3509-0000.dtb
tegra194-p3668-all-p3509-0000.dtb.sig
$ sudo mv kernel_tegra194-p2888-0001-p2822-0000.dtb kernel_tegra194-p2888-0001-p2822-0000.dtb.bkp
- Manual parameter setting error
$ sudo /opt/nvidia/jetson-io/config-by-pin.py -p 5
Traceback (most recent call last):
File “/opt/nvidia/jetson-io/config-by-pin.py”, line 84, in
main()
File “/opt/nvidia/jetson-io/config-by-pin.py”, line 39, in main
jetson = board.Board()
File “/opt/nvidia/jetson-io/Jetson/board.py”, line 223, in init
self.dtb = _board_get_dtb(self.compat, self.model, dtbdir)
File “/opt/nvidia/jetson-io/Jetson/board.py”, line 116, in _board_get_dtb
raise RuntimeError(“Multiple DTBs found for %s!” % model)
RuntimeError: Multiple DTBs found for Jetson-AGX!
$ sudo mkdir -p /boot/dtb
$ ls /boot/*.dtb | xargs -I{} sudo ln -s {} /boot/dtb/
- A01 board(?)
$ sudo cp -v /boot/tegra186-p3636-0001-p3509-0000-[ab]0[012].dtb /boot/dtb/
‘/boot/tegra186-p3636-0001-p3509-0000-a01.dtb’ → ‘/boot/dtb/tegra186-p3636-0001-p3509-0000-a01.dtb’
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
- Other Information
- Xavier version
$ cat /etc/nv_tegra_release
.# R32 (release), REVISION: 7.2, GCID: 30192233, BOARD: t186ref, EABI: aarch64, DATE: Sun Apr 17 09:53:50 UTC 2022
- Jetpack version
$ sudo apt show nvidia-jetpack
Package: nvidia-jetpack
Version: 4.6.2-b5
Priority: standard
Section: metapackages
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-cuda (= 4.6.2-b5), nvidia-opencv (= 4.6.2-b5), nvidia-cudnn8 (= 4.6.2-b5), nvidia-tensorrt (= 4.6.2-b5), nvidia-visionworks (= 4.6.2-b5), nvidia-container (= 4.6.2-b5), nvidia-vpi (= 4.6.2-b5), nvidia-l4t-jetson-multimedia-api (>> 32.7-0), nvidia-l4t-jetson-multimedia-api (<< 32.8-0)
Homepage: http://developer.nvidia.com/jetson
Download-Size: 29.4 kB
APT-Sources: https://repo.download.nvidia.com/jetson/t194 r32.7/main arm64 Packages
Description: NVIDIA Jetpack Meta Package
N: 追加レコードが 1 件あります。表示するには ‘-a’ スイッチを付けてください。
- Boot config(?)
$ cat /etc/nv_boot_control.conf
TNSPEC 2888-400-0004-G.0-1-2-jetson-xavier-mmcblk0p1
COMPATIBLE_SPEC 2888-400-0004–1-2-jetson-agx-xavier-devkit-
TEGRA_CHIPID 0x19
TEGRA_OTA_BOOT_DEVICE /dev/mmcblk0boot0
TEGRA_OTA_GPT_DEVICE /dev/mmcblk0boot1
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
- References