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

Possible to update u-boot without ethernet? #91

Open
sec opened this issue Feb 5, 2024 · 3 comments
Open

Possible to update u-boot without ethernet? #91

sec opened this issue Feb 5, 2024 · 3 comments

Comments

@sec
Copy link

sec commented Feb 5, 2024

Hi,
I have omega2p, with factory u-boot. Is it possible to flash the new u-boot without using ethernet connection?
As I don't own the ethernet dock, only expansion dock.

both serial over usb and/or wifi are working.
Can this be done from running Linux distro or u-boot command line (ex. flash u-boot from usb drive) ?

@greenbreakfast
Copy link
Contributor

Hi @sec
The factory bootloader only supports updates using web recovery over ethernet. Here is our guide on the topic: https://docs.onion.io/omega2-docs/Web-Recovery-flash-bootloader.html

Updating the bootloader to support other methods of updating the bootloader is a little bit of a chicken and egg problem. You will first need to update the bootloader with web recovery over ethernet in order to support other methods of bootloader updates.

@sec
Copy link
Author

sec commented Feb 6, 2024

That was the plan in the first place, but right now I need to restore uboot in there and then I can play around to update it again. Do you maybe have access to factory uboot (it was something like 1.1.3 from 2016) - on the bootloader page the oldest is from 2017. If I will be able to connect to flash and read, I would just compare what was erased from factory uboot and restore just that :)

Also, what are other ways to update uboot after newest uboot will be flashed? Are those somethere in the docs?

@greenbreakfast
Copy link
Contributor

@sec sorry, I'm realizing I was unclear when I said:

Updating the bootloader to support other methods of updating the bootloader is a little bit of a chicken and egg problem. You will first need to update the bootloader with web recovery over ethernet in order to support other methods of bootloader updates.

What I meant was: even if newer versions of the bootloader had other update methods, you would still be limited to the update mechanisms of your current bootloader. So you would have to use web recovery over ethernet to upgrade your current bootloader

Newer versions of the bootloader do not have other methods for bootloader updates. Updating the bootloader seems to be a fairly rare use case, and web recovery over ethernet has fit the bill so far.

Sorry for any confusion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants