Daiane Angolini wrote:
Look.
I have. Extensively for the last week. It is not there.
If you had read all the documents, you would know what I will say to you here. So, please, be calm and read one line at a time.
I am calm (I'm not the one calling people names and typing in all caps) and I have been reading the documents (I am on my third time through the Yocto Mega Manual, and I have read the attached Freescale document at least a dozen times).
Yocto is not supposed to be a development tool. It´s supposed to wrap all things you have already done, ready, released, and place altogether on an image.
I understand that. It builds the whole kit and kaboodle from u-boot to rootfs to sd card image. Wonderful.
Said so. You will find only a COPY of u-boot source code inside the yocto build dir, it´s located at tmp/work/<your-board>/u-boot-fslc. If you had find -name *u-boot* you would had find it.
No, it is not, and I have:
build@ubuntu:/media/i.MX6_ddr3/fsl-community-bsp/build.x11$ find . -iname *u-boot*
./tmp/work/x86_64-linux/u-boot-mkimage-native
./tmp/work/x86_64-linux/u-boot-mkimage-native/2011.06-r0/u-boot-2011.06
./tmp/work/x86_64-linux/u-boot-mkimage-native/2011.06-r0/license-destdir/u-boot-mkimage-native
./tmp/work/x86_64-linux/qemu-native/1.4.0-r0/qemu-1.4.0/roms/SLOF/board-qemu/slof/qemu-bootlist.fs
./tmp/work/imx6qsabresd-poky-linux-gnueabi/imx-test/1_3.5.7-1.0.0-r7.0/imx-test-3.5.7-1.0.0/test/mxc_secureboot/V2009/u-boot
./tmp/work/imx6qsabresd-poky-linux-gnueabi/imx-test/1_3.5.7-1.0.0-r7.0/imx-test-3.5.7-1.0.0/test/mxc_secureboot/V2012/u-boot
./tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.5.7-1.0.0-r32.5/package/usr/src/kernel/arch/avr32/boot/u-boot
./tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.5.7-1.0.0-r32.5/sysroot-destdir/usr/src/kernel/arch/avr32/boot/u-boot
./tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.5.7-1.0.0-r32.5/packages-split/kernel-dev/usr/src/kernel/arch/avr32/boot/u-boot
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/deploy-u-boot-imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/deploy-u-boot-imx/u-boot-imx6qsabresd.imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/deploy-u-boot-imx/u-boot.imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/deploy-u-boot-imx/u-boot-imx6qsabresd-2013-04-5.imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/package/boot/u-boot.imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/package/boot/u-boot-imx6qsabresd-2013-04-5.imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/deploy-rpms/imx6qsabresd/u-boot-imx-dbg-2013+04-5.imx6qsabresd.rpm
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/deploy-rpms/imx6qsabresd/u-boot-imx-dev-2013+04-5.imx6qsabresd.rpm
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/deploy-rpms/imx6qsabresd/u-boot-imx-2013+04-5.imx6qsabresd.rpm
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx-dev.packaged
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx-dev
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx.packaged
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx-locale
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx-dbg
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx-doc
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx-dbg.packaged
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime/u-boot-imx-staticdev
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/u-boot-imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime-reverse/u-boot-imx-dev
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime-reverse/u-boot-imx-locale
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime-reverse/u-boot-imx-dbg
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime-reverse/u-boot-imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime-reverse/u-boot-imx-doc
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/pkgdata/runtime-reverse/u-boot-imx-staticdev
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/license-destdir/u-boot-imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx-dev
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx-locale
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx-dbg
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx/boot/u-boot.imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx/boot/u-boot-imx6qsabresd-2013-04-5.imx
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx-doc
./tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2013-04-5/packages-split/u-boot-imx-staticdev
./tmp/log/cleanlogs/u-boot-imx
./tmp/deploy/rpm/imx6qsabresd/u-boot-imx-dbg-2013+04-5.imx6qsabresd.rpm
./tmp/deploy/rpm/imx6qsabresd/u-boot-imx-dev-2013+04-5.imx6qsabresd.rpm
./tmp/deploy/rpm/imx6qsabresd/u-boot-imx-2013+04-5.imx6qsabresd.rpm
./tmp/deploy/images/u-boot-imx6qsabresd.imx
./tmp/deploy/images/u-boot.imx
./tmp/deploy/images/u-boot-imx6qsabresd-2013-04-5.imx
./tmp/deploy/licenses/u-boot-mkimage-native
./tmp/deploy/licenses/u-boot-imx
./tmp/sstate-control/manifest-imx6qsabresd-u-boot-imx.package
./tmp/sstate-control/manifest-x86_64-u-boot-mkimage-native.populate-lic
./tmp/sstate-control/manifest-x86_64-u-boot-mkimage-native.populate-sysroot
./tmp/sstate-control/manifest-imx6qsabresd-u-boot-imx.packagedata
./tmp/sstate-control/manifest-imx6qsabresd-u-boot-imx.deploy-rpm
./tmp/sstate-control/manifest-imx6qsabresd-u-boot-imx.populate-sysroot
./tmp/sstate-control/manifest-imx6qsabresd-u-boot-imx.deploy
./tmp/sstate-control/manifest-imx6qsabresd-u-boot-imx.populate-lic
./tmp/stamps/x86_64-linux/u-boot-mkimage-native
./tmp/stamps/imx6qsabresd-poky-linux-gnueabi/u-boot-imx
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx-dev.packaged
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx-dev
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx.packaged
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx-locale
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx-dbg
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx-doc
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx-dbg.packaged
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime/u-boot-imx-staticdev
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/u-boot-imx
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime-reverse/u-boot-imx-dev
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime-reverse/u-boot-imx-locale
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime-reverse/u-boot-imx-dbg
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime-reverse/u-boot-imx
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime-reverse/u-boot-imx-doc
./tmp/pkgdata/imx6qsabresd-poky-linux-gnueabi/runtime-reverse/u-boot-imx-staticdev
./tmp/buildstats/fsl-image-x11-imx6qsabresd/201310011259/u-boot-mkimage-native-2011.06-r0
./tmp/buildstats/fsl-image-x11-imx6qsabresd/201310011259/u-boot-imx-2013-04-5
./tmp/buildstats/fsl-image-x11-imx6qsabresd/201310011642/u-boot-imx-2013-04-5
./tmp/buildstats/u-boot-imx-imx6qsabresd
./tmp/buildstats/u-boot-imx-imx6qsabresd/201310021528/u-boot-imx-2013-04-5
./tmp/sysroots/imx6qsabresd/usr/src/kernel/arch/avr32/boot/u-boot
build@ubuntu:/media/i.MX6_ddr3/fsl-community-bsp/build.x11$
If you need to develop with u-boot you MUST git clone it from the source:
Freescale:
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/
Denx
git.denx.de Git - u-boot.git/summary
I've already done this, as I said in a previous post (speaking of not reading things).
Then, you clone it to any place you want. Develop it. And after your board is booting you create one recipe into your meta layer to fetch your u-boot and build/deploy it.
That is what I am currently in the process of doing.
I will not reply to your direct message. It´s not my fault that you´re a newbie. (I don´t want to be rude, you started it)
I have been building embedded devices for the last 5+ years using u-boot directly and using ltib on other Freescale platforms. I am not new to this bring-up process (as stated in a previous post). I should be finished patching u-boot today and have a booting platform again. I am new to the Yocto build environment, so wasting my time trying to follow incorrect documentation is frustrating. The entire point of all of my posts has been to simply find out where in the build tree is the source to u-boot. Being treated like I don't know how to use find and grep (which I have already posted the results from in previous posts) is insulting. I have read my message to you a couple of times now and I fail to find any occurrence of me blaming you for anything. If that was your impression, I apologize for making you feel defensive. The only reason I was trying to take the discussion off line was for the purpose of discussion supposedly confidential Freescale information and to not clutter up the forum with threads like this. I was trying to express my frustration without being rude, so I didn't start it. There were no derogatory remarks, all caps typing, name-calling or insults in my message to you. The same cannot be said of your reply. Glad to see that Freescale employees keep things at a professional level [not]. I would surmise that your next step will be to delete this post/thread and ban me. Do you treat all of your partners this way?
Oh, and "modify u-boot" in yocto is *exactly the same* as modifying kernel.
Except for the part where modifying the kernel says (paraphrased): "Go into the build tree, find the kernel source and either use the quilt or git method to patch the kernel".
Let's try that with u-boot, shall we? Again, paraphrased: "Go into the build tree, find the u-boot source (sorry, it doesn't exist!) and either use the quilt or git method to patch u-boot".
Not quite the same thing.
I implore you to please follow the directions in the attached document for fetching and building fsl-image-x11. If, after you have built it, you can show me where in build tree the u-boot source is, I will happily paypal you enough cash to go to a local establishment and have a glass of your favorite beverage to relax as compensation for having to deal with ilk such as me. On the other hand, if you can't find the u-boot source in the build tree, I would be just as happy to receive a public apology from you.
Regards,
sbl