(unfortunately) Continuing the discussion from An update/update of JP 4.5.1 breaks the bootup to the Ubuntu Desktop, apologies in advance:
I am very much regretting my purchase of a camera from e-con systems for my Jetson Nano (B01) at this point, since it appears they are on a crusade to produce a new camera module for every new image sensor they find when one hits the market, do the absolute minimum to write a semi-working kernel module for a single Jetpack release version (or two if they are feeling bored!) and then abandon the product. Let’s not mention the terrible website design (why does gaining access to the support materials, drivers, and other files for the product I paid for require so much secrecy and verification???), lack of a customer facing ticket system, and the fact that they somehow cant figure out how to allow users to register with their gmail or yahoo email address in 2021. But hey, they are an Nvidia Platinum Partner.
And check it out, my camera is even listed on the official “Jetson Partner Supported Cameras” page:
Last tested JetPack Version: JP4.6 / L4T32.6.1
Supported Jetson Products: Nano / NX
Would someone mind telling me who tested and approved it for JetPack 4.6 and how?
I’ve been asking e-con systems for an updated support package since I got the camera back in July or something and to this date (December 3rd, 2021) I’ve been told directly by them that there are only two versions of JetPack that they have written a working driver/module for:
- JetPack 4.4.0 - TOP SECRET e-con support package filename: e-CAM80_CUNX_JETSON_L4T32.4.3_05-MAR-2021_R01_RC3.tar.gz
- JetPack 4.5.1 - TOP SECRET e-con support package filename: e-CAM80_CUNX_JETSON_L4T32.5.1_15-APR-2021_R02_RC1.tar.gz
PS: Please don’t tell anybody where to find those super secret files… wouldn’t want people trying to use the camera they bought; they might found out there’s no OS support and complain.
Here’s the problem I get on both of my Jetson Nano B01 dev boards with 4.5.1:
........ done. Processing triggers for initramfs-tools (0.130ubuntu3.13) ... update-initramfs: Generating /boot/initrd.img-4.9.201-tegra Warning: couldn't identify filesystem type for fsck hook, ignoring. I: The initramfs will attempt to resume from /dev/zram3 I: (UUID=be05cd52-45c4-484b-a96b-04c44cc6e797) I: Set the RESUME variable to override this. /sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf: No such file or directory /sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_GL.conf: No such file or directory Processing triggers for nvidia-l4t-kernel (4.9.201-tegra-32.5.2-20210709090126) ... Processing triggers for libc-bin (2.27-3ubuntu1.4) ... Errors were encountered while processing: nvidia-l4t-bootloader E: Sub-process /usr/bin/dpkg returned an error code (1) jetpack451@jetpack451:~$
Let me just stop for a moment to state that this is reproducible every single time with:
- Jetson Nano B01
- 32GB SanDisk UHS-I, Class 10 MicroSDXC
- Following the official documentation here: Getting Started With Jetson Nano Developer Kit | NVIDIA Developer and here: How to Install JetPack :: NVIDIA JetPack Documentation
- After the system boots for the very first time and goes through the initial questionaire, then resizes the partition and reboots, opening the terminal and running “sudo apt update; sudo apt upgrade -y” will upgrade the packages (great!) and force a point upgrade to 4.5.2 (not great!) which then breaks everything because it can’t install the bootloader… and like I said: e-con doesn’t have a 4.5.2 module anyways… so it breaks support for their charming camera.
- Doesn’t matter if I manually trigger an apt update/apt upgrade. The package manager (GUI application) is going to keep nagging me to attempt the same thing either way. And it breaks in the same place.
- How am I supposed to use this camera on the last supported JetPack version: 4.5.1 AND retain functionality of my apt package manager if doing something as simple as an apt update; apt upgrade forces a point upgrade to 4.5.2 which is destined to fail and breaks support for my beloved e-CAM80_CUNX?
- In the post I ref’d at the start of this thread, WayneWWW stated:
Well here you go; pure jetpack + apt upgrade. Was an attempt to reproduce the issue made? Because I can confirm that it occurs on both of my Jetson Nano B01’s immediately after the first boot on a freshly flashed microSD card. As a matter of fact, I grabbed 4 extra brand new 32GB SanDisk microSD cards after reading the above mentioned quote and other various responses I’ve seen around this forum after fighting with this on and off over the past 2-3 weeks. Balena Etcher verifies the image successfully after writing it to any microSD I’ve tried it with on 3 different physical systems. It ain’t me!
3. Is there an officially agreed upon way to force the JetPack version/OS version to remain on a specific version while retaining a working package manager, without it constantly attempting to do a point upgrade and self destructing my entire install, built jetson-inference (you know this takes hours to build, right?), and any work I may have been able to accomplish?
4. My intentions with this device and the camera: Live object detection from my own model via: jetson-inference/building-repo-2.md at master · dusty-nv/jetson-inference · GitHub and jetson-inference/detectnet-example-2.md at master · dusty-nv/jetson-inference · GitHub - I’d like to accomplish this goal without a bunch of flaky hacks and duct-tape patches just to be able to get the device to the point where I’ve compiled everything successfully and gotten my object detection program running. I’ve already been successful at doing this months ago before there was a 4.5.2 point upgrade but this was without the camera even attached and without attempting to install e-con’s module and custom version of the viewer application.
I’m sure you’re asking where the logs are. Don’t worry, I saved everything worth looking at from /var/log, all the console output I could get, and a few screenshots.
jetpack451.zip (5.9 MB)