From: "Guillaume Fournier" <gfournier@brioconcept.com>
To: "'Daiane Angolini'" <daiane.list@gmail.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: Unable to get u-boot running on i.MX6 SABRE for Smart Devices Eval Board
Date: Wed, 5 Nov 2014 10:37:08 -0500 [thread overview]
Message-ID: <008b01cff90e$5c5a8bd0$150fa370$@brioconcept.com> (raw)
In-Reply-To: <CA+jg_OV3JGgTajSaEwN1qO+Emdz0zX8-BQ6BY+YYFT=33q=u0A@mail.gmail.com>
>> The ultimate goal is to have a cross-compiler build environment that works for both u-boot and kernel development. For now, I used Yocto to generate the toolchain (using meta-toolchain as specified in my first post) as described in section 3.4 of the Yocto Project Application Developer's Guide. Following your lead I did use "bitbake core-image-base" to generate an image and burned core-image-base-imx6dlsabresd.sdcard to an SD card using:
>> cfimager -f core-image-base-imx6dlsabresd.sdcard -raw -d d
>>
>> I used cfimager which is a tool that comes with IMX_6DL_6S_MFG_TOOL since I don't have physical access to a linux box. The board boots up fine but this is not the goal I seek. I want to get a working cross-compiling toolchain so I can build u-boot and the kernel outside of Yocto. I understand the subject of this post is therefore a bit misleading since u-boot does boot when using Yocto build output... It just doesn't when using the cross-compiling toolchain.
>>
>
>use the cfimage to burn the u-boot binary in your sdcard. I understand it would be the similar to the dd command. And, at least, you're going to test if the u-boot image is OK or not.
>
>mfgtool does not work the way you're expecting. You must have an u-boot + uImage + initramfs to *start* the burning cycle of your own image. And I have never tested to burn only one new u-boot with mfgtools.
>
>For me it looks like a mfgtools "misuse" or "misbehavior" more than toolchain problem.
>
>Oh, and only one more thing. The shell you use to bitbake your toolchain is not the shell you use to export that toolchain.
>
>Everytime you export the setup environment to use the toolchain, use a clean shell (I faced weird errors in the past because of forgetting to clean the environment variables)
>
>Daiane
I have tried both the cfimager and the mfgtool with similar results but I understand your point. I'm going to use cfimager from then on. I tried this with the cfimager and a known-to-work u-boot.bin:
cfimager -f u-boot-works.bin -raw -offset 1024 -skip 1024 -d d
u-boot booted on the target. So I believe putting u-boot.bin on an SD card is not part of the problem.
Doing the same with a u-boot.bin coming from u-boot-fslc cross-compiled with a Yocto installed toolchain doesn't (refer to my first post for detailed info on how I performed the Yocto installation, toolchain generation, etc).
I am making sure I use a clean shell every time I cross-compile u-boot.
next prev parent reply other threads:[~2014-11-05 15:37 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 22:44 Unable to get u-boot running on i.MX6 SABRE for Smart Devices Eval Board Guillaume Fournier
2014-11-05 0:03 ` Fabio Estevam
2014-11-05 14:38 ` Guillaume Fournier
2014-11-05 14:52 ` Wally Yeh
2014-11-05 15:24 ` Guillaume Fournier
2014-11-05 14:56 ` Daiane Angolini
2014-11-05 15:37 ` Guillaume Fournier [this message]
2014-11-05 15:45 ` Otavio Salvador
2014-11-05 16:05 ` Guillaume Fournier
2014-11-05 15:42 ` Otavio Salvador
2014-11-05 15:50 ` Guillaume Fournier
2014-11-05 15:54 ` Otavio Salvador
2014-11-05 15:59 ` Wally Yeh
2014-11-05 16:15 ` Guillaume Fournier
2014-11-05 16:21 ` Gary Thomas
2014-11-05 16:40 ` Otavio Salvador
2014-11-05 16:41 ` Guillaume Fournier
2014-11-05 0:23 ` Eric Bénard
2014-11-05 14:51 ` Guillaume Fournier
2014-11-05 17:25 ` Eric Bénard
-- strict thread matches above, loose matches on Subject: below --
2014-11-05 20:43 Guillaume Fournier
2014-11-05 21:04 ` Otavio Salvador
2014-11-05 21:50 ` Guillaume Fournier
2014-11-06 17:31 Guillaume Fournier
2014-11-06 17:47 ` Otavio Salvador
2014-11-06 17:53 ` Gary Thomas
2014-11-06 17:56 ` Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='008b01cff90e$5c5a8bd0$150fa370$@brioconcept.com' \
--to=gfournier@brioconcept.com \
--cc=daiane.list@gmail.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.