cancel
Showing results for 
Search instead for 
Did you mean: 

Issues installing developer package

adriaan-mernok
Associate II

Hi,

I've been following along with the "Getting started" on the wiki, but I cannot set up the developer package for my STM32MP157x-DK2. Downloading the file and trying to extract the archives, I get the following:

```

adriaan@ZOBLZO21X5GY3:~$ cd STM32MPU_workspace/tmp/
adriaan@ZOBLZO21X5GY3:~/STM32MPU_workspace/tmp$ ll
total 667536
drwxr-xr-x 2 adriaan adriaan 4096 Jan 6 16:49 ./
drwxr-xr-x 4 adriaan adriaan 4096 Jan 5 16:23 ../
-rw-r--r-- 1 adriaan adriaan 262113357 Jan 6 16:45 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz
-rw-r--r-- 1 adriaan adriaan 50 Jan 6 16:45 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz:Zone.Identifier
-rw-r--r-- 1 adriaan adriaan 421422061 Jan 6 16:46 en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz
-rw-r--r-- 1 adriaan adriaan 50 Jan 6 16:46 en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz:Zone.Identifier
adriaan@ZOBLZO21X5GY3:~/STM32MPU_workspace/tmp$ tar xvf en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz
stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/
stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/sdk/
stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-4.2.1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.host.manifest
stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-4.2.1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21-license_content.html
stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-4.2.1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.license
stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-4.2.1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.sh

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

```

I've tried multiple versions of the release.

I am working on WSL2 (Ubuntu 20.04), Windows 11.

I've also tried to use VMWare, but the result is the same...

 

Please assist.

1 ACCEPTED SOLUTION

Accepted Solutions

@adriaan-mernok ,
I asked some of my colleagues to do the same test, but nobody fall on this error, I am really sorry that we cannot give many help as I have no idea of what can happen on your side. Is it possible that you work on an industrial Internet network that can block downloading above a maximum size ?

Please when you download your tarball, check the size with the following command :

 PC $> ls -la

Output : 
-rw-r--r-- 1 <...> <...> -ps 817627492 Jan  8 13:21 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz

Kind regards,
Erwan.

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.

View solution in original post

6 REPLIES 6
Erwan SZYMANSKI
ST Employee

Hello @adriaan-mernok ,
I am sorry to hear it but we tested it this morning on different PCs on our side after seeing your message, but we could not have reproduced your issue. Maybe it can be caused by your own PC configuration ?

Kind regards,
Erwan.

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.

Hi @Erwan SZYMANSKI, thanks for the reply.

 

I've also downloaded it with a different browser (initially Brave, now Edge).

Copied the file via SSH to a different device (RPI CM4 running headless Raspbian), but the issue persists.

Downloaded the file here:
STM32MP1Dev - STM32MP1 OpenSTLinux Developer Package - STMicroelectronics

Yocto_SDKx86

 

I am stumped as to what could be causing this.

@adriaan-mernok ,
I asked some of my colleagues to do the same test, but nobody fall on this error, I am really sorry that we cannot give many help as I have no idea of what can happen on your side. Is it possible that you work on an industrial Internet network that can block downloading above a maximum size ?

Please when you download your tarball, check the size with the following command :

 PC $> ls -la

Output : 
-rw-r--r-- 1 <...> <...> -ps 817627492 Jan  8 13:21 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz

Kind regards,
Erwan.

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.

@Erwan SZYMANSKI 

 

The file does not seem to be the proper size, no:

 

-rwxrwxrwx 1 adriaan adriaan 431863647 Jan 8 14:36 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz

 

Note that I usually work on a company VPN, but I've shut down the VPN client and redownloaded it just to confirm.

Same behavior.

 

Note that my browser does not indicate that the download has failed or has been interrupted.

@adriaan-mernok ,
For a reason that I do not know, your download is not complete for sure. With doing it on Chrome (Ubuntun 22.04) and from Edge (Windows 11), I have the exact same size of  817627492 bytes when you have half of that. 

I will not be able to help more as the issue looks to be on your Network / PC side.

Kind regards,
Erwan.

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.

@Erwan SZYMANSKI ,

Had a coworker download and forward it to me, seems to have worked thanks!

Any different download links for the file? Pretty strange that all browsers on my network seem to believe the file is half its actual size...

 

Thanks again!