How to resolve errors building 'netcf' recipe for 'fsl-image-full' on a T4240RDB

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

How to resolve errors building 'netcf' recipe for 'fsl-image-full' on a T4240RDB

Jump to solution
900 Views
mikelu
Contributor I

Hi All,

I've been trying to bitbake the 'fsl-image-full' for a T4240RDB. The netcf do_configure process fails each time and I haven't been able to figure out the reason.

| configure: exit 1
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (log file is located at /media/hdd/QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb-64b/tmp/work/ppc64e6500-fsl-linux/netcf/0.2.8+gitAUTOINC+9158278ad3-r0/temp/log.do_configure.4763)
NOTE: recipe netcf-0.2.8+gitAUTOINC+9158278ad3-r0: task do_configure: Failed
ERROR: Task 5 (/media/hdd/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-openembedded/meta-networking/recipes-support/netcf/netcf_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 656 tasks of which 655 didn't need to be rerun and 1 failed.

I'm using Ubuntu and have set up the host environment according to the SDK documentation. I have also been able to build 'fsl-image-core' and 'fsl-image-minimal' with no issues. I have attached the terminal output for 'bitbake netcf' and the log.do_configure.

Greatly appreciate any help or insight,

Mike  

Labels (1)
0 Kudos
1 Solution
599 Views
Pavel
NXP Employee
NXP Employee

Usually the following command sequence is used for SDK installing under Ubuntu 14:

  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 2.0 .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. bitbake fsl-image-minimal
  2. bitbake fsl-image-full


Have a great day,
Pavel Chubakov

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

View solution in original post

0 Kudos
2 Replies
600 Views
Pavel
NXP Employee
NXP Employee

Usually the following command sequence is used for SDK installing under Ubuntu 14:

  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 2.0 .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. bitbake fsl-image-minimal
  2. bitbake fsl-image-full


Have a great day,
Pavel Chubakov

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

0 Kudos
599 Views
mikelu
Contributor I

Hi Pavel,

Thank you. I was able to finish bitbake fsl-image-full with your help and instructions. It seems there was a difference between how dash and bash were handling some scripts.

Much appreciated,

Mike

0 Kudos