Wanted to chime in here: the latest version of the bootloader fixes the USB flashing method!
All of the relevant info can be found here: https://community.onion.io/topic/4132/bootloader-update-fix-for-flashing-firmware-from-usb-storage
Just note that you'll need to use the Web Recovery method to update the bootloader. Might be easiest to get your hands on an ethernet expansion.
@Modest-Polykarpovich said in [GUIDE] Install OpenWrt 18.06 on Onion Omega2 Pro:
I don't see real feature to change OnionOS, I hoped to see OpenWRT 19.07.
The main reason I changed to OpenWrt is that the Onion WiFi firmware is unable to connect to my upstream WiFi, because its SSID is + (a plus sign).
I am now running OpenWrt 19.07 on my unit. The installation procedure is the same.
However, it's no longer possible to install any Onion specific software on 19.07. I want that battery indicator!
I think I'm closer to the answer. It seems to lie in the register AGPIO_CFG at address 0x1000003C. It switches the GPIOs 14 through 29 between the digital pins and the analog ethernet counterparts. Would this modification to AGPIO be done in the DTSI file, some bootloader/kernel parameter or do I need to make a patch to something somewhere?
I'm aware I could use something like devmem to directly set this register from userspace but I assume there is something a bit cleaner?
Well, the only thing left to do was to change the USB, and apparently that was enough. But It start very fast and I didn't have the chance to start (selecting option 2) with USB.
But I'll be back. Now is time to remember when I use OpenWrt in arduino Yún (remove brain spidy-webs). I know that my Onion2 has me great surprises to be able to implement my project of IoT in the cloud.
Thanks guys !!!
@jmztaylor Well that's good news. I suspect your USB key probably has an issue if you cannot mount it. You could likely fix it so you could mount it by running chkdsk on a windows machine or using dostools on a *nix machine.
I just add those comments for future readers of this thread, but the core issue you were having would be as I detailed above.
Thank you very much! That answers all my questions. Might I suggest that if a new board revision is pushed, the audio pins are broke out? It would certainty expand the capabilities.
I will get a board and play with it.
Love the project and everyone's time and hard work!