ERROR WHILE BUILDING IMAGE FOR T4160

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

ERROR WHILE BUILDING IMAGE FOR T4160

Jump to solution
2,077 Views
radhika
Contributor II

Hi,

We are trying to port uboot and linux to T4160 and using the SDK "QorIQ-SDK-V2.0-20160527-yocto" .

Installed SDK V2.0 and SDK V2.0-1703 and trying the build in ubuntu 16.04 using the steps as follows.

$ ./fsl-setup-env -m t4160qds-64b

$ bitbake fsl-image-full

The fsl-image-minimal build is running successfully but getting error while building the fsl-image-full.

Please find the error log below.

QorIQ-SDK-V2.0-20160527-yocto/build_t4160qds-64b$ bitbake fsl-image-full WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Loading cache: 100% |###########################################| ETA: 00:00:00 Loaded 6083 entries from dependency cache. Parsing recipes: 100% |#########################################| Time: 00:00:01 Parsing of 2698 .bb files complete (2697 cached, 1 parsed). 6082 targets, 723 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.28.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-16.04" TARGET_SYS = "powerpc64-fsl-linux" MACHINE = "t4160qds-64b" DISTRO = "fsl-qoriq" DISTRO_VERSION = "2.0" TUNE_FEATURES = "m64 fpu-hard e6500 altivec" TARGET_FPU = "hard" meta meta-yocto meta-yocto-bsp = "HEAD:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b" meta-oe meta-multimedia meta-gnome meta-networking meta-perl meta-python meta-ruby meta-filesystems meta-webserver meta-xfce = "HEAD:dc5634968b270dde250690609f0015f881db81f2" meta-freescale = "HEAD:7facbdb726e2dda0515e084c2066a4b8dd99c6d2" meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810" meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985" meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5" meta-java = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d" meta-openstack meta-openstack-aio-deploy meta-openstack-compute-deploy meta-openstack-compute-test-config meta-openstack-controller-deploy meta-openstack-controller-test-config meta-openstack-qemu meta-openstack-swift-deploy meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb" meta-security = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777" meta-nxp-npi-1703 = "jethro-sdk-v2.0-ga-17.03:d8f8d3a5d3ee18f881466938b847cef9b08c4a35" NOTE: Preparing RunQueue NOTE: Checking sstate mirror object availability (for 278 objects) NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_configure (log file is located at /home/qwave/POWERPC/QorIQ-SDK-V2.0-20160527-yocto/build_t4160qds-64b/tmp/work/ppc64e6500-fsl-linux/netcf/0.2.8+gitAUTOINC+9158278ad3-r0/temp/log.do_configure.9512) ERROR: Logfile of failure stored in: /home/qwave/POWERPC/QorIQ-SDK-V2.0-20160527-yocto/build_t4160qds-64b/tmp/work/ppc64e6500-fsl-linux/netcf/0.2.8+gitAUTOINC+9158278ad3-r0/temp/log.do_configure.9512 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common'] | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | ./bootstrap: Bootstrapping from checked-out netcf sources... | ./bootstrap: consider installing git-merge-changelog from gnulib | ./bootstrap: getting gnulib files... | error: pathspec 'gnulib' did not match any file(s) known to git. | WARNING: /home/qwave/POWERPC/QorIQ-SDK-V2.0-20160527-yocto/build_t4160qds-64b/tmp/work/ppc64e6500-fsl-linux/netcf/0.2.8+gitAUTOINC+9158278ad3-r0/temp/run.do_configure.9512:1 exit 1 from | ./bootstrap --force | ERROR: Function failed: do_configure (log file is located at /home/qwave/POWERPC/QorIQ-SDK-V2.0-20160527-yocto/build_t4160qds-64b/tmp/work/ppc64e6500-fsl-linux/netcf/0.2.8+gitAUTOINC+9158278ad3-r0/temp/log.do_configure.9512) ERROR: Task 4330 (/home/qwave/POWERPC/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 2718 tasks of which 2712 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish: Summary: 1 task failed: /home/qwave/POWERPC/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-openembedded/meta-networking/recipes-support/netcf/netcf_git.bb, do_configure Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Could you please help with this issue?

Thanks and Regards,

Radhika

1 Solution
1,362 Views
Pavel
NXP Employee
NXP Employee

Use Ubuntu 14. Do not use Ubuntu 16.

Usually the following command sequence is used for SDK 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. 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

13 Replies
1,362 Views
Pavel
NXP Employee
NXP Employee

There is no difference between SDK 2.0-1703 and SDK 2.0 for the T4240 configuration.

Difference between SDK 2.0-1703 and SDK 2.0 is LSxxxx configuration.


Have a great day,
Pavel Chubakov

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

0 Kudos
1,362 Views
vinothkumars
Senior Contributor IV

Hi Pavel,

 

Thank you for your quick response. Please give some more details according to this thread.

DDR Value update to T4160 system 

 

Still I am struggled in update ddr values. Thank you so much in advance for all your help! 

 

Thanks & Regards,

Vinoths

Regards,
Vinothkumar Sekar
0 Kudos
1,362 Views
vinothkumars
Senior Contributor IV

Hi Pavel,

If it Possible, Please send the Reference Schematic for T4160 Processor.

Thanks & Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos
1,362 Views
Pavel
NXP Employee
NXP Employee

Look at attached files. These file are available using the following path in SDK-2.0-1703:

/QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb/tmp/work/t4240rdb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git/include/configs

 

The T4240RDB board contains DIMM slots for DDR memory.

The T4240RDB.h file uses SPD from DIMM for reading DDR parameters.

 

The B4860QDS.h is example for DDR configuration if DIMM is not used.


Have a great day,
Pavel Chubakov

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

0 Kudos
1,362 Views
vinothkumars
Senior Contributor IV

Hi Pavel,

Thank you for your quick response. Please give some more details according to this thread.

DDR Value update to T4160 system 

Thank you so much in advance for all your help! 

Thanks & Regards,

Vinoths

Regards,
Vinothkumar Sekar
0 Kudos
1,362 Views
vinothkumars
Senior Contributor IV

Hi Pavel,

I am using SDK version 2.0, Is it cross any problem?

Thanks & Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos
1,362 Views
Pavel
NXP Employee
NXP Employee

Configuration of the u-boot is available in the following folder in u-boot source: /include/configs/.

 

Use the following commands for u-boot

bitbake -c cleansstate u-boot

bitbake -c patch u-boot // source of the u-boot

bitbake -c compile -f u-boot

bitbake u-boot


Have a great day,
Pavel Chubakov

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

0 Kudos
1,362 Views
vinothkumars
Senior Contributor IV

Hi Pavel,

Thank You for your reply.

I able to build. But, I don't know which file I want to update the DDR Values.

Please give the details for update the ddr value for T4160 board.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos
1,362 Views
vinothkumars
Senior Contributor IV

Hi Pavel,

Any update? Still I am in trouble to initialise DDR values in U-boot Source to T4160 System.

Regards.

VinothS

Regards,
Vinothkumar Sekar
0 Kudos
1,363 Views
Pavel
NXP Employee
NXP Employee

Use Ubuntu 14. Do not use Ubuntu 16.

Usually the following command sequence is used for SDK 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. 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!
-----------------------------------------------------------------------------------------------------------------------

1,362 Views
vinothkumars
Senior Contributor IV

Hi Pavel,

I want to update ddr value in uboot for t4160 

Please provide the details for update the ddr value in uboot. I done DDR calibration  for t4160.

Regards,

Vinoths

Regards,
Vinothkumar Sekar
0 Kudos
1,362 Views
radhika
Contributor II

Thank you so much for the reply .The build completed successfully in ubuntu 14.04.

Regards,

Radhika

0 Kudos
1,362 Views
vinothkumars
Senior Contributor IV

Hi Radhika,

Did you Update DDR Value in U-boot to the T4160 and Did you got the t4160 folder or file under freescale folder

Thanks & Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos