AnsweredAssumed Answered

QorIQ SDK v1.9 bitbake fsl-image-full for P1020

Question asked by Alvin Hsu on Jul 25, 2016
Latest reply on Jul 27, 2016 by Alvin Hsu

Hi all, After command "bitbake fsl-image-full", it returns error message as below.

 

| checking for diff -u... yes

| checking for a supported version of gcc... ok (4.9.2)

| checking build system type... i686-pc-linux-gnu

| checking host system type... powerpc-fsl-linux-gnuspe

| checking for a supported CPU... ok (powerpc)

| checking for a 64-bit only build... no

| checking for a 32-bit only build... no

| checking for a supported OS... ok (linux-gnuspe)

| checking for the kernel version... unsupported (4.2.0-42-generic)

| configure: error: Valgrind works on kernels 2.4, 2.6

| Configure failed. The contents of all config.log files follows to aid debugging

| ERROR: oe_runconf failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_configure (log file is located at /home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto/build_p1020rdb/tmp/work/ppce500v2-fsl-linux-gnuspe/valgrind/3.8.1+fsl-r0/temp/log.do_configure.14160)

ERROR: Task 2927 (/home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-devtools/valgrind/valgrind_fsl.bb, do_configure) failed with exit code '1'

NOTE: Tasks Summary: Attempted 3552 tasks of which 17 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

 

 

Summary: 1 task failed:

  /home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-devtools/valgrind/valgrind_fsl.bb, do_configure

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

 

This is my local environment

VMware 7.1.0 build-2496824

Ubuntu 14.04.4 - 32 bit (ubuntu-14.04.4-desktop-i386)

 

Commands

>> sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm

>> sudo mount -o loop QorIQ\ SDK\ V1.9\ SOURCE.iso /mnt/cdrom

>> cd /mnt/cdrom/

>> ./install

>> cd /home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto

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

>> sudo "/usr/sbin/visudo" and add the following line in the User privilege section:

daniel ALL = NOPASSWD: /usr/bin/apt-get

 

>>. ./fsl-setup-env -m p1020rdb

>> bitbake fsl-image-full

 

Can someone know what it means and how to fixed it ?

My reference design board (RDB) is P1020WLAN. Should I use command target "p1020rdb" or others?

 

Thanks a lot!

Outcomes