From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Booting Wandboard through USB
Date: Sat, 30 May 2015 12:53:13 -0700 [thread overview]
Message-ID: <556A1529.6090508@boundarydevices.com> (raw)
In-Reply-To: <20150530192530.GC1728@bill-the-cat>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Tom,
On 05/30/2015 12:25 PM, Tom Rini wrote:
> On Sat, May 30, 2015 at 10:41:16AM -0700, Eric Nelson wrote:
>> On 05/30/2015 09:49 AM, Tom Rini wrote:
>>> On Fri, May 29, 2015 at 11:46:40AM +0200, Vincent Stehl?
>>> wrote:
>>>
[...]
>>
>> This is an old topic and the threading seems to be messed up in
>> the archive, but I think Michael Trimarchi has a solution based
>> on inclusion of DFU in the SPL image:
>>
>> http://lists.denx.de/pipermail/u-boot/2013-October/165849.html
>>
>> I would prefer to see something slimmer if possible, and using
>> imx_usb has the advantage of only needing a single tool on the
>> programming host.
>
> Ah yes, firing up and letting DFU do the rest is another option I
> had forgotten about. But I too lean towards something imx_usb can
> do as that will also make integration into the Freescale factory
> flashing tool easier I suspect.
>
I think there's an easy way and a more complicated way to do this.
The easiest is probably to do something custom in SPL and
update imx_usb to support the same.
There's a WRITE_FILE command in the serial download protocol
which could serve as an example, though 100% compatibility isn't
needed, since the internal ROM isn't needed.
Note that this would also require updates to the SB_LOADER tool
used in the Freescale Manufacturing tool for use on Windows.
I think that's closed source (and C# or somesuch), but perhaps
Fabio can provide details.
The harder way (and the Freescale way) is to somehow package
the SPL content and full U-Boot image in a way such that the
SPL is a "plugin" that can execute and return to the boot loader
after setting up DDR and bundle SPL and u-boot.img into a
single .imx file.
I think that both imx_usb and sb_loader support plugins.
Regards,
Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVahUpAAoJEFUqXmm9AiVrTNkH/iexdhpBtiLHGO9IQ1T9ewk+
B+sdeZHj8MLRWRsN7AeWrfXXFqy6+JTkPkKLgiqkfd93JmT82xsp6EOzqO1MPmBK
L+nSl0+ILj/iBVhyew5O56N/EJT/JQG4wHIbuJfEIgkMkWP7BK722sOitnkKLXO5
aNPi5T4z4XZXnw+5JSLQi75c4TUGz5O8tMNxd/8yUBrjeW0t03ZqAWErWvAq29IT
qLWLr1SYTl5Rl25D5dn2p/mwYlbHNq0KsYZTjesQeyGdKglN8QVmvof84doPpL34
cxerzYlKr1VGaMGo2jQ3hOs+eA+JrYG+C3V82hTvl+5XpSLpfQ/BTxiG04n/pmw=
=nBFi
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2015-05-30 19:53 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 9:46 [U-Boot] Booting Wandboard through USB Vincent Stehlé
2015-05-30 16:49 ` Tom Rini
2015-05-30 17:24 ` Vincent Stehlé
2015-05-30 20:09 ` Eric Nelson
2015-05-30 20:38 ` Tom Rini
2015-05-31 22:54 ` Nikolay Dimitrov
2015-05-31 23:15 ` Nikolay Dimitrov
2015-06-01 8:10 ` Stefano Babic
2015-06-01 16:03 ` Tim Harvey
2015-06-01 16:28 ` Nikolay Dimitrov
2015-06-01 16:38 ` Tim Harvey
2015-06-02 14:25 ` Tom Rini
2015-06-02 15:00 ` Tim Harvey
2015-06-01 16:08 ` Nikolay Dimitrov
2015-05-30 17:41 ` Eric Nelson
2015-05-30 19:25 ` Tom Rini
2015-05-30 19:53 ` Eric Nelson [this message]
2015-07-24 0:59 ` Fabio Estevam
2015-05-30 16:49 ` Fabio Estevam
-- strict thread matches above, loose matches on Subject: below --
2017-07-27 9:05 Vincent Prince
2017-07-27 20:54 ` Wolfgang Denk
2017-08-05 12:22 ` Fabio Estevam
2017-08-05 13:44 ` Vincent Prince
2017-08-05 15:46 ` Tom Rini
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=556A1529.6090508@boundarydevices.com \
--to=eric.nelson@boundarydevices.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox