Why did jetson-io.py just break?

sudo /opt/nvidia/jetson-io/jeston-io.py

This is the 64GB sd card option.
Same results with NVMe install using sdkmanager

This did work the other day and now after fresh install its spawns then closes immediately.

I deleted the first sdkmanager and started over to make sure I was not the one that broke this. With the fresh sdkmanager install at 1.5 mbs download rate that takes forever it no longer will launch.
What is up with this, you cannot blame me for messing around with this. OUT OF THE BOX, first thing I did was open a terminal and try to use it. VERY FIRST task and its broken.

Update:
Here is part of the problem the board.py is missing.

>>> from Jetson import board
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'board' from 'Jetson' (/usr/lib/python3/dist-packages/Jetson/__init__.py)
>>> 

fred@orin1:~$ python3 -c "import Jetson; print(Jetson.__file__)"
/usr/lib/python3/dist-packages/Jetson/__init__.py
fred@orin1:~$ ls /usr/lib/python3/dist-packages/Jetson/
GPIO  __init__.py
fred@orin1:~$ 

fred@orin1:/opt/nvidia/jetson-io$ cat jetson-io.py 
#!/usr/bin/env python3

# SPDX-FileCopyrightText: Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: MIT
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

from curses import panel
import curses
from Jetson import board
import os
import shutil
import sys
import textwrap


class Window(object):
    def __init__(self, screen, h, w, y, x):
        self.h = h
        self.w = w
        self.win = curses.newwin(h, w, y, x)
        self.panel = panel.new_panel(self.win)
        self.win.clear()
        self.panel.hide()
        panel.update_panels()

    def clear(self):
        self.win.clear()

It is in the sdk rootfs, its not being installed.

fred@eng-ai1:~/yocto/nvidia-sdkmanager/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra$ sudo find . -name board.py
[sudo] password for fred: 
./rootfs/opt/nvidia/jetson-io/Jetson/board.py


copied it over and it has more missing files.

fred@orin1:~$ python3 -c "from Jetson import board; print('board.py imported successfully')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/Jetson/board.py", line 22, in <module>
    from Linux import dt
ModuleNotFoundError: No module named 'Linux'
fred@orin1:~$ 

Hi foxsquirrel1,

Are you using the devkit or custom board for Orin Nano?

Are you using yocto project instead of L4T?

Orin Nano Dev Kit
Yocto is drive path, this is on machine that is used for yocto only until this happened. It is a very clean and a machine that can take the demands of a build. Yocto builds would have bitbake in the command line.

sdkmanager breaks on my dev workstation but runs fine on the the yocto box.

L4T, the sdk that is downloaded in sdkmanager.

If memory is correct the SD card download might have been complete and that is why it worked. Reading some other posts the jetson-io.py is broken because even when it ran it only had selections for the camera overlays. I read others using it in 5.x and they can actually select the pins, cannot do that with jetpack 6.1.

So far I have copied that sdkmanager download to another directory so I can build a device tree. Instructions in the manual have left out some critical steps and do not work as stated. Did find the script to setup the build and it is missing some exports. Then make dtbs is pulling from my host header files and had to be explicitly re-pointed to the jetson headers.

I have been trying for the last 4 days to find a path to making an overlay. So we can move forward.

seems the similar topic as Topic 317300, I’ve updated in Booting problems after using jetson-io.py - #12 by KevinFFF

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.