Okay, so here is an update:
I installed a new kernel via sudo apt install linux-version command
So my current kernel is 5.10.153-ti-arm64-r84
I tried to install a newer one, but It just cannot switch to it (maybe some advice?)
Then, it still didn’t work, so I installed the edge-ai apps.
Though I run into problems:
debian@BeagleBone:/opt$ sudo apt install ti-edgeai-apps-src-8.2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm11 libvulkan1 mesa-vulkan-drivers python3-gitdb python3-smmap
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
ti-edgeai-apps-src-8.2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
94 not fully installed or removed.
Need to get 0 B/77.9 MB of archives.
After this operation, 87.5 MB of additional disk space will be used.
(Reading database ... 135379 files and directories currently installed.)
Preparing to unpack .../ti-edgeai-apps-src-8.2_8.2.0.14-0~bullseye+20221117_arm64.deb ...
Unpacking ti-edgeai-apps-src-8.2 (8.2.0.14-0~bullseye+20221117) ...
dpkg: error processing archive /var/cache/apt/archives/ti-edgeai-apps-src-8.2_8.2.0.14-0~bullseye+20221117_arm64.deb (--unpack):
trying to overwrite '/opt/edge_ai_apps/PROCESSOR-SDK-LINUX-SK-TDA4VM_manifest.html', which is also in package ti-edge-ai-apps-08-00-00-05 1.20211130.8-0~bullseye+20211203
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/ti-edgeai-apps-src-8.2_8.2.0.14-0~bullseye+20221117_arm64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to install the package manually into my dir, via --force-all (I am quite desperate and pissed off)
And, I run the script:
debian@BeagleBone:~/huy/opt/edge_ai_apps$ sudo ./init_script.sh
CSI Camera 1 detected
device = /dev/video2
name = imx219 4-0010
format = [fmt:SRGGB8_1X8/1920x1080]
subdev_id = 2
isp_required = yes
debian@BeagleBone:~/huy/opt/edge_ai_apps$ uname -r
5.10.153-ti-arm64-r84
So, it is at least detected