NXP IMX8MM Yocto Building Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP IMX8MM Yocto Building Issue

Jump to solution
3,025 Views
DanielDuJijun
Contributor III

Dear NXP Support Team.

When i try to build a IMX8MM Yocto Building system on Ubuntu20.04.

But i meet some problem as following :

would you please kindly help to check and give some advice?

thanks.

epo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.0.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 110] Connection timed out
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
crp@CRP-Ubuntu:~/crp-nxp-imx8mm-yocto-bsp$

 

 

0 Kudos
Reply
1 Solution
2,796 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

It won't be correct. You have to fix the problem of network connection to github from local network as shown.

 

Best regards

Harvey

View solution in original post

0 Kudos
Reply
8 Replies
2,821 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @DanielDuJijun 

As the migration from CodeAurora to Github, so please refer to the Github: GitHub - nxp-imx/imx-manifest at imx-linux-hardknott

 

Best regards

Harvey

0 Kudos
Reply
2,819 Views
DanielDuJijun
Contributor III

Hi Harvey.

Thanks a lot for your support and advice.

 

I've reverted to using Github to sync the source code in the repo, but it often fails to link and sync, and the sync rate is slow, is there a way to speed up the sync efficiency?

0 Kudos
Reply
2,817 Views
DanielDuJijun
Contributor III

 

Hi Harvey.

Thanks a lot for your support and advice.

 

I've reverted to using Github to sync the source code in the repo, but it often fails to link and sync, and the sync rate is slow, is there a way to speed up the sync efficiency?

 

repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.3.xml

 

0 Kudos
Reply
2,809 Views
DanielDuJijun
Contributor III

Hi Harvey.

Please help to check the repo sync result and log.

Please help to check if it is success and if not.Please help to give some advice.

thanks.

 

crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-bsp$ repo sync -j8
fatal: unable to access 'https://github.com/nxp-imx/imx-manifest/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
manifests: sleeping 4.0 seconds before retrying
fatal: unable to access 'https://github.com/nxp-imx/imx-manifest/': Failed to connect to github.com port 443: Connection timed out
Fetching: 100% (14/14), done in 2m18.691s
repo sync has finished successfully.

The folder of crp-nxp-imx8mm-yocto-bsp  contains about 11,559 items, about totalling 29.6 MB

 

0 Kudos
Reply
2,797 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

It won't be correct. You have to fix the problem of network connection to github from local network as shown.

 

Best regards

Harvey

0 Kudos
Reply
3,011 Views
DanielDuJijun
Contributor III

crp@CRP-Ubuntu:~$ sudo apt-get update

crp@CRP-Ubuntu:~$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \

> build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \

> xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \

> pylint3 xterm rsync curl

 

crp@CRP-Ubuntu:~$ mkdir ~/bin

crp@CRP-Ubuntu:~$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 45787 100 45787 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k

crp@CRP-Ubuntu:~$ chmod a+x ~/bin/repo

crp@CRP-Ubuntu:~$ export PATH=~/bin:$PATH

crp@CRP-Ubuntu:~$ git config --global user.name CRP

crp@CRP-Ubuntu:~$ git config --global user.email crp@crprobot.com

crp@CRP-Ubuntu:~$ git config --list

user.name=CRP

user.email=crp@crprobot.com

crp@CRP-Ubuntu:~$ cd ~

crp@CRP-Ubuntu:~$ mkdir crp-nxp-imx8mm-yocto-bsp

crp@CRP-Ubuntu:~$ cd crp-nxp-imx8mm-yocto-bsp/

crp@CRP-Ubuntu:~/crp-nxp-imx8mm-yocto-bsp$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.0.xml

Downloading Repo source from https://gerrit.googlesource.com/git-repo

fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

fatal: error [Errno 110] Connection timed out

fatal: double check your --repo-rev setting.

fatal: cloning the git-repo repository failed, will remove '.repo/repo'

crp@CRP-Ubuntu:~/crp-nxp-imx8mm-yocto-bsp$ cd ~

 

0 Kudos
Reply
3,023 Views
DanielDuJijun
Contributor III

crp@CRP-Ubuntu:~/crp-nxp-imx8mm-yocto-bsp$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.0.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 110] Connection timed out
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
crp@CRP-Ubuntu:~/crp-nxp-imx8mm-yocto-bsp$

0 Kudos
Reply
2,913 Views
DanielDuJijun
Contributor III

crp@CRP-Ubuntu1804:~$ sudo apt-get install repo

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

gir1.2-goa-1.0 gir1.2-snapd-1

Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:

python-kerberos

The following NEW packages will be installed:

python-kerberos repo

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 44.0 kB of archives.

After this operation, 129 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 python-kerberos amd64 1.1.14-1 [22.5 kB]

Get:2 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 repo all 1.12.37-3ubuntu1 [21.5 kB]

Fetched 44.0 kB in 1s (37.2 kB/s)

Selecting previously unselected package python-kerberos.

(Reading database ... 178915 files and directories currently installed.)

Preparing to unpack .../python-kerberos_1.1.14-1_amd64.deb ...

Unpacking python-kerberos (1.1.14-1) ...

Selecting previously unselected package repo.

Preparing to unpack .../repo_1.12.37-3ubuntu1_all.deb ...

Unpacking repo (1.12.37-3ubuntu1) ...

Setting up python-kerberos (1.1.14-1) ...

Setting up repo (1.12.37-3ubuntu1) ...

Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

crp@CRP-Ubuntu1804:~$ mkdir ~/bin

crp@CRP-Ubuntu1804:~$ export PATH=~/bin:$PATH

crp@CRP-Ubuntu1804:~$ git config --global user.name CRPRobot

crp@CRP-Ubuntu1804:~$ git config --global user.email CRPRobot@crprobot.com

crp@CRP-Ubuntu1804:~$ git config --list

user.name=CRPRobot

user.email=CRPRobot@crprobot.com

crp@CRP-Ubuntu1804:~$ mkdir crp-nxp-imx8mm-yocto-bsp

crp@CRP-Ubuntu1804:~$ cd crp-nxp-imx8mm-yocto-bsp/

crp@CRP-Ubuntu1804:~/crp-nxp-imx8mm-yocto-bsp$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.0.xml

gpg: keybox '/home/crp/.repoconfig/gnupg/pubring.kbx' created

gpg: /home/crp/.repoconfig/gnupg/trustdb.gpg: trustdb created

gpg: key 16530D5E920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported

gpg: key 67B7E448692B382C: public key "Conley Owens <cco3@android.com>" imported

gpg: Total number processed: 2

gpg: imported: 2

 

fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

fatal: error [Errno 110] Connection timed out

crp@CRP-Ubuntu1804:~/crp-nxp-imx8mm-yocto-bsp$

0 Kudos
Reply