LS1046A bitbake can't find the repository

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

LS1046A bitbake can't find the repository

1,135 Views
gaborkocsis
Contributor III

Hello Everybody,

I use the Bitbake system to make u-boot and kernel for our LS1046 based custom board.

I have made them many times so far. But now I can't make them, because the

Bitbake says
"Failed to fetch URL git://sw-stash.freescale.net/scm/dnnpi/ls1046-uboot.git;branc=ls1046a_bringup;protocol=http, attempting MIRRORS if available"

What could be the problem? Please help me.

Thanks in advance,

Gabor kocsis

Labels (1)
0 Kudos
5 Replies

979 Views
Pavel
NXP Employee
NXP Employee

Test your SDK using the following commands:

. fsl-setup-env -h

and

. fsl-setup-env -m ls1046ardb

Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------

0 Kudos

979 Views
Pavel
NXP Employee
NXP Employee

I have created new Virtual Machine, install Ubuntu 14-64bit.

Install SDK 2.0, install SDK 2.0-1703 and build linux kernelm u-boot and .dtb for the LS1046ardb board.

There are no error messages.

Use Ubuntu 14 for your task.


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:

This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------

0 Kudos

979 Views
gaborkocsis
Contributor III

Thank you for your answer.

Well I have done your recommended steps. I have created a virtual machine, exactly on the way you have recommended. Ubuntu 14, etc.

Iáve done it step- by -step. And when I typed the command  "source ./fsl-setup-env -m ls1046ardb",

I got the message "The $MACHINE you have specified (ls1046ardb) is not supported by this build setup."

And really, I couldn't find it in the list of supported machines.

I used that .ISO image that I have used so far and I have successfully installed the bitbake so far and there wasn't any problem with it.

I couldn't understand what could be happened.

Please help me!

Best regards,

Gabor

0 Kudos

979 Views
Pavel
NXP Employee
NXP Employee

Usually the following commands are used for SDK using. See below.

Do you use similar command sequence.

 

Use Ubuntu 12 or Ubuntu 14. Do not use Ubuntu 16 or Ubuntu 18.

Usually the following command sequence is used for SDK 2.0 installing under Ubuntu 14.04 64-bit:

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. mount SDK source .iso file
  2. cd <sdk-install-dir>.
  3. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. Chnage directory to SDK Yocto. Usually is the following:

/QorIQ-SDK-V2.0-20160527-yocto

  1. . fsl-setup-env -m ls1046ardb
  2. bitbake fsl-image-minimal


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

977 Views
gaborkocsis
Contributor III

Thank you for your answer.

Currently I use Scientific Linux and  as I wrote I have made u-boot and kernel many times so far.

I have been using QorIQ-SDK-V2.0 for about two years and this problem hasn't occured so far.

And also I tried to access the problematic URL directly but it seems the internet address itself doesn't exist

Best regards,

Gabor Kocsis

0 Kudos