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
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.
Hi Prana,
I have not made any modification. I think there is a typo- image should be images.
Regards,
Hoa Nguyen
We usually use the following command sequence for SDK installing under Ubuntu 14.04 or 12.04:
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
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!
-----------------------------------------------------------------------------------------------------------------------