Jetson orin nx 安装jtop失败

我使用Jetson_Linux_R35.2.1_aarch64.tbz2与Tegra_Linux_Sample-Root-Filesystem_R35.2.1_aarch64.tbz2烧录到jetson orin nx上,安装jtop失败:
ying@ying-desktop:~$ sudo -H pip3 install -U jetson-stats

Requirement already up-to-date: jetson-stats in /usr/local/lib/python3.8/dist-packages (4.2.1)

Requirement already satisfied, skipping upgrade: distro in /usr/lib/python3/dist-packages (from jetson-stats) (1.4.0)

Requirement already satisfied, skipping upgrade: smbus2 in /usr/local/lib/python3.8/dist-packages (from jetson-stats) (0.4.2)

ying@ying-desktop:~$ pip3 -V

pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

ying@ying-desktop:~$ python --version

Python 3.8.10

Hello @user87933,

I will move your post to the Orin NX forums if you don’t mind, that is a better fit I think.

In the meantime it would help if you could specify what exactly your issue is. I suspect some Python version mismatch, but i am not completely clear. A bit more explanation would be great!

Thanks!

Didn’t saw the error, looks like install successfully.
Did you run jtop by “sudo jtop” to confirm?
Below is my install on my device with J5.1.1(r35.3.1)

nvidia@tegra-ubuntu:~$ sudo -H pip3 install -U jetson-stats
Collecting jetson-stats
  Downloading jetson-stats-4.2.1.tar.gz (115 kB)
     |████████████████████████████████| 115 kB 929 kB/s
Requirement already satisfied, skipping upgrade: distro in /usr/lib/python3/dist-packages (from jetson-stats) (1.4.0)
Collecting smbus2
  Downloading smbus2-0.4.2-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: jetson-stats
  Building wheel for jetson-stats (setup.py) ... done
  Created wheel for jetson-stats: filename=jetson_stats-4.2.1-py3-none-any.whl size=154248 sha256=271a9ddc5ad70beb67f4fb5391a88554f2fb21a0d5f2ae77695303e3d5955908
  Stored in directory: /root/.cache/pip/wheels/ba/c9/33/0cac8e299478174eb10280e003e8eccd2ae8a53c0dc8470060
Successfully built jetson-stats
Installing collected packages: smbus2, jetson-stats
Successfully installed jetson-stats-4.2.1 smbus2-0.4.2

我在J5.1.1(r35.3.1)上安装jtop是可以成功的,J5.1.1(r35.3.1)上通过jetson io配置imx477,能看见设备节点video0,但是无法通过nvgstcapture看见图像,所以退回到J5.1(r35.2.1),在J5.1(r35.2.1)上配置jetson io 配置imx477能正常看见图像,但是无法运行jtop:

ying@ying-desktop:~$ jtop

The jtop.service is not active. Please run:

sudo systemctl restart jtop.service

ying@ying-desktop:~$ sudo jtop

[sudo] password for ying:

The jtop.service is not active. Please run:

sudo systemctl restart jtop.service

ying@ying-desktop:~$ sudo systemctl restart jtop.service

ying@ying-desktop:~$ sudo jtop

The jtop.service is not active. Please run:

sudo systemctl restart jtop.service

Did you verify the IMX477 driver by v4l2-ctl with r35.3.1?

r35.3.1通过jetson io配置,通过nvgstcapture查看图像dma报错,dev目录下是有节点video0存在的。





Could you verify by below command.

v4l2-ctl --set-fmt-video=width=3840,height=2160 --set-ctrl bypass_mode=0 --stream-mmap

通过v4l2-ctl --set-fmt-video=width=3840,height=2160 --set-ctrl bypass_mode=0 --stream-mmap设置没有返回


我通过dmesg查看打印,有报错:
[ 11.484711] tegra_actmon d230000.actmon: initialization Completed for the device mc_all

[ 11.493104] hvc_sysfs: hypervisor is not present

[ 11.533342] ALSA device list:

[ 11.536392] No soundcards found.

[ 11.540529] Freeing unused kernel memory: 3968K

[ 11.545262] Run /init as init process

[ 11.549027] with arguments:

[ 11.549027] /init

[ 11.549028] nv-auto-config

[ 11.549029] with environment:

[ 11.549030] HOME=/

[ 11.549031] TERM=linux

[ 11.549032] mminit_loglevel=4

[ 11.561476] Root device found: PARTUUID=ef880900-aa07-49b8-8ad7-808c4b55f158

[ 11.867817] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)

[ 11.878718] Rootfs mounted over PARTUUID=ef880900-aa07-49b8-8ad7-808c4b55f158

[ 11.890588] random: crng init done

[ 11.898077] Switching from initrd to actual rootfs

[ 11.948909] systemd[1]: System time before build time, advancing clock.

[ 11.994144] systemd[1]: systemd 245.4-4ubuntu3.19 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)

[ 12.015245] mmc1: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA 64-bit

[ 12.017792] systemd[1]: Detected architecture arm64.

[ 12.060386] systemd[1]: Set hostname to .

[ 12.176546] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.

[ 12.189578] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)

[ 12.199162] systemd[1]: Created slice system-modprobe.slice.

[ 12.220519] systemd[1]: Created slice system-serial\x2dgetty.slice.

[ 12.240493] systemd[1]: Created slice User and Session Slice.

[ 12.260340] systemd[1]: Started Forward Password Requests to Wall Directory Watch.

[ 12.284518] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.

[ 12.308321] systemd[1]: Reached target User and Group Name Lookups.

[ 12.328280] systemd[1]: Reached target Slices.

[ 12.344273] systemd[1]: Reached target Mounting snaps.

[ 12.364266] systemd[1]: Reached target Mounted snaps.

[ 12.384271] systemd[1]: Reached target Swap.

[ 12.400500] systemd[1]: Listening on RPCbind Server Activation Socket.

[ 12.420377] systemd[1]: Listening on Syslog Socket.

[ 12.436371] systemd[1]: Listening on fsck to fsckd communication Socket.

[ 12.460325] systemd[1]: Listening on initctl Compatibility Named Pipe.

[ 12.484471] systemd[1]: Listening on Journal Audit Socket.

[ 12.504357] systemd[1]: Listening on Journal Socket (/dev/log).

[ 12.524387] systemd[1]: Listening on Journal Socket.

[ 12.544387] systemd[1]: Listening on udev Control Socket.

[ 12.564341] systemd[1]: Listening on udev Kernel Socket.

[ 12.585304] systemd[1]: Mounting Huge Pages File System…

[ 12.605226] systemd[1]: Mounting POSIX Message Queue File System…

[ 12.625173] systemd[1]: Mounting RPC Pipe File System…

[ 12.645211] systemd[1]: Mounting Kernel Debug File System…

[ 12.665195] systemd[1]: Mounting Kernel Trace File System…

[ 12.685473] systemd[1]: Starting Journal Service…

[ 12.705575] systemd[1]: Starting Set the console keyboard layout…

[ 12.729458] systemd[1]: Starting Create list of static device nodes for the current kernel…

[ 12.757346] systemd[1]: Starting Load Kernel Module chromeos_pstore…

[ 12.780338] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.

[ 12.789758] systemd[1]: Starting Load Kernel Module efi_pstore…

[ 12.809322] systemd[1]: Starting Load Kernel Module pstore_blk…

[ 12.829229] systemd[1]: Starting Load Kernel Module pstore_zone…

[ 12.853180] systemd[1]: Starting Load Kernel Module ramoops…

[ 12.877220] systemd[1]: Starting NVIDIA specific first-boot udev script…

[ 12.905281] systemd[1]: Started Nameserver information manager.

[ 12.924424] systemd[1]: Reached target Network (Pre).

[ 12.944635] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.

[ 12.953984] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.

[ 12.965070] systemd[1]: Starting Load Kernel Modules…

[ 12.976277] nvmap_heap_init: nvmap_heap_init: created heap block cache

[ 12.983550] nvmap_page_pool_init: Total RAM pages: 1878203

[ 12.989221] nvmap_page_pool_init: nvmap page pool size: 234775 pages (917 MB)

[ 12.996776] nvmap_background_zero_thread: PP zeroing thread starting.

[ 13.005378] systemd[1]: Starting Remount Root and Kernel File Systems…

[ 13.012829] EXT4-fs (nvme0n1p1): re-mounted. Opts: (null)

[ 13.030919] nvgpu: 17000000.ga10b nvgpu_nvhost_syncpt_init:135 [INFO] syncpt_unit_base 60000000 syncpt_unit_size 4000000 size 10000

[ 13.049531] systemd[1]: Starting udev Coldplug all Devices…

[ 13.074126] systemd[1]: Started Journal Service.

[ 13.378942] systemd-journald[259]: Received client request to flush runtime journal.

[ 13.880863] nvidia: loading out-of-tree module taints kernel.

[ 13.905486] nv_platform 13800000.display: Adding to iommu group 53

[ 13.908934] platform 13800000.display:nvdisplay-niso: Adding to iommu group 54

[ 13.919431] NVRM: loading NVIDIA UNIX Open Kernel Module for aarch64 35.3.1 Release Build (buildbrain@mobile-u64-6289-d7000) Sun Mar 19 08:09:33 PDT 2023

[ 13.938861] spi-tegra114 3210000.spi: Adding to iommu group 2

[ 13.950958] spi-tegra114 3230000.spi: Adding to iommu group 2

[ 13.953993] imx477 9-001a: tegracam sensor driver:imx477_v2.0.6

[ 13.966865] tegra-hda 3510000.hda: Adding to iommu group 55

[ 13.970924] r8169 0008:01:00.0: Adding to iommu group 11

[ 13.971300] r8169 0008:01:00.0: enabling device (0000 → 0003)

[ 13.998889] nvadsp 2993000.adsp: Adding to iommu group 56

[ 14.000831] nvadsp 2993000.adsp: in probe()…

[ 14.003694] tegra-adma 2930000.adma: Tegra210 ADMA driver registered 16 channels

[ 14.004692] nvadsp 2993000.adsp: nvadsp_app_module_probe

[ 14.023376] tegra210-adsp aconnect@2a41000:adsp_audio: Adding to iommu group 56

[ 14.023457] tegra210_adsp_audio_probe: platform probe started

[ 14.023708] r8169 0008:01:00.0 eth0: RTL8168h/8111h, 48:b0:2d:d8:cb:48, XID 541, IRQ 305

[ 14.023714] r8169 0008:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]

[ 14.027093] tegra210-adsp tegra210-adsp: Default param-type to BYTE for mp3-dec1

[ 14.028451] tegra210-adsp tegra210-adsp: Default param-type to BYTE for spkprot

[ 14.029713] tegra210-adsp tegra210-adsp: Default param-type to BYTE for src

[ 14.030652] tegra210-adsp tegra210-adsp: Default param-type to BYTE for aac-dec1

[ 14.030916] tegra210-adsp tegra210-adsp: Default param-type to BYTE for aec

[ 14.031099] irq: IRQ307: trimming hierarchy from :pmc@c360000

[ 14.031168] tegra210-adsp tegra210-adsp: Default param-type to BYTE for wire

[ 14.031173] tegra210-adsp tegra210-adsp: adma channel page address dt entry not found

[ 14.031175] tegra210-adsp tegra210-adsp: using adma channel page 0

[ 14.031280] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=3 as /devices/platform/3510000.hda/sound/card0/input6

[ 14.031283] nvadsp 2993000.adsp: ADSP OS firmware already loaded

[ 14.031371] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=7 as /devices/platform/3510000.hda/sound/card0/input7

[ 14.031448] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=8 as /devices/platform/3510000.hda/sound/card0/input8

[ 14.031516] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=9 as /devices/platform/3510000.hda/sound/card0/input9

[ 14.038170] fusb301 1-0025: failed to read device id, err : 0xffffff87

[ 14.051052] cpu-throttle-alert cooling device registered.

[ 14.056298] fusb301 1-0025: fusb301 not support

[ 14.061046] gpu-throttle-alert cooling device registered.

[ 14.061229] fusb301: probe of 1-0025 failed with error -22

[ 14.067390] cv0-throttle-alert cooling device registered.

[ 14.067729] cv1-throttle-alert cooling device registered.

[ 14.068010] cv2-throttle-alert cooling device registered.

[ 14.068675] soc0-throttle-alert cooling device registered.

[ 14.069517] soc1-throttle-alert cooling device registered.

[ 14.069905] soc2-throttle-alert cooling device registered.

[ 14.070222] hot-surface-alert cooling state: 0 → 1

[ 14.092513] hot-surface-alert cooling device registered.

[ 14.113845] tegra-asoc: sound: Adding to iommu group 56

[ 14.255017] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx477 9-001a bound

[ 14.256326] imx477 10-001a: tegracam sensor driver:imx477_v2.0.6

[ 14.290297] cryptd: max_cpu_qlen set to 1000

[ 14.435848] tegra210-adsp tegra210-adsp: Loaded app wire

[ 14.435854] tegra210-adsp tegra210-adsp: Loaded app apm

[ 14.435856] tegra210-adsp tegra210-adsp: Loaded app adma

[ 14.435858] tegra210-adsp tegra210-adsp: Loaded app adma_tx

[ 14.435862] nvadsp_set_adma_dump_reg: callback for adma reg dump is sent to 00000000908cc7f1

[ 14.462369] tegra210-adsp tegra210-adsp: Tegra210 ADSP driver successfully registered

[ 14.557364] imx477 10-001a: imx477_board_setup: error during i2c read probe (-121)

[ 14.565200] imx477 10-001a: board setup failed

[ 14.571949] imx477: probe of 10-001a failed with error -121

[ 14.859699] using random self ethernet address

[ 14.866953] using random host ethernet address

[ 15.148642] loop: module loaded

[ 15.331538] Mass Storage Function, version: 2009/09/11

[ 15.331545] LUN: removable file: (no medium)

[ 15.336096] using random self ethernet address

[ 15.342076] using random host ethernet address

[ 15.356069] rndis0: HOST MAC 56:8c:5f:6b:66:38

[ 15.356081] rndis0: MAC 56:8c:5f:6b:66:39

[ 15.357066] usb0: HOST MAC 56:8c:5f:6b:66:3a

[ 15.357075] usb0: MAC 56:8c:5f:6b:66:3b

[ 15.358006] tegra-xudc 3550000.xudc: EP 0 (type: ctrl, dir: out) enabled

[ 15.360883] l4tbr0: port 1(rndis0) entered blocking state

[ 15.360907] l4tbr0: port 1(rndis0) entered disabled state

[ 15.361041] device rndis0 entered promiscuous mode

[ 15.366183] l4tbr0: port 2(usb0) entered blocking state

[ 15.366196] l4tbr0: port 2(usb0) entered disabled state

[ 15.366322] device usb0 entered promiscuous mode

[ 15.632286] Generic FE-GE Realtek PHY r8169-8-100:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-8-100:00, irq=IGNORE)

[ 15.832406] r8169 0008:01:00.0 eth0: Link is Down

[ 16.769516] pstore: Using crash dump compression: deflate

[ 16.769552] printk: console [ramoops-1] enabled

[ 16.769554] pstore: Registered ramoops as persistent store backend

[ 16.769556] ramoops: using 0x200000@0x268000000, ecc: 0

[ 16.858068] CPU4: shutdown

[ 16.860972] psci: CPU4 killed (polled 0 ms)

[ 16.898410] CPU5: shutdown

[ 16.901289] psci: CPU5 killed (polled 0 ms)

[ 16.934145] nvgpu: 17000000.ga10b tpc_pg_mask_store:1067 [INFO] no value change, same mask already set

[ 17.081965] nvgpu: 17000000.ga10b gk20a_scale_init:539 [INFO] enabled scaling for GPU

[ 17.260217] zram: Added device: zram0

[ 17.263716] zram: Added device: zram1

[ 17.275271] zram: Added device: zram2

[ 17.280438] zram: Added device: zram3

[ 17.351405] zram0: detected capacity change from 0 to 961642496

[ 17.380297] Adding 939100k swap on /dev/zram0. Priority:5 extents:1 across:939100k SS

[ 17.384009] zram1: detected capacity change from 0 to 961642496

[ 17.432609] Adding 939100k swap on /dev/zram1. Priority:5 extents:1 across:939100k SS

[ 17.434645] zram2: detected capacity change from 0 to 961642496

[ 17.468314] Adding 939100k swap on /dev/zram2. Priority:5 extents:1 across:939100k SS

[ 17.470454] zram3: detected capacity change from 0 to 961642496

[ 17.512409] Adding 939100k swap on /dev/zram3. Priority:5 extents:1 across:939100k SS

[ 18.158404] fuse: init (API version 7.32)

[ 18.309647] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64 35.3.1 Release Build (buildbrain@mobile-u64-6289-d7000) Sun Mar 19 08:09:35 PDT 2023

[ 18.542787] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x2080013f result 0x56:

[ 18.543925] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x2080017e result 0x56:

[ 18.549279] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x2080014a result 0x56:

[ 18.629225] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 18.629751] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x730190 result 0x56:

[ 19.423577] r8169 0008:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[ 19.423632] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[ 25.475228] pwm-tegra-tachometer 39c0000.tachometer: Tachometer Overflow is detected

Could you try connect to another CSI port.

目前只有一台设备,只有一个csi端口。我在同一台设备上测试过J5.1(r35.2.1),是完全可以出图的,J5.1.1(r35.3.1)是不可以出图的,唯一的区别就是jetpack的版本

J5.1.1(r35.3.1)是通过sdkmanager生产的文件系统,J5.1(r35.2.1)是通过
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh
生成的文件系统,通过

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \

-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” \

–showlogs --network usb0 p3509-a02+p3767-0000 internal
烧录的,所有硬件都是同一个,只有软件方便面的差异

我在J5.1.1(r35.3.1)是通过sdkmanager生产的文件系统里执行
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh
生成文件系统以后烧录到orin nx里,imx477可以正常出图了,但是jtop又无法安装了:
ying@ying-desktop:~$ jtop

The jtop.service is not active. Please run:

sudo systemctl restart jtop.service

ying@ying-desktop:~$ sudo jtop

[sudo] password for ying:

The jtop.service is not active. Please run:

sudo systemctl restart jtop.service

ying@ying-desktop:~$ sudo systemctl restart jtop.service

ying@ying-desktop:~$ sudo jtop

The jtop.service is not active. Please run:

sudo systemctl restart jtop.service

如果用sdkmanager生成的文件系统不执行上述脚本,直接烧录进orin nx 里是可以安装jtop的,但是imx477无法出图

Could you copy the dtb and nv_imx477.ko from the working system and restore to the jtop working system.

You should be able know which dtb file by checking /boot/extlinux/extlinux.conf

我对比了r35.2.1与r35.3.1的/boot/extlinux/extlinux.conf文件


我把r35.2.1的/boot/kernel_tegra234-p3767-0000-p3509-a02-user-custom.dtb替换
/boot/kernel_tegra234-p3767-0001-p3768-0000-a0-user-custom.dtb,然后修改/boot/extlinux/extlinux.conf文件,重启以后依旧没法出图,dmesg查看log:
[ 12.411573] nvgpu: 17000000.ga10b nvgpu_nvhost_syncpt_init:135 [INFO] syncpt_unit_base 60000000 syncpt_unit_size 4000000 size 10000

[ 12.429058] systemd[1]: Starting udev Coldplug all Devices…

[ 12.449661] systemd[1]: Started Journal Service.

[ 12.762199] systemd-journald[253]: Received client request to flush runtime journal.

[ 13.272243] nvidia: loading out-of-tree module taints kernel.

[ 13.324384] nv_platform 13800000.display: Adding to iommu group 53

[ 13.326015] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6

[ 13.329384] spi-tegra114 3210000.spi: Adding to iommu group 2

[ 13.329769] platform 13800000.display:nvdisplay-niso: Adding to iommu group 54

[ 13.331381] NVRM: loading NVIDIA UNIX Open Kernel Module for aarch64 35.3.1 Release Build (buildbrain@mobile-u64-6289-d7000) Sun Mar 19 08:09:33 PDT 2023

[ 13.333988] spi-tegra114 3230000.spi: Adding to iommu group 2

[ 13.337564] r8169 0008:01:00.0: Adding to iommu group 11

[ 13.337939] r8169 0008:01:00.0: enabling device (0000 → 0003)

[ 13.338033] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)

[ 13.351827] imx219 9-0010: board setup failed

[ 13.357323] imx219: probe of 9-0010 failed with error -121

[ 13.364934] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6

[ 13.366073] tegra-hda 3510000.hda: Adding to iommu group 55

[ 13.366635] tegra-adma 2930000.adma: Tegra210 ADMA driver registered 16 channels

[ 13.369002] nvadsp 2993000.adsp: Adding to iommu group 56

[ 13.369156] nvadsp 2993000.adsp: in probe()…

[ 13.369922] nvadsp 2993000.adsp: nvadsp_app_module_probe

[ 13.378360] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)

[ 13.384101] r8169 0008:01:00.0 eth0: RTL8168h/8111h, 48:b0:2d:d8:cb:48, XID 541, IRQ 305

[ 13.386153] r8169 0008:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]

[ 13.388951] cpu-throttle-alert cooling device registered.

[ 13.389026] gpu-throttle-alert cooling device registered.

[ 13.389070] cv0-throttle-alert cooling device registered.

[ 13.389115] cv1-throttle-alert cooling device registered.

[ 13.389159] cv2-throttle-alert cooling device registered.

[ 13.389210] soc0-throttle-alert cooling device registered.

[ 13.389248] soc1-throttle-alert cooling device registered.

[ 13.389285] soc2-throttle-alert cooling device registered.

[ 13.389358] hot-surface-alert cooling device registered.

[ 13.400402] imx219 10-0010: board setup failed

[ 13.408284] imx219: probe of 10-0010 failed with error -121

[ 13.409497] tegra210-adsp aconnect@2a41000:adsp_audio: Adding to iommu group 56

[ 13.416176] tegra210_adsp_audio_probe: platform probe started

[ 13.416820] tegra210-adsp tegra210-adsp: Default param-type to BYTE for mp3-dec1

[ 13.417081] tegra210-adsp tegra210-adsp: Default param-type to BYTE for spkprot

[ 13.417334] tegra210-adsp tegra210-adsp: Default param-type to BYTE for src

[ 13.417599] tegra210-adsp tegra210-adsp: Default param-type to BYTE for aac-dec1

[ 13.420845] tegra210-adsp tegra210-adsp: Default param-type to BYTE for aec

[ 13.421106] tegra210-adsp tegra210-adsp: Default param-type to BYTE for wire

[ 13.421110] tegra210-adsp tegra210-adsp: adma channel page address dt entry not found

[ 13.421112] tegra210-adsp tegra210-adsp: using adma channel page 0

[ 13.421177] nvadsp 2993000.adsp: ADSP OS firmware already loaded

[ 13.424487] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=3 as /devices/platform/3510000.hda/sound/card0/input6

[ 13.424712] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=7 as /devices/platform/3510000.hda/sound/card0/input7

[ 13.424792] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=8 as /devices/platform/3510000.hda/sound/card0/input8

[ 13.424861] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=9 as /devices/platform/3510000.hda/sound/card0/input9

[ 13.442984] irq: IRQ307: trimming hierarchy from :pmc@c360000

[ 13.445487] fusb301 1-0025: failed to read device id, err : 0xffffff87

[ 13.473856] fusb301 1-0025: fusb301 not support

[ 13.520897] fusb301: probe of 1-0025 failed with error -22

[ 13.575958] tegra-asoc: sound: Adding to iommu group 56

[ 13.645940] cryptd: max_cpu_qlen set to 1000

[ 13.776866] tegra210-adsp tegra210-adsp: Loaded app wire

[ 13.776872] tegra210-adsp tegra210-adsp: Loaded app apm

[ 13.776874] tegra210-adsp tegra210-adsp: Loaded app adma

[ 13.776876] tegra210-adsp tegra210-adsp: Loaded app adma_tx

[ 13.776880] nvadsp_set_adma_dump_reg: callback for adma reg dump is sent to 0000000020a683b9

[ 13.803374] tegra210-adsp tegra210-adsp: Tegra210 ADSP driver successfully registered

[ 14.375290] using random self ethernet address

[ 14.382398] using random host ethernet address

[ 14.576217] loop: module loaded

[ 14.711566] Mass Storage Function, version: 2009/09/11

[ 14.711575] LUN: removable file: (no medium)

[ 14.714335] using random self ethernet address

[ 14.718922] using random host ethernet address

[ 14.725067] rndis0: HOST MAC 56:8c:5f:6b:66:38

[ 14.725071] rndis0: MAC 56:8c:5f:6b:66:39

[ 14.725497] usb0: HOST MAC 56:8c:5f:6b:66:3a

[ 14.725501] usb0: MAC 56:8c:5f:6b:66:3b

[ 14.726595] tegra-xudc 3550000.xudc: EP 0 (type: ctrl, dir: out) enabled

[ 14.729479] l4tbr0: port 1(rndis0) entered blocking state

[ 14.729493] l4tbr0: port 1(rndis0) entered disabled state

[ 14.729613] device rndis0 entered promiscuous mode

[ 14.735126] l4tbr0: port 2(usb0) entered blocking state

[ 14.735139] l4tbr0: port 2(usb0) entered disabled state

[ 14.735252] device usb0 entered promiscuous mode

[ 15.151828] Generic FE-GE Realtek PHY r8169-8-100:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-8-100:00, irq=IGNORE)

[ 15.352060] r8169 0008:01:00.0 eth0: Link is Down

[ 16.304289] pstore: Using crash dump compression: deflate

[ 16.304323] printk: console [ramoops-1] enabled

[ 16.304325] pstore: Registered ramoops as persistent store backend

[ 16.304326] ramoops: using 0x200000@0x268000000, ecc: 0

[ 16.414116] CPU4: shutdown

[ 16.417003] psci: CPU4 killed (polled 0 ms)

[ 16.459100] CPU5: shutdown

[ 16.461974] psci: CPU5 killed (polled 0 ms)

[ 16.490714] nvgpu: 17000000.ga10b tpc_pg_mask_store:1067 [INFO] no value change, same mask already set

[ 16.669390] nvgpu: 17000000.ga10b gk20a_scale_init:539 [INFO] enabled scaling for GPU

[ 16.834531] zram: Added device: zram0

[ 16.834720] zram: Added device: zram1

[ 16.837829] zram: Added device: zram2

[ 16.838160] zram: Added device: zram3

[ 16.903061] zram0: detected capacity change from 0 to 961642496

[ 16.943863] Adding 939100k swap on /dev/zram0. Priority:5 extents:1 across:939100k SS

[ 16.947860] zram1: detected capacity change from 0 to 961642496

[ 16.972209] Adding 939100k swap on /dev/zram1. Priority:5 extents:1 across:939100k SS

[ 16.975230] zram2: detected capacity change from 0 to 961642496

[ 17.008064] Adding 939100k swap on /dev/zram2. Priority:5 extents:1 across:939100k SS

[ 17.011150] zram3: detected capacity change from 0 to 961642496

[ 17.044041] Adding 939100k swap on /dev/zram3. Priority:5 extents:1 across:939100k SS

[ 17.694078] fuse: init (API version 7.32)

[ 17.901902] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64 35.3.1 Release Build (buildbrain@mobile-u64-6289-d7000) Sun Mar 19 08:09:35 PDT 2023

[ 18.140446] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x2080013f result 0x56:

[ 18.141673] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x2080017e result 0x56:

[ 18.150482] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x2080014a result 0x56:

[ 18.227384] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 18.228246] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x730190 result 0x56:

[ 18.734518] r8169 0008:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[ 18.734545] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[ 24.991546] pwm-tegra-tachometer 39c0000.tachometer: Tachometer Overflow is detected

[ 77.130341] falcon 154c0000.nvenc: Direct firmware load for nvhost_nvenc080.fw failed with error -2

[ 77.139712] falcon 154c0000.nvenc: Falling back to sysfs fallback for: nvhost_nvenc080.fw

[ 77.151537] falcon 154c0000.nvenc: looking for firmware in subdirectory

[ 168.802262] usb 1-2.4: USB disconnect, device number 5

[ 174.708044] usb 1-2: USB disconnect, device number 2

[ 174.708062] usb 1-2.2: USB disconnect, device number 4

[ 175.089227] tegra-xusb 3610000.xhci: entering ELPG done

[ 461.453390] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 461.757527] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 468.825951] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 469.130119] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 469.155358] tegra-xusb 3610000.xhci: Firmware timestamp: 2021-12-01 05:27:10 UTC, Version: 80.03 release

[ 469.394695] usb 1-2: new high-speed USB device number 6 using tegra-xusb

[ 469.545875] usb 1-2: New USB device found, idVendor=214b, idProduct=7250, bcdDevice= 1.00

[ 469.545892] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0

[ 469.545897] usb 1-2: Product: USB2.0 HUB

[ 469.548839] hub 1-2:1.0: USB hub found

[ 469.549229] hub 1-2:1.0: 4 ports detected

[ 469.838731] usb 1-2.2: new full-speed USB device number 7 using tegra-xusb

[ 469.949482] usb 1-2.2: New USB device found, idVendor=24ae, idProduct=2010, bcdDevice= 1.10

[ 469.949490] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[ 469.949494] usb 1-2.2: Product: Rapoo 2.4G Wireless Device

[ 469.949498] usb 1-2.2: Manufacturer: RAPOO

[ 469.955219] input: RAPOO Rapoo 2.4G Wireless Device as /devices/platform/3610000.xhci/usb1/1-2/1-2.2/1-2.2:1.0/0003:24AE:2010.0004/input/input10

[ 469.955502] hid-generic 0003:24AE:2010.0004: input,hidraw0: USB HID v1.10 Mouse [RAPOO Rapoo 2.4G Wireless Device] on usb-3610000.xhci-2.2/input0

[ 469.959265] input: RAPOO Rapoo 2.4G Wireless Device System Control as /devices/platform/3610000.xhci/usb1/1-2/1-2.2/1-2.2:1.1/0003:24AE:2010.0005/input/input12

[ 470.018888] input: RAPOO Rapoo 2.4G Wireless Device Consumer Control as /devices/platform/3610000.xhci/usb1/1-2/1-2.2/1-2.2:1.1/0003:24AE:2010.0005/input/input13

[ 470.019165] hid-generic 0003:24AE:2010.0005: input,hiddev96,hidraw1: USB HID v1.10 Device [RAPOO Rapoo 2.4G Wireless Device] on usb-3610000.xhci-2.2/input1

[ 470.022664] input: RAPOO Rapoo 2.4G Wireless Device as /devices/platform/3610000.xhci/usb1/1-2/1-2.2/1-2.2:1.2/0003:24AE:2010.0006/input/input14

[ 470.083377] hid-generic 0003:24AE:2010.0006: input,hidraw2: USB HID v1.10 Keyboard [RAPOO Rapoo 2.4G Wireless Device] on usb-3610000.xhci-2.2/input2

[ 470.162666] usb 1-2.4: new high-speed USB device number 8 using tegra-xusb

[ 470.270988] usb 1-2.4: New USB device found, idVendor=0781, idProduct=5591, bcdDevice= 1.00

[ 470.270998] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[ 470.271002] usb 1-2.4: Product: SanDisk 3.2Gen1

[ 470.271005] usb 1-2.4: Manufacturer: USB

[ 470.271008] usb 1-2.4: SerialNumber: 01013b27f638daecdc7f921374ec6ae4256a66c5be2e812ffced9eade3a6f0159ee20000000000000000000027db8a1d00175a0091558107b42cbe0d

[ 470.272831] usb-storage 1-2.4:1.0: USB Mass Storage device detected

[ 470.274459] scsi host0: usb-storage 1-2.4:1.0

[ 471.296226] scsi 0:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6

[ 471.311818] sd 0:0:0:0: [sda] 965246976 512-byte logical blocks: (494 GB/460 GiB)

[ 471.320275] sd 0:0:0:0: [sda] Write Protect is off

[ 471.325226] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00

[ 471.326776] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA

[ 471.396349] sda: sda1

[ 471.398805] sd 0:0:0:0: [sda] Attached SCSI removable disk

[ 1068.774307] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 1069.080912] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 1076.136268] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

[ 1076.441569] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:

Could you copy the 35.3.1 camera working dtb to malfunction one to confirm.

Thanks

目前只有一台设备,烧录jetpack r35.2.1包是可以出图的,把能出图的dtb包复制到r35.3.1里,删除原来的dtb无法使用jetson io进行配置imx477,dtb是否能通过脚本的方式更新到系统里,直接复制看起来行不通

  1. Save the dtb and nv_imx477.ko and extlinux.conf from working case.
  2. Flash the jtop working configure.
  3. Restore those file to it and reboot the system to check.

The ko file is at /lib/modules/5.10.104-tegra/kernel/drivers/media/i2c/nv_imx477.ko

1.把r35.2.1的nv_imx477.ko替换到r35.3.1的相同路径下重启还是无法出图
2.然后把r35.2.1的dtb和extlinux.conf拷贝到r35.3.1的相同路径下重启还是无法出图,lsmod发现是安装的imx219的驱动,使用jetson io 配置成imx477,重启以后无法进入系统

你好,
我现在发现一个问题,通过如下方式生成的orin nx固件imx477驱动是可以使用的,jtop无法运行,使用的是jetson linux 35.3.1

  1. cd Linux_for_Tegra

  2. sudo ./apply_binaries.sh

  3. sudo ./tools/l4t_flash_prerequisites.sh

  4. sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3509-a02+p3767-0000 internal

安装jtop的方法如下:

  1. sudo apt update

  2. sudo apt install python3-pip

  3. sudo -H pip3 install -U jetson-stats或者sudo pip3 install jetson-stats -i https://pypi.douban.com/simple/

4.reboot

5.jtop

出现:ying@ying-desktop:~$ jtop

The jtop.service is not active. Please run:

sudo systemctl restart jtop.service

在网上查过各种方法都无法运行起来