Am 06.07.2015 16:28, schrieb Ian Campbell:
On Mon, 2015-07-06 at 14:11 +0200, Hans de Goede wrote:
Ah right, I guess that makes sense, but if this is not going to
be a fire and forget command, and people still need to run more
fel commands after it then I'm wondering it this is worth the trouble
at all.
Perhaps do the exe by default but provide a way to ask not to? (Or vice
versa, but that seems less useful to me)
[...]
See above since the user still needs to do the exec I wonder
what the value is in saving the user the single extra
fel write for the u-boot-dtb.bin file. I think having a full
auto mode as described above would be better.
Historically wasn't this what the usb-boot script did (effectively a
wrapper around the fel tool). It's be nice if it either a) started
working again, b) said something when it wasn't supposed to work and
pointed in the right direction or c) went away so it stops being
confusingly tempting to people like me ;-)
a) was what I was thinking of when I wrote the last bit of
http://lists.denx.de/pipermail/u-boot/2015-June/217743.html (which I've
still not gotten around to)
Ian.
I tend to agree with Ian here. My impression is that the fel utility
is meant to be the "one-trick pony", a low-level tool that handles
a single task (one command, out of several available) - but handles
that well / "right". Anything more sophisticated should probably be
done via scripting - that's what "usb-boot" is supposed to achieve.
I had fooled myself on this too (by missing the u-boot-dtb.bin
requirement and not adapting my FEL script) - and thought it
to be a problem in the SPL -> main U-Boot transition after the
switch to device model. Of course I was providing a 'broken'
u-boot that way (lacking the dtb data).
The "benefit" of the fel modification presented here is that the
utility would be able to gracefully handle _any_ u-boot-sunxi-with-spl.bin,
be it from 2015.04 ("pre-DTB"), or 2015.07+; without the user
(or script) having to pay attention to the correct filename for
the main binary.
Regards, B. Nortmann
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.