LS1043ardb fsl-image-kernelitb error

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

LS1043ardb fsl-image-kernelitb error

1,987 Views
hoanguyen
Contributor II

I am using SDK2.0 for the ls1043ardb board and got an error when compiling:

bitbake fsl-image-kernelitb

as follows:

NOTE: Checking sstate mirror object availability (for 9 objects)

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: Function failed: do_deploy (log file is located at /home/hoa/Workspace/SDK_2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-kernelitb/1.0-r0/temp/log.do_deploy.84525)

ERROR: Logfile of failure stored in: /home/hoa/Workspace/SDK_2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-kernelitb/1.0-r0/temp/log.do_deploy.84525

Log data follows:

| DEBUG: Executing python function sstate_task_prefunc

| DEBUG: Python function sstate_task_prefunc finished

| DEBUG: Executing shell function do_deploy

| cp: cannot stat '/home/hoa/Workspace/SDK_2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/deploy/images/ls1043ardb/Image': No such file or directory

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_deploy (log file is located at /home/hoa/Workspace/SDK_2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-kernelitb/1.0-r0/temp/log.do_deploy.84525)

ERROR: Task 13 (/home/hoa/Workspace/SDK_2.0/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-fsl/images/fsl-image-kernelitb.bb, do_deploy) failed with exit code '1'

And the log file 84525 is as follows:

DEBUG: Executing python function sstate_task_prefunc

DEBUG: Python function sstate_task_prefunc finished

DEBUG: Executing shell function do_deploy

cp: cannot stat '/home/hoa/Workspace/SDK_2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/deploy/images/ls1043ardb/Image': No such file or directory

WARNING: exit code 1 from a shell command.

ERROR: Function failed: do_deploy (log file is located at /home/hoa/Workspace/SDK_2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-kernelitb/1.0-r0/temp/log.do_deploy.84525)

So what I am missing here to create a kernel.itb file

In addition, how to I individually install/load the kernel, dtb, and ram disk file?

thanks

Hoa

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

1,447 Views
pranavmadhu
Contributor IV

hi Hao Nguyen,

Have you made any modification in sdk?

if so, It seems like, while compiling the sdk, some images are copying to  /build_ls1043ardb/tmp/deploy/images/ls1043ardb/Image directory, and the image directory is not present. Try grep command on the parts you modified in your sdk, to confirm whether the Image directory is created by grep -nr  "install -d ${DEPLOYDIR}/Images" ./<path> before the cp command you provided in do_deploy section of bb file.

0 Kudos
Reply

1,447 Views
hoanguyen
Contributor II

Hi Prana,

I have not made any modification. I think there is a typo- image should be images.

Regards,

Hoa Nguyen

0 Kudos
Reply

1,447 Views
Pavel
NXP Employee
NXP Employee

We usually use the following command sequence for SDK installing under Ubuntu 14.04 or 12.04:

  1. 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. 2.  a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

    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'

    c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

  1. 3. install SDK for your core
  2. 4. install SDK source
  3. 5. cd <sdk-install-dir>.
  4. 6. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo


Have a great day,
Pavel Chubakov

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

0 Kudos
Reply