All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Guillaume Fournier" <gfournier@brioconcept.com>
To: "'Otavio Salvador'" <otavio@ossystems.com.br>
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 11:15:58 -0500	[thread overview]
Message-ID: <00a301cff913$c9430060$5bc90120$@brioconcept.com> (raw)
In-Reply-To: <CAP9ODKrzq07Kuo341K861fVYn01H75yE7p3TT4_7GNy0HetZrg@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.
>>>
>>>I am failing to see what is missing? I use the toolchain for kernel and  u-boot development with no issues. What problems you are facing?
>>>
>>>--
>>>Otavio Salvador                             O.S. Systems
>>
>> I know it is a long post but could you read the first email I sent to the mailing list? I think this will sum it up for you.  Except for the last bit where I used the mfgtools instead of the cfimager (I changed after Daiane suggestion), everything is still relevant.  Thanks for stepping in Otavio.
>
>As I said on the other e-mail you need to use the u-boot.imx file, not the u-boot.bin one. Another change needed for mfgtool xml file is the dd command which needs the removal of 'seek=2' as it has no padding..

I'm now using the cfimager instead of the mfgtool as suggested by Daiane.  I am using u-boot.imx as follow:
cfimager -f u-boot.imx -raw -offset 1024 -skip 1024 -d d

If I use an .sdcard file from a Yocto build like this:
cfimager -f core-image-base-imx6dlsabresd.sdcard -raw -d d

That works.  If I'm using, *from the same build*, the u-boot.imx like this:
cfimager -f u-boot.imx -raw -offset 1024 -skip 1024 -d d

It doesn't!  Of course, if I use my custom built u-boot, it doesn't either.  I'm starting to believe that cfimager parameter are the culprit.

Guillaume Fournier



  parent reply	other threads:[~2014-11-05 16:16 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
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 [this message]
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='00a301cff913$c9430060$5bc90120$@brioconcept.com' \
    --to=gfournier@brioconcept.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    /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.