Okay, i successfully installed bash, and it went further.
However this time the error says, "Unsupported architecture".
I don't know if you can do anything about it, or if it is up to vscode developers to add support for it.
-------------------------- Full log -------------------------------------
[19:45:44.048] Log Level: 2
[19:45:44.055] win32 x64
[19:45:44.058] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a2257617474776f726b6572227d", attempt 1
[19:45:44.058] SSH Resolver called for host: Wattworker
[19:45:44.058] Setting up SSH remote "Wattworker"
[19:45:44.116] Using commit id "e5a624b788d92b8d34d1392e4c4d9789406efe8f" and quality "stable" for server
[19:45:44.119] Install and start server if needed
[19:45:45.411] Checking ssh with "ssh -V"
[19:45:45.462] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[19:45:45.469] Running script with connection command: ssh -T -D 59128 Wattworker bash
[19:45:45.474] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[19:45:46.388] > email@example.com's password:]0;C:\WINDOWS\System32\cmd.exe
[19:45:46.388] Got some output, clearing connection timeout
[19:45:46.389] Showing password prompt
[19:45:50.773] Got password response
[19:45:50.774] "install" wrote data to terminal: "********"
[19:45:51.136] > b478c40a8081: running
[19:45:51.226] > Unsupported architecture: mips
[19:45:51.250] > b478c40a8081: start
[19:45:51.250] Received install output:
[19:45:51.252] Unsupported architecture
[19:45:51.258] Resolver error: Error: The remote host's architecture is not supported
at Function.ServerInstallError (c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:1:94355)
at c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:1:92085
at Object.t.handleInstallOutput (c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:1:93073)
at I (c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:127:106975)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:127:104974
at async Object.t.withShowDetailsEvent (c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:127:110096)
at async Object.t.resolve (c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:127:108158)
at async c:\Users\Mohammad Waqas.vscode\extensions\ms-vscode-remote.remote-ssh-0.56.0\out\extension.js:127:143767
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!
Firmware for the Omega2 Dash is built using Onion's fork of the OpenWRT source repo.
Differences from the regular Omega2/Omega2+ firmware include:
Includes kernel driver for the ILI9341 TFT driver. This enables the /dev/fb0 framebuffer device.
Includes the omega2-dash-base software package
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.
Looks like your connection to Community was lost, please wait while we try to reconnect.