I have baked several images for the SabreSD and there are u-boot binaries in the deploy/images folder. I need to modify u-boot for our board but the source does not exist in the build tree. Where is it? There exists a u-boot-imx folder but there is no source in it. The recipe pulls from git:
# branch=imx_v2013.04_3.5.7_1.0.0_alpha
SRC_URI = "git://${FSL_ARM_GIT_SERVER}/uboot-imx.git;protocol=git"
SRCREV = "a5a24c34364d59175d7d3130d02e8472572b9f4e"
Solved! Go to Solution.
I thought another way to know where your missing source code is.
from my u-boot tmp/work dir I have run.do_unpack and log.do_unpack. And from your log you don't have this file.
It may explain why you cannot see your source code..
But, why your bitbake did not run unpack I don't know.
Is there a config to place on local.conf exactly to remove the work dir "INHERIT += rm_work", but it does not look to be this case. (I looked at default local.conf from git.freescale.com and it is not set there)
Do the command bitbake -c unpack u-boot work for you?
Please share the error message or the error file
Sorry,
I missed that you were trying find the source in the yocto build tree. I do not know the answer to that, but you may want to check out https://community.freescale.com/thread/308722.
I've looked at all of those. The source isn't there, though.
Thanks,
sbl
try $ bitbake -c u-boot-imx. Source code should be tmp/work/MACHINE-poky-linux-gnueabi/u-boot-imx/
Already did that. There is no source.
build@ubuntu:/media/i.MX6_ddr3/fsl-community-bsp/build.x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5$ find .
.
./deploy-u-boot-imx
./deploy-u-boot-imx/u-boot-imx6qsabresd.imx
./deploy-u-boot-imx/u-boot.imx
./deploy-u-boot-imx/u-boot-imx6qsabresd-2013-04-5.imx
./package
./package/boot
./package/boot/u-boot.imx
./package/boot/u-boot-imx6qsabresd-2013-04-5.imx
./sstate-install-package
./temp
./temp/run.sstate_unpack_package.9965
./temp/run.do_package_write_rpm_setscene.9968
./temp/run.do_package_setscene.10007
./temp/log.do_populate_sysroot_setscene.9965
./temp/run.sstate_unpack_package.9966
./temp/log.task_order
./temp/run.sstate_unpack_package.10007
./temp/run.sstate_unpack_package.9967
./temp/run.sstate_unpack_package.9968
./temp/run.do_populate_sysroot_setscene.9965
./temp/log.do_deploy_setscene
./temp/log.do_package_write_rpm_setscene.9968
./temp/log.do_package_setscene
./temp/run.do_packagedata_setscene.9999
./temp/log.do_populate_lic_setscene
./temp/log.do_populate_lic_setscene.9967
./temp/log.do_packagedata_setscene
./temp/log.do_package_write_rpm_setscene
./temp/log.do_populate_sysroot_setscene
./temp/log.do_package_setscene.10007
./temp/log.do_packagedata_setscene.9999
./temp/run.do_deploy_setscene.9966
./temp/run.do_populate_lic_setscene.9967
./temp/run.sstate_unpack_package.9999
./temp/log.do_deploy_setscene.9966
./sstate-install-deploy-rpm
./git
./sstate-install-packagedata
./deploy-rpms
./deploy-rpms/imx6qsabresd
./deploy-rpms/imx6qsabresd/u-boot-imx-dbg-2013+04-5.imx6qsabresd.rpm
./deploy-rpms/imx6qsabresd/u-boot-imx-dev-2013+04-5.imx6qsabresd.rpm
./deploy-rpms/imx6qsabresd/u-boot-imx-2013+04-5.imx6qsabresd.rpm
./pseudo
./pseudo/files.db
./pseudo/pseudo.pid
./pseudo/pseudo.log
./pseudo/pseudo.socket
./pseudo/pseudo.lock
./pseudo/logs.db
./pkgdata
./pkgdata/runtime
./pkgdata/runtime/u-boot-imx-dev.packaged
./pkgdata/runtime/u-boot-imx-dev
./pkgdata/runtime/u-boot-imx.packaged
./pkgdata/runtime/u-boot-imx-locale
./pkgdata/runtime/u-boot-imx-dbg
./pkgdata/runtime/u-boot-imx
./pkgdata/runtime/u-boot-imx-doc
./pkgdata/runtime/u-boot-imx-dbg.packaged
./pkgdata/runtime/u-boot-imx-staticdev
./pkgdata/u-boot-imx
./pkgdata/shlibs
./pkgdata/runtime-reverse
./pkgdata/runtime-reverse/u-boot-imx-dev
./pkgdata/runtime-reverse/u-boot-imx-locale
./pkgdata/runtime-reverse/u-boot-imx-dbg
./pkgdata/runtime-reverse/u-boot-imx
./pkgdata/runtime-reverse/u-boot-imx-doc
./pkgdata/runtime-reverse/u-boot-imx-staticdev
./sysroot-destdir
./sstate-install-populate-sysroot
./sstate-install-deploy
./sstate-install-populate-lic
./license-destdir
./license-destdir/u-boot-imx
./license-destdir/u-boot-imx/COPYING
./license-destdir/u-boot-imx/generic_GPLv2
./packages-split
./packages-split/u-boot-imx-dev
./packages-split/u-boot-imx-locale
./packages-split/u-boot-imx-dbg
./packages-split/u-boot-imx
./packages-split/u-boot-imx/boot
./packages-split/u-boot-imx/boot/u-boot.imx
./packages-split/u-boot-imx/boot/u-boot-imx6qsabresd-2013-04-5.imx
./packages-split/u-boot-imx-doc
./packages-split/u-boot-imx-staticdev
from your data:
dylan+ u-boot-imx/2013-04-5
from dylan branch:
meta-fsl-arm - Layer containing Freescale ARM hardware support metadata
I can see u-boot-imx@2009.08 and u-boot-fslc@2013.04
Are you trying to create your own recipe?
Please, share the source code
Daiane Angolini wrote:
from your data:
dylan+ u-boot-imx/2013-04-5
from dylan branch:
meta-fsl-arm - Layer containing Freescale ARM hardware support metadata
I can see u-boot-imx@2009.08 and u-boot-fslc@2013.04
There are bitbake recipes and patch files in those directories. Those would be part of the input files to this process (the other part is the source code which doesn't exist). The next step is staging/merging, which is used to build the last step, the output files (in deploy/images).
Are you trying to create your own recipe?
I will eventually create my own layers/recipes once I finish patching the non-existent source code.
Please, share the source code
The source code I can't find? I don't even know how to respond to that.
Ho, the source you cannot find.
The recipe you´ve been using to fetch your u-boot.
I think there is some mistake on the u-boot version. I cannot the root cause now. That´s what I´m trying to figure out.
I tested dylan. I´ve been testing dora. I almost use only imx6sabresd. And I have never faced this issue before.
As I know, dylan does not point to 3.5.7.
Have you changed local.conf?