Where is u-boot source?

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

Where is u-boot source?

Jump to solution
23,740 Views
sbl
Contributor II

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"

Labels (1)
Tags (2)
1 Solution
11,455 Views
daiane_angolini
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
Reply
27 Replies
1,088 Views
awright
Contributor II

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.

0 Kudos
Reply
1,089 Views
sbl
Contributor II

I've looked at all of those.  The source isn't there, though.

Thanks,

sbl

0 Kudos
Reply
1,089 Views
LeonardoSandova
Specialist I

try $ bitbake -c u-boot-imx. Source code should be tmp/work/MACHINE-poky-linux-gnueabi/u-boot-imx/

0 Kudos
Reply
1,089 Views
sbl
Contributor II

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

0 Kudos
Reply
1,088 Views
daiane_angolini
NXP Employee
NXP Employee

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

0 Kudos
Reply
1,088 Views
sbl
Contributor II

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.

0 Kudos
Reply
1,088 Views
daiane_angolini
NXP Employee
NXP Employee

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?

0 Kudos
Reply