cancel
Showing results for 
Search instead for 
Did you mean: 

X-Linux-AI-Tool and STM32MP135F-DK

PawelKan
Associate II

Hallo,

After installing OpenSTLinux on STM32MP135F-DK, after updating all, the command apt-get install x-linux-ai-tool won't work. Any thoughts?

regards, Paul

7 REPLIES 7
PatrickF
ST Employee

Hi @PawelKan 

did you follow the steps in https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_Starter_package ?

Are the board correctly connected to internet and with correct date ?

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Yes, I have connection to the Internet. Ping works, apt-get update worked also pretty well. Date and time are correct.

First line that didn't worked was:

Board $>  apt-get install x-linux-ai-tool

I want to test CV on that board to see how it works. 

Regards.

Hi @PawelKan 

Did you install the latest Starter Package ?
https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Let%27s_start/Populate_the_target_and_boot_the_image

Would be useful to share the error messages as 'didn't work' is not helpful to support you.

After "apt-get update", is "apt-cache search x-linux" list the x-linux-ai-tool ?

 

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hallo, thank you fior the answer. You were right with the lastest package, I had an old one, from previous year. So, the first thing I did was loading newest version of image. The tsv file was:

FlashLayout_sdcard_stm32mp135f-dk-optee.tsv

Next, command: apt-get update was ok.

Next, command: apt-get tinstall x-linux-ai-tool gave message: Unable to locate package x-linux-ai-tool,

so the next step was to run command: apt-cache search x-linux, te result was:

MP135.jpg

So, maybe now is the place to do next steps... I would be greatfull for your advice. 

regards, Paul

 

Hi @PawelKan 

 

is the following commands do the same on your side ?
(here for MP15 ecosystem v5.1, but should be very close for MP13)

root@stm32mp1:~# rm -rf /var/lib/apt/lists/*
root@stm32mp1:~# apt-get update

The software package is provided AS IS, and by downloading it, you agree to be
bound to the terms of the software license agreement (SLA).
The detailed content licenses can be found at
https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.

Get:1 http://packages.openstlinux.st.com/5.1 mickledore InRelease [5723 B]
Get:2 http://packages.openstlinux.st.com/5.1 mickledore/main armhf Packages [705 kB]
Get:3 http://packages.openstlinux.st.com/5.1 mickledore/updates armhf Packages [45.3 kB]
Get:4 http://packages.openstlinux.st.com/5.1 mickledore/untested armhf Packages [1347 kB]
Fetched 2103 kB in 3s (745 kB/s)
Reading package lists... Done

 

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thank you for quick answer. The response looks almost the same. Details below...

212.jpg

Regards Paul.

Hi @PawelKan 

Your image is based on OpenSTLinux ecosystem 6.0

X-Linux-AI packages are not yet available for this ecosystem.

You can check with the OpenSTLinux ecosystem 5.1 and get the expected results.

root@stm32mp1:~# date
Thu Nov 28 07:26:32 UTC 2024
root@stm32mp1:~# apt-get update

The software package is provided AS IS, and by downloading it, you agree to be bound to
the terms of the software license agreement (SLA).
The detailed content licenses can be found at
https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.

Get:1 http://packages.openstlinux.st.com/5.1 mickledore InRelease [5723 B]
Get:2 http://packages.openstlinux.st.com/5.1 mickledore/main armhf Packages [705 kB]
Get:3 http://packages.openstlinux.st.com/5.1 mickledore/updates armhf Packages [45.3 kB]
Get:4 http://packages.openstlinux.st.com/5.1 mickledore/untested armhf Packages [1347 kB]
Fetched 2103 kB in 10s (218 kB/s)
Reading package lists... Done
root@stm32mp1:~# apt-cache policy x-linux-ai-tool
x-linux-ai-tool:
  Installed: (none)
  Candidate: 5.1.0-r0
  Version table:
     5.1.0-r0 500
        500 http://packages.openstlinux.st.com/5.1 mickledore/updates armhf Packages
root@stm32mp1:~# apt-get install x-linux-ai-tool
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apt-openstlinux-x-linux-ai
The following NEW packages will be installed:
  apt-openstlinux-x-linux-ai x-linux-ai-tool
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://packages.openstlinux.st.com/5.1 mickledore/updates armhf apt-openstlinux-x-linux-ai all 5.1.0-r0 [1136 B]
Get:2 http://packages.openstlinux.st.com/5.1 mickledore/updates armhf x-linux-ai-tool armhf 5.1.0-r0 [9392 B]
Fetched 10.5 kB in 0s (33.0 kB/s)

The software package is provided AS IS, and by downloading it, you agree to be bound to
the terms of the software license agreement (SLA).
The detailed content licenses can be found at
https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.

Selecting previously unselected package apt-openstlinux-x-linux-ai.
(Reading database ... 15681 files and directories currently installed.)
Preparing to unpack .../apt-openstlinux-x-linux-ai_5.1.0-r0_all.deb ...
Unpacking apt-openstlinux-x-linux-ai (5.1.0-r0) ...
Selecting previously unselected package x-linux-ai-tool.
Preparing to unpack .../x-linux-ai-tool_5.1.0-r0_armhf.deb ...
Unpacking x-linux-ai-tool (5.1.0-r0) ...
Setting up apt-openstlinux-x-linux-ai (5.1.0-r0) ...
Setting up x-linux-ai-tool (5.1.0-r0) ...
root@stm32mp1:~# apt-cache policy x-linux-ai-tool
x-linux-ai-tool:
  Installed: 5.1.0-r0
  Candidate: 5.1.0-r0
  Version table:
 *** 5.1.0-r0 500
        500 http://packages.openstlinux.st.com/5.1 mickledore/updates armhf Packages
        100 /var/lib/dpkg/status

Best regards,

--JM