Latest yocto version(Yocto 2.7) support

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

Latest yocto version(Yocto 2.7) support

Jump to solution
2,687 Views
sedat_altun
Contributor III

I need to compile the macsec userspace application named "hostapd" and "wpa-supplicant" for t2080rdb board.

I tried to use latest yocto version 2.7 (warrior) with the meta-freescale recipes to build this application.

My yocto version is 2.7 and meta-freescale branch is warrior or master. 

But during bitbake build I got an nonsense error while compiling glibc, 

My first question is does nxp still compatible with latest yocto versions? 

If it is not compatible how can I build an specific application with using flex-build?

Any help is appreciated.

Tags (1)
0 Kudos
Reply
1 Solution
1,438 Views
Pavel
NXP Employee
NXP Employee

I have tested using Ubuntu 14-64bit.

The following command sequence was used.

  1. 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 libsdl1.2-dev xterm

 

1. Get the Yocto layers from repo manifest:   The following is the step of how to use repo utility to download all Yocto layers according to the repo manifest    Install the repo utility:   $: mkdir ~/bin   $: curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo   $: chmod a+x ~/bin/repo    Download the Yocto layers:   $: export PATH=${PATH}:~/bin   $: mkdir yocto-sdk   $: cd yocto-sdk   $: repo init -u https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk -b thud   $: repo sync --no-clone-bundle 2. Get Yocto layers from community repository   The following is the step of how to download all Yocto layers through git command:   $: mkdir yocto-sdk   $: cd yocto-sdk   $: mkdir sources   $: cd sources   $: git clone git://git.yoctoproject.org/poky   $: cd  poky    $: git reset --hard eddff2b361928e88e3628ebc22a1a0ebb119e01b   $: cd ..   $: git clone git://git.openembedded.org/meta-openembedded   $: cd meta-openembedded   $: git reset --hard f1511d254632a34c1deb51f4bf8b8c21e7423f51   $: cd ..   $: git clone git://git.yoctoproject.org/meta-freescale   $: cd  meta-freescale   $: git reset --hard 9c801795c886578bc4cd72d040143b18532b145d    $: cd ..   $: git clone git://git.yoctoproject.org/meta-virtualization   $: cd meta-virtualization    $: git reset --hard f226bea1083b2bf7373ac7e4780459d454830cc4   $: cd ..   $: git clone git://git.yoctoproject.org/meta-cloud-services   $: cd meta-cloud-services   $: git reset --hard 5dec08769e026980e3b5d3217dbbe2ebd87bf33c   $: cd ..   $: git clone git://git.yoctoproject.org/meta-security   $: cd meta-security   $: git reset --hard dcb0395033e1b4a5d44d467d041114c5cb5e13eb   $: cd ..   $: git clone https://github.com/Freescale/meta-freescale-distro   $: cd meta-freescale-distro   $: git reset --hard 771fb6d4c0c9530083fcc8c5452270bb9b3915ba   $: cd ..   $: git clone https://source.codeaurora.org/external/qoriq/qoriq-components/meta-qoriq-demos   $: cd meta-qoriq-demos   $: git reset --hard 62ccd769d5a6a9f7255e1626a4d0ba7229355f18    $: cd ..   $: cp sources/meta-qoriq-demos/scripts/setup-env ./ Building images===============Take ls1088ardb as an example:$: . ./setup-env -m ls1088ardb$: bitbake fsl-image-networking
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.
-------------------------------------------------------------------------------

View solution in original post

2 Replies
1,439 Views
Pavel
NXP Employee
NXP Employee

I have tested using Ubuntu 14-64bit.

The following command sequence was used.

  1. 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 libsdl1.2-dev xterm

 

1. Get the Yocto layers from repo manifest:   The following is the step of how to use repo utility to download all Yocto layers according to the repo manifest    Install the repo utility:   $: mkdir ~/bin   $: curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo   $: chmod a+x ~/bin/repo    Download the Yocto layers:   $: export PATH=${PATH}:~/bin   $: mkdir yocto-sdk   $: cd yocto-sdk   $: repo init -u https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk -b thud   $: repo sync --no-clone-bundle 2. Get Yocto layers from community repository   The following is the step of how to download all Yocto layers through git command:   $: mkdir yocto-sdk   $: cd yocto-sdk   $: mkdir sources   $: cd sources   $: git clone git://git.yoctoproject.org/poky   $: cd  poky    $: git reset --hard eddff2b361928e88e3628ebc22a1a0ebb119e01b   $: cd ..   $: git clone git://git.openembedded.org/meta-openembedded   $: cd meta-openembedded   $: git reset --hard f1511d254632a34c1deb51f4bf8b8c21e7423f51   $: cd ..   $: git clone git://git.yoctoproject.org/meta-freescale   $: cd  meta-freescale   $: git reset --hard 9c801795c886578bc4cd72d040143b18532b145d    $: cd ..   $: git clone git://git.yoctoproject.org/meta-virtualization   $: cd meta-virtualization    $: git reset --hard f226bea1083b2bf7373ac7e4780459d454830cc4   $: cd ..   $: git clone git://git.yoctoproject.org/meta-cloud-services   $: cd meta-cloud-services   $: git reset --hard 5dec08769e026980e3b5d3217dbbe2ebd87bf33c   $: cd ..   $: git clone git://git.yoctoproject.org/meta-security   $: cd meta-security   $: git reset --hard dcb0395033e1b4a5d44d467d041114c5cb5e13eb   $: cd ..   $: git clone https://github.com/Freescale/meta-freescale-distro   $: cd meta-freescale-distro   $: git reset --hard 771fb6d4c0c9530083fcc8c5452270bb9b3915ba   $: cd ..   $: git clone https://source.codeaurora.org/external/qoriq/qoriq-components/meta-qoriq-demos   $: cd meta-qoriq-demos   $: git reset --hard 62ccd769d5a6a9f7255e1626a4d0ba7229355f18    $: cd ..   $: cp sources/meta-qoriq-demos/scripts/setup-env ./ Building images===============Take ls1088ardb as an example:$: . ./setup-env -m ls1088ardb$: bitbake fsl-image-networking
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.
-------------------------------------------------------------------------------

1,438 Views
Pavel
NXP Employee
NXP Employee

Look at the following page about new Yocto for T2080:

https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk/about/

 


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
Reply