2024-11-24 02:49 PM
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
2024-11-24 11:39 PM
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.
2024-11-25 01:56 PM
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.
2024-11-26 12:24 AM
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.
2024-11-27 08:34 AM
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:
So, maybe now is the place to do next steps... I would be greatfull for your advice.
regards, Paul
2024-11-27 08:55 AM
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.
2024-11-27 09:43 AM
Thank you for quick answer. The response looks almost the same. Details below...
Regards Paul.
2024-11-27 11:30 PM
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
2024-11-28 02:15 PM
Thank you Jean-Marc for your explanation.
I have tried to download image (from st.com) with Linux version 5.1, but when I chose that version, always downloads:
en.FLASH-stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.tar.gz.
When I downloaded this version:
stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17
I can't see the image for MP135.
Still lot to learn...
2024-11-28 11:53 PM
Hi @PawelKan
The archive en.FLASH-stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.tar.gz is indeed the correct one for the OpenSTLinux ecosystem 5.1.0 and STM32MP1 targets
6.1 is related to the kernel and not related to the ecosystem version while 24.06.26 is the release date.
Best regards,
--JM