Hello,
I'am new for Yocto build.
I have done follow "QorIQ SDK 2.0 Documentation" to generate binary and images but i'm not see uImage on it.
First , I tried to change "Image" to uImage but it's not working.
Second, I tried to patch kernel and recompile.
1) $ bitbake -c cleansstate virtual/kernel
2) $ bitbake -c patch virtual/kernel
3) $ bitbake -c compile -f virtual/kernel
4) $ bitbake virtual/kernel
Thank you
Nattapong
Right now , I'm using kernel ITB format for boot up.
Thank you
We usually use the following command sequence for SDK installing under Ubuntu 14.04 and Ubuntu 16.04:
Message: /bin/sh -> 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'
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!
-----------------------------------------------------------------------------------------------------------------------
Dear Pavel Chubako,
Thank you for your answer,
I tried follow your step but still doesn't have uImage at /tmp/deploy/image/.
just
Image -> Image--4.1-r0-ls1012ardb-20160906020608.bin
Thank you
Nattapong
Look at attached file.
Do you have similar uImage file?
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yes , I also attached files.
Thank you
Nattapong
Use uImage*.bin file for your task.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
You mean I can use Imag*.bin for boot instead of uImage ? .
Because , In my folder doesn't image named uImage.
Thank you
Nattapong.
Update
I had try to change KERNEL_IMAGETYPE = "Image" to "uImage" at LS1012A-SDK-20160810-yocto/sources/meta-freescale/conf/machine/include/qoriq-arm64.inc
and then
$ bitbake fsl-image-core
then ERROR
/LS1012A-SDK-20160810-yocto/build_ls1012ardb/tmp/sysroots/ls1012ardb LOADADDR=20008000
| GEN ./Makefile
| scripts/kconfig/conf --silentoldconfig Kconfig
| make[2]: *** No rule to make target `uImage'. Stop.
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/chonburi/Desktop/LS1012A-SDK-20160810-yocto/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.6238)
Thank you