Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking into UBoot fails if not built with echo #64

Open
wwahammy opened this issue Aug 3, 2016 · 3 comments
Open

Breaking into UBoot fails if not built with echo #64

wwahammy opened this issue Aug 3, 2016 · 3 comments
Labels

Comments

@wwahammy
Copy link
Contributor

wwahammy commented Aug 3, 2016

bft uses the echo command to verify that it has successfully broke into uboot. Unfortunately, not all uboot builds have echo built in. This was a problem on the AP143 developer board

bft should have a way of handling this situation. @mattsm suggested I use the version command instead. This would be a good work around in this case. Would there be a feasible situation where the version command wouldn't be built in? (Is that possible on uboot?) The key is we should have reliable solution to this so breaking into uboot is successful in almost all cases

@mbanders
Copy link
Contributor

mbanders commented Aug 3, 2016

We'd have to view the list of available commands on all the versions of uboot people are interested in supporting. I like the idea of trying echo and if that returns 'not found' or whatever then trying version next. That should cover most uboot versions no?

@mattsm
Copy link
Contributor

mattsm commented Aug 3, 2016

Yea, 'help' might even be more common. One thing we do do is use && and || to run on pass or failure of the previous command. That functionality might be removed from U-Boot as well. There are always alternatives on how to handle this.

@mattsm
Copy link
Contributor

mattsm commented Aug 3, 2016

Yea, 'help' might even be more common. One thing we do do is use && and ||
to run on pass or failure of the previous command. That functionality might
be removed from U-Boot as well. There are always alternatives on how to
handle this.

-M

On Wed, Aug 3, 2016 at 12:56 PM Mike Anderson [email protected]
wrote:

We'd have to view the list of available commands on all the versions of
uboot people are interested in supporting. I like the idea of trying echo
and if that returns 'not found' or whatever then trying version next.
That should cover most uboot versions no?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#64 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA_05U6wZ8MTTAFmWOM8XcSBDPzxIO5zks5qcNVegaJpZM4Jb2Vu
.

@mattsm mattsm added the bug label Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants