Why does my bitbake fsl-image-minimal command always shows the following error

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

Why does my bitbake fsl-image-minimal command always shows the following error

1,969 Views
735382270
Contributor II

When i cd into the install directory named QorIQ-SDK-V2.0-20160527-yocto,and type

1../sources/meta-freescale/scripts/host-prepare.sh

2. . ./fsl-setup-env -m t4240qds-64b

3.bitbake fsl-image-minimal,

then my bitbake fsl-image-minimal command always shows the following error:

Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 6083 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "powerpc64-fsl-linux"
MACHINE           = "t4240qds-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
WARNING: /home/t4240/t4240/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-nxp-npi-1703/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb.do_compile is tainted from a forced run
NOTE: Checking sstate mirror object availability (for 162 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /home/t4240/t4240/QorIQ-SDK-V2.0-20160527-yocto/build_t4240qds-64b/tmp/work/t4240qds_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.25781)
ERROR: Logfile of failure stored in: /home/t4240/t4240/QorIQ-SDK-V2.0-20160527-yocto/build_t4240qds-64b/tmp/work/t4240qds_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.25781
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/t4240/t4240/QorIQ-SDK-V2.0-20160527-yocto/build_t4240qds-64b/tmp/work/t4240qds_64b-fsl-linux/linux-qoriq/4.1-r0/git/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/t4240/t4240/QorIQ-SDK-V2.0-20160527-yocto/build_t4240qds-64b/tmp/work/t4240qds_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.25781)
ERROR: Task 47 (/home/t4240/t4240/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_configure) failed with exit code '1'
Waiting for 3 running tasks to finish:
0: usbutils-007-r0 do_configure (pid 25784)
1: python-2.7.9-r1 do_compile (pid 25782)
2: glib-2.0-1_2.44.1-r0 do_package (pid 25897)

I use ubuntu 14.04 in vmware,I'm very thankful if anyone can help me with my problem.

0 Kudos
Reply
6 Replies

1,649 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello 丁 凡,

In Linux Kernel source code, the file arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig should be provided by default.

Please check whether you have installed both QorIQ-SDK-V2.0-SOURCE-20160527-yocto.iso and QorIQ-SDK-V2.0-PPC64E6500-CACHE-20160527-yocto.iso.

Please check whether you could run the following command successfully.

$ bitbake virtual/kernel -c cleansstate

$ bitbake virtual/kernel

Thanks,

Yiping

0 Kudos
Reply

1,649 Views
735382270
Contributor II

I check my document ,I use QorIQ-Linux-SDK-v2.0-1703.tar.bz2 to install and mount QorIQ-Linux-SDK-v2.0-PPC64E6500-Yocto-Cache.iso.I don't find a guide which asks me to use QorIQ-SDK-V2.0-SOURCE-20160527-yocto.iso,can u give me more details,thanks a lot!

0 Kudos
Reply

1,649 Views
yipingwang
NXP TechSupport
NXP TechSupport

SDK 2.0 1703 is an incremental update to SDK 2.0, please install QorIQ-SDK-V2.0-SOURCE-20160527-yocto.iso and QorIQ-Linux-SDK-v2.0-PPC64E6500-Yocto-Cache.iso first, then install tar ball QorIQ-Linux-SDK-v2.0-1703.tar.bz2.

You could refer to section "3.2.1 Install SDK V2.0-1703" and "3.2.2 Install SDK 2.0" in QorIQ-SDK-2.0-1703-IC-Rev0.pdf.

1,649 Views
735382270
Contributor II

I can't even see the progress bar of bitbake,but when I interrupt it ,it shows ERROR: Timeout while attempting to communicate with bitbake server.How can I know when to restart bitbake or I should just wait.

0 Kudos
Reply

1,649 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please complete bitbake building to set up the building environment first.

0 Kudos
Reply

1,649 Views
735382270
Contributor II

I've tried your suggestion ,but my bitbake stucked for a long time,like 20 hours or even more.Even if I restart it ,it still stuck at the same position,my internet works and my vmware can run perfectly ,what should I do?

0 Kudos
Reply