Hello
I originally ran python on the Raspberry Pi 4 which used the camera. The camera was a MIPI CSI camera. Since the camera driver supports the debian system,
Is there a way to make the camera support debian to work on SK-TDA4VM?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello
I originally ran python on the Raspberry Pi 4 which used the camera. The camera was a MIPI CSI camera. Since the camera driver supports the debian system,
Is there a way to make the camera support debian to work on SK-TDA4VM?
Hello Yi-Fong,
I will need some time to check with the team on the steps to enable different CSI cameras. What is the camera being used? Also, could you give me a week to gather information and tools?
As for running a debian system, there is a Dockerfile included with the SK-TDA4VM image that creates a Docker image for Ubuntu. It can be enabled following this documentation: http://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-sk-tda4vm/08_00_01_10/exports/docs/docker_environment.html. However, I don't know if installing the driver inside Docker will enable the camera, since Docker is kind of like a virtual machine that sits on top of our operating system.
Regards,
Takuma
Hello Takuma,
I am currently using imagesource DMM 36MX297-ML camera module
Can I only run the debian system through a virtual machine, and there is no way to burn the debian system to the SD card and run it directly on the SK-TDA4VM?
thanks
Regards,
Yi-Fong
Hello,
I have referenced the docker webpage you provided and successfully established docker.
When I run docker image ls.
REPOSITORY TAG IMAGE ID CREATED SIZE
edge_ai_kit latest 2627dbdbbc0c 3 hours ago 2.51GB
arm64v8/ubuntu 20.04 d5ca7a445605 11 days ago 65.6MB
ubuntu latest d5ca7a445605 11 days ago 65.6MB
But I can't enter the ubuntu system.
Hello Yi-Fong,
But I can't enter the ubuntu system.
You can start the docker container using the script: root@j7-evm:/opt/edge_ai_apps/docker#./docker_run.sh
The Docker image used would be named edge_ai_kit, but this image is built on top of the Ubuntu image, so it should be the same as running the Ubuntu Docker container but with extra things for EdgeAI is installed too.
there is no way to burn the debian system to the SD card and run it directly on the SK-TDA4VM?
Our processors supports running a Debian system and there are community boards that use TI's processors to run Debian systems like the BeagleBoard community. However, TI does not provide or support a Debian system on our hardware.
Regards,
Takuma
Hello,
Does SK-TDA4VM support armv7l architecture?
Can I download raspberry pi OS from docker and run it on SK-TDA4VM?
When running docker, I cannot read the flash drive. How can I read other devices in the docker environment?
thanks
Hello,
Is there any other platform that can support praspberry pi os system operation?
Regards,
Takuma
Hi Yi-Fong,
Does SK-TDA4VM support armv7l architecture?
"AArch64 provides user-space compatibility with the existing 32-bit architecture ("AArch32" / ARMv7-A), and instruction set ("A32")." as mentioned by this Wikipedia article: https://en.wikipedia.org/wiki/AArch64
And you can find that the architecture of the processor is Aarch64 by using the command uname -a.
Can I download raspberry pi OS from docker and run it on SK-TDA4VM?
We have not done this before, so we do not know how much functionality of the raspberry pi OS will be lost if this is done.
When running docker, I cannot read the flash drive.
Are you able to read the flash drive outside the docker environment?
How can I read other devices in the docker environment?
Please reference docker documentation for this: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities
Regards,
Takuma
Hi Yi-Fong
Is there any other platform that can support praspberry pi os system operation?
By platform, do you mean a different board?
Regards,
Takuma
Hello Takuma,
I downloaded and installed raspbian os from docker and ran it, but an error occurred.
Does this mean that this board does not support Raspberry Pi OS?
The error log is below.
[ 2335.689202] docker0: port 1(veth86a6b66) entered blocking state
[ 2335.697035] docker0: port 1(veth86a6b66) entered disabled state
[ 2335.703407] device veth86a6b66 entered promiscuous mode
[ 2336.231522] eth0: renamed from veth0fb15ba
[ 2336.249364] IPv6: ADDRCONF(NETDEV_CHANGE): veth86a6b66: link becomes ready
[ 2336.256489] docker0: port 1(veth86a6b66) entered blocking state
[ 2336.262413] docker0: port 1(veth86a6b66) entered forwarding state
[ 2336.306177] systemd-coredump[2402]: Failed to get COMM: No such process
[ 2336.402166] docker0: port 1(veth86a6b66) entered disabled state
[ 2336.409654] veth0fb15ba: renamed from eth0
[ 2336.489917] docker0: port 1(veth86a6b66) entered disabled state
[ 2336.498121] device veth86a6b66 left promiscuous mode
[ 2336.503138] docker0: port 1(veth86a6b66) entered disabled state
Takuma Fujiwara said:
By platform, do you mean a different board?
Yes
Is there any TI development board that can support the Raspberry Pi OS system?
Regards,
Takuma
Hi Yi-Fong,
Is there any TI development board that can support the Raspberry Pi OS system?
We do not have one that can directly run Raspberry Pi OS system.
I downloaded and installed raspbian os from docker and ran it, but an error occurred. Does this mean that this board does not support Raspberry Pi OS?
Theoretically, a docker image of raspbian can be created and ran. However, we do not have support for that in our SDK.
Regards,
Takuma
Hello Takuma,
As mentioned earlier, when using Docker to run the Ubuntu system, it is not sure whether the camera module device can be read in this environment.
And can I ask you a few questions?
Can the operating system used by the TI development board not be executed from Docker, but the ubuntu system directly?
Or do all development boards use the Arago-Linux system?
Hi Yi-Fong,
All TI development boards that use a Linux system use the Arago distro, because that is what we provide with our Linux SDK. We currently do not provide the software support for running the Ubuntu system directly on our TI development boards.
Regards,
Takuma
Hello Takuma,
Can SK-TDA4VM play video?
I currently use opencv-python to play videos but there is no way to work.
I want to control the GPIO pins on the SK-TDA4VM from python, do I need to install an external kit?
thanks
Hi Yi-Fong,
SK-TDA4VM can play video. GStreamer, an open source multimedia framework comes with the SDK.
I recommend going through the hands on step-by-step code development in Edge AI Academy to go through some examples we have.
I want to control the GPIO pins on the SK-TDA4VM from python, do I need to install an external kit?
Currently in the SDK, there is no GPIO functionality. This feature will be included in our version 8.2 SDK release.
Regards,
Takuma
Hello Takuma,
Since my python program does image processing through the camera screen, no AI functions are used.
I just want to run my python program on this platform.
Can I make my program run normally without using the edge_ai sdk officially provided by TI?
thanks
Hello Takuma,
There is another problem. I am using a Logitech C930c camera, and my python program uses opencv-python to output video, but the video cannot be displayed.
If you want to use opencv-python to display the video screen on this platform, do you need to install the package?
Hello Takuma,
I ruled out some problems and found that I could not display the video.
I need to install the libgl1-mesa-glx package to solve it.
What command is used to install the package on this system?
thanks
Regards,
Yi Fong
Hi Yi Fong,
I need to install the libgl1-mesa-glx package to solve it. What command is used to install the package on this system?
I see that you made a separate E2E. We will address the question in that E2E: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1049557/sk-tda4vm-may-i-ask-what-instructions-should-be-entered-for-installing-packages-and-updates-for-this-system
Regards,
Takuma