Omega 2+ USB Firmware Install after Brick. [Resolved]
-
@WereCatf I have a linux laptop, but not a USB to TTL adapter. Maybe I'm screwed until I can get one.
-
@Marty-Mickelson Take a look at https://docs.onion.io/omega2-docs/connecting-to-the-omega-terminal.html#connecting-via-serial-mac
-
@WereCatf thanks for the info. May I ask what are the 2 USB pins for on the Omega?
-
@Costas-Costas For connecting USB-devices to it. You know, there is a full-size USB-port on the docks -- its data-lines are connected to those pins.
-
I installled the driver linked to from https://docs.onion.io/omega2-docs/connecting-to-the-omega-terminal.html#connecting-via-serial-mac, but the device never showed up when using ls tty.*. Either the driver didn't install correctly or my Omega2+ is really dead.
-
Marty,
Try ls /dev/tty*, does that work? Also, what dock are you using? If expansion or mini dock it should be there, if you're on arduino or power the USB-Serial connection won't work.Here's my adventure with un-bricking my device using the arduino dock for reference:
http://community.onion.io/topic/1377/might-have-bricked-my-omega2-can-t-connect-via-serial/8
edit: try restarting your computer also, I think I had to do that before the driver worked.
-
@cusackph When I use ls /dev/tty* and I get a lot more items (expected).
I'm using the expansion dock, powered from the USB cable attached to my computer.
I restarted but still no luck.Well done documenting your steps in the un-bricking adventure. I've ordered the USB adapter and will push forward when it arrives.
-
@Marty-Mickelson With the expansion dock plugged in and the omega2+ running, could you take a screenshot or copy the output when you run the ls /dev/tty* command? Maybe the Omega2 is showing up as something unexpected.
-
The output is the same when the dock is unplugged vs plugged in and lights flashing, during the 30 sec it flashes after turning it on with the reset button pressed. I copied the list and diff'd it to make sure. Here's what I get though:
/dev > ls -al tty* crw-rw-rw- 1 root wheel 2, 0 Jan 25 11:59 tty crw-rw-rw- 1 root wheel 31, 0 Jan 25 12:01 tty.Bluetooth-Incoming-Port crw-rw-rw- 1 root wheel 31, 2 Jan 25 12:01 tty.Bluetooth-Modem crw-rw-rw- 1 root wheel 31, 4 Jan 25 12:01 tty.MickelsonsiPad-Wireless crw-rw-rw- 1 root wheel 4, 0 Jan 25 11:59 ttyp0 crw-rw-rw- 1 root wheel 4, 1 Jan 25 11:59 ttyp1 crw-rw-rw- 1 root wheel 4, 2 Jan 25 11:59 ttyp2 crw-rw-rw- 1 root wheel 4, 3 Jan 25 11:59 ttyp3 crw-rw-rw- 1 root wheel 4, 4 Jan 25 11:59 ttyp4 crw-rw-rw- 1 root wheel 4, 5 Jan 25 11:59 ttyp5 crw-rw-rw- 1 root wheel 4, 6 Jan 25 11:59 ttyp6 crw-rw-rw- 1 root wheel 4, 7 Jan 25 11:59 ttyp7 crw-rw-rw- 1 root wheel 4, 8 Jan 25 11:59 ttyp8 crw-rw-rw- 1 root wheel 4, 9 Jan 25 11:59 ttyp9 crw-rw-rw- 1 root wheel 4, 10 Jan 25 11:59 ttypa crw-rw-rw- 1 root wheel 4, 11 Jan 25 11:59 ttypb crw-rw-rw- 1 root wheel 4, 12 Jan 25 11:59 ttypc crw-rw-rw- 1 root wheel 4, 13 Jan 25 11:59 ttypd crw-rw-rw- 1 root wheel 4, 14 Jan 25 11:59 ttype crw-rw-rw- 1 root wheel 4, 15 Jan 25 11:59 ttypf crw-rw-rw- 1 root wheel 4, 16 Jan 25 11:59 ttyq0 crw-rw-rw- 1 root wheel 4, 17 Jan 25 11:59 ttyq1 crw-rw-rw- 1 root wheel 4, 18 Jan 25 11:59 ttyq2 crw-rw-rw- 1 root wheel 4, 19 Jan 25 11:59 ttyq3 crw-rw-rw- 1 root wheel 4, 20 Jan 25 11:59 ttyq4 crw-rw-rw- 1 root wheel 4, 21 Jan 25 11:59 ttyq5 crw-rw-rw- 1 root wheel 4, 22 Jan 25 11:59 ttyq6 crw-rw-rw- 1 root wheel 4, 23 Jan 25 11:59 ttyq7 crw-rw-rw- 1 root wheel 4, 24 Jan 25 11:59 ttyq8 crw-rw-rw- 1 root wheel 4, 25 Jan 25 11:59 ttyq9 crw-rw-rw- 1 root wheel 4, 26 Jan 25 11:59 ttyqa crw-rw-rw- 1 root wheel 4, 27 Jan 25 11:59 ttyqb crw-rw-rw- 1 root wheel 4, 28 Jan 25 11:59 ttyqc crw-rw-rw- 1 root wheel 4, 29 Jan 25 11:59 ttyqd crw-rw-rw- 1 root wheel 4, 30 Jan 25 11:59 ttyqe crw-rw-rw- 1 root wheel 4, 31 Jan 25 11:59 ttyqf crw-rw-rw- 1 root wheel 4, 32 Jan 25 11:59 ttyr0 crw-rw-rw- 1 root wheel 4, 33 Jan 25 11:59 ttyr1 crw-rw-rw- 1 root wheel 4, 34 Jan 25 11:59 ttyr2 crw-rw-rw- 1 root wheel 4, 35 Jan 25 11:59 ttyr3 crw-rw-rw- 1 root wheel 4, 36 Jan 25 11:59 ttyr4 crw-rw-rw- 1 root wheel 4, 37 Jan 25 11:59 ttyr5 crw-rw-rw- 1 root wheel 4, 38 Jan 25 11:59 ttyr6 crw-rw-rw- 1 root wheel 4, 39 Jan 25 11:59 ttyr7 crw-rw-rw- 1 root wheel 4, 40 Jan 25 11:59 ttyr8 crw-rw-rw- 1 root wheel 4, 41 Jan 25 11:59 ttyr9 crw-rw-rw- 1 root wheel 4, 42 Jan 25 11:59 ttyra crw-rw-rw- 1 root wheel 4, 43 Jan 25 11:59 ttyrb crw-rw-rw- 1 root wheel 4, 44 Jan 25 11:59 ttyrc crw-rw-rw- 1 root wheel 4, 45 Jan 25 11:59 ttyrd crw-rw-rw- 1 root wheel 4, 46 Jan 25 11:59 ttyre crw-rw-rw- 1 root wheel 4, 47 Jan 25 11:59 ttyrf crw-rw-rw- 1 root wheel 4, 48 Jan 25 11:59 ttys0 crw--w---- 1 mmickelson tty 16, 0 Jan 25 12:59 ttys000 crw--w---- 1 mmickelson tty 16, 1 Jan 25 12:57 ttys001 crw--w---- 1 mmickelson tty 16, 2 Jan 25 12:57 ttys002 crw--w---- 1 mmickelson tty 16, 3 Jan 25 12:57 ttys003 crw--w---- 1 mmickelson tty 16, 4 Jan 25 12:57 ttys004 crw--w---- 1 mmickelson tty 16, 5 Jan 25 12:57 ttys005 crw--w---- 1 mmickelson tty 16, 6 Jan 25 12:57 ttys006 crw-rw-rw- 1 root wheel 4, 49 Jan 25 11:59 ttys1 crw-rw-rw- 1 root wheel 4, 50 Jan 25 11:59 ttys2 crw-rw-rw- 1 root wheel 4, 51 Jan 25 11:59 ttys3 crw-rw-rw- 1 root wheel 4, 52 Jan 25 11:59 ttys4 crw-rw-rw- 1 root wheel 4, 53 Jan 25 11:59 ttys5 crw-rw-rw- 1 root wheel 4, 54 Jan 25 11:59 ttys6 crw-rw-rw- 1 root wheel 4, 55 Jan 25 11:59 ttys7 crw-rw-rw- 1 root wheel 4, 56 Jan 25 11:59 ttys8 crw-rw-rw- 1 root wheel 4, 57 Jan 25 11:59 ttys9 crw-rw-rw- 1 root wheel 4, 58 Jan 25 11:59 ttysa crw-rw-rw- 1 root wheel 4, 59 Jan 25 11:59 ttysb crw-rw-rw- 1 root wheel 4, 60 Jan 25 11:59 ttysc crw-rw-rw- 1 root wheel 4, 61 Jan 25 11:59 ttysd crw-rw-rw- 1 root wheel 4, 62 Jan 25 11:59 ttyse crw-rw-rw- 1 root wheel 4, 63 Jan 25 11:59 ttysf crw-rw-rw- 1 root wheel 4, 64 Jan 25 11:59 ttyt0 crw-rw-rw- 1 root wheel 4, 65 Jan 25 11:59 ttyt1 crw-rw-rw- 1 root wheel 4, 66 Jan 25 11:59 ttyt2 crw-rw-rw- 1 root wheel 4, 67 Jan 25 11:59 ttyt3 crw-rw-rw- 1 root wheel 4, 68 Jan 25 11:59 ttyt4 crw-rw-rw- 1 root wheel 4, 69 Jan 25 11:59 ttyt5 crw-rw-rw- 1 root wheel 4, 70 Jan 25 11:59 ttyt6 crw-rw-rw- 1 root wheel 4, 71 Jan 25 11:59 ttyt7 crw-rw-rw- 1 root wheel 4, 72 Jan 25 11:59 ttyt8 crw-rw-rw- 1 root wheel 4, 73 Jan 25 11:59 ttyt9 crw-rw-rw- 1 root wheel 4, 74 Jan 25 11:59 ttyta crw-rw-rw- 1 root wheel 4, 75 Jan 25 11:59 ttytb crw-rw-rw- 1 root wheel 4, 76 Jan 25 11:59 ttytc crw-rw-rw- 1 root wheel 4, 77 Jan 25 11:59 ttytd crw-rw-rw- 1 root wheel 4, 78 Jan 25 11:59 ttyte crw-rw-rw- 1 root wheel 4, 79 Jan 25 11:59 ttytf crw-rw-rw- 1 root wheel 4, 80 Jan 25 11:59 ttyu0 crw-rw-rw- 1 root wheel 4, 81 Jan 25 11:59 ttyu1 crw-rw-rw- 1 root wheel 4, 82 Jan 25 11:59 ttyu2 crw-rw-rw- 1 root wheel 4, 83 Jan 25 11:59 ttyu3 crw-rw-rw- 1 root wheel 4, 84 Jan 25 11:59 ttyu4 crw-rw-rw- 1 root wheel 4, 85 Jan 25 11:59 ttyu5 crw-rw-rw- 1 root wheel 4, 86 Jan 25 11:59 ttyu6 crw-rw-rw- 1 root wheel 4, 87 Jan 25 11:59 ttyu7 crw-rw-rw- 1 root wheel 4, 88 Jan 25 11:59 ttyu8 crw-rw-rw- 1 root wheel 4, 89 Jan 25 11:59 ttyu9 crw-rw-rw- 1 root wheel 4, 90 Jan 25 11:59 ttyua crw-rw-rw- 1 root wheel 4, 91 Jan 25 11:59 ttyub crw-rw-rw- 1 root wheel 4, 92 Jan 25 11:59 ttyuc crw-rw-rw- 1 root wheel 4, 93 Jan 25 11:59 ttyud crw-rw-rw- 1 root wheel 4, 94 Jan 25 11:59 ttyue crw-rw-rw- 1 root wheel 4, 95 Jan 25 11:59 ttyuf crw-rw-rw- 1 root wheel 4, 96 Jan 25 11:59 ttyv0 crw-rw-rw- 1 root wheel 4, 97 Jan 25 11:59 ttyv1 crw-rw-rw- 1 root wheel 4, 98 Jan 25 11:59 ttyv2 crw-rw-rw- 1 root wheel 4, 99 Jan 25 11:59 ttyv3 crw-rw-rw- 1 root wheel 4, 100 Jan 25 11:59 ttyv4 crw-rw-rw- 1 root wheel 4, 101 Jan 25 11:59 ttyv5 crw-rw-rw- 1 root wheel 4, 102 Jan 25 11:59 ttyv6 crw-rw-rw- 1 root wheel 4, 103 Jan 25 11:59 ttyv7 crw-rw-rw- 1 root wheel 4, 104 Jan 25 11:59 ttyv8 crw-rw-rw- 1 root wheel 4, 105 Jan 25 11:59 ttyv9 crw-rw-rw- 1 root wheel 4, 106 Jan 25 11:59 ttyva crw-rw-rw- 1 root wheel 4, 107 Jan 25 11:59 ttyvb crw-rw-rw- 1 root wheel 4, 108 Jan 25 11:59 ttyvc crw-rw-rw- 1 root wheel 4, 109 Jan 25 11:59 ttyvd crw-rw-rw- 1 root wheel 4, 110 Jan 25 11:59 ttyve crw-rw-rw- 1 root wheel 4, 111 Jan 25 11:59 ttyvf crw-rw-rw- 1 root wheel 4, 112 Jan 25 11:59 ttyw0 crw-rw-rw- 1 root wheel 4, 113 Jan 25 11:59 ttyw1 crw-rw-rw- 1 root wheel 4, 114 Jan 25 11:59 ttyw2 crw-rw-rw- 1 root wheel 4, 115 Jan 25 11:59 ttyw3 crw-rw-rw- 1 root wheel 4, 116 Jan 25 11:59 ttyw4 crw-rw-rw- 1 root wheel 4, 117 Jan 25 11:59 ttyw5 crw-rw-rw- 1 root wheel 4, 118 Jan 25 11:59 ttyw6 crw-rw-rw- 1 root wheel 4, 119 Jan 25 11:59 ttyw7 crw-rw-rw- 1 root wheel 4, 120 Jan 25 11:59 ttyw8 crw-rw-rw- 1 root wheel 4, 121 Jan 25 11:59 ttyw9 crw-rw-rw- 1 root wheel 4, 122 Jan 25 11:59 ttywa crw-rw-rw- 1 root wheel 4, 123 Jan 25 11:59 ttywb crw-rw-rw- 1 root wheel 4, 124 Jan 25 11:59 ttywc crw-rw-rw- 1 root wheel 4, 125 Jan 25 11:59 ttywd crw-rw-rw- 1 root wheel 4, 126 Jan 25 11:59 ttywe crw-rw-rw- 1 root wheel 4, 127 Jan 25 11:59 ttywf
-
Home now, I checked and with the power switch flipped to off on my mini dock, plugging it into my laptop via the microusb port (NOT the full size port) I can get the correct serial port to show up when I run ls /dev/tty* The expansion dock should function the same way.
I'd try installing the driver again and see what happens, or maybe a different microusb cable. They're rare but I have a cable that doesn't transmit data, drove me nuts when I was trying to put some stuff on an old kindle.
-
I try to power up (connected to the serial) while holding the reset. but the Onion 2 just tries to boot. never noticing that the reset was pressed. Is there another way to do the reset button? Maybe my mini-doc is defective?
-
@Brian-Wharton32 My mini dock also does not recognize the reset button hold. I had to use an arduino dock 2 and a usb-serial adapter to re-flash a bricked unit. I submitted a ticket but havnen't heard back yet. Especially for the mini dock, the usb-serial connection should work as it doesn't do much else compared to the other docks.
-
@cusackph I have the same problems with the Mini docks. - If the reset button or the USB -> Omega2 UART-to-serial bi-directional connection works for you with a Mini Dock, ie Putty shows any keyboard entries, then I am keen to learn how you are doing this!
https://community.onion.io/topic/1451I have isolated my Mini Dock RXO problem to the Mini Dock's on-board UART not communicating with my Omega2s, the same docks work fine with an Omega1. Also sans dock, a direct serial connection via a USB to serial adapter (HAOYU) to the same Omega2s work fine.
See also others related problems -
https://community.onion.io/topic/1153/how-to-reset-onion-omega-2
https://community.onion.io/topic/1321/possible-bad-omega2-and-mini-dock
-
@WereCatf your post on console access was a life saver today after I messed up an init.d script, thanks.
-
@Ken-Conrad said in Omega 2+ USB Firmware Install after Brick. [Resolved]:
@cusackph I have the same problems with the Mini docks. - If the reset button or the USB -> Omega2 UART-to-serial bi-directional connection works for you with a Mini Dock, ie Putty shows any keyboard entries, then I am keen to learn how you are doing this!
https://community.onion.io/topic/1451I have isolated my Mini Dock RXO problem to the Mini Dock's on-board UART not communicating with my Omega2s, the same docks work fine with an Omega1. Also sans dock, a direct serial connection via a USB to serial adapter (HAOYU) to the same Omega2s work fine.
See also others related problems -
https://community.onion.io/topic/1153/how-to-reset-onion-omega-2
https://community.onion.io/topic/1321/possible-bad-omega2-and-mini-docki'm also having problem with the mini dock reset button.
i tried pressing the reset button on power dock and find that the omega2+ LED will be flashing when i press the reset button while powering it on.
this doesn't happen when i press the reset button and power on the mini dockanyway to fix the mini dock ?
i only have minidock and power dock which the minidock is the only way i can connect via serial
and its not working at the moment
-
@Marty-Mickelson said in Omega 2+ USB Firmware Install after Brick. [Resolved]:
The output is the same when the dock is unplugged vs plugged in and lights flashing, during the 30 sec it flashes after turning it on with the reset button pressed. I copied the list and diff'd it to make sure. Here's what I get though:
Did you try a other USB Cable? Thin & long cable = power loss. Your hardware will not be recognized. If you check just the blank dock, it should show up if your USB Cable is ok.
-
@dennis-ctp
this is what i get even though i'm pressing the reset button while turning it on
/ __ ___ ()__ ___ / __ _ _ ___ ___ ____ _
/ // / _ / / _ / _ \ / // / ' / -) _/ _
/
_/////___//// _////_/_, /_,/
W H A T W I L L Y O U I N V E N T ? /__/"Board: Onion Omega2 APSoC DRAM: 128 MB
relocate_code Pointer at: 87f60000
flash manufacture id: c2, device id 20 19
find flash: MX25L25635E
*** Warning - bad CRC, using default environment============================================
Onion Omega2 UBoot Version: 4.3.0.3ASIC 7628_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Date:Oct 18 2016 Time:17:29:05icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
CPU freq = 575 MHZ
Estimated memory size = 128 Mbytes
Resetting MT7628 PHY.
Initializing MT7688 GPIO system.
- Hold Reset button for more options *
Boot Linux from Flash NO RESET PRESSED.
Booting image at bc050000 ...
Image Name: MIPS LEDE Linux-4.4.42
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1306381 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... Bad Data CRC
-
@dennis-ctp Haven't found the fix for the Mini Dock's issues with the Omega2s, I'm convinced this is a hardware problem - somehow the Omega2 are different enough from the original Omega that the Mini Dock doesn't work for RX0 serial connection. If you have toasted your wifi connection, but have a 3.3V TTL UART cable and a 3.3V 500mA power supply then the Omegas are easy to hard wire for a serial connection - with just the 3.3V, grounds, Rx and Tx wires.
-
actually the serial connection works for the mini dock, that's how i can get the boot info and sees that it doesn't recognize that the reset button had been pressed
-
@dennis-ctp Ahh, yes but can you do anything? With my Mini Docks I can receive data from the Omega2 but I can't SEND any keyboard commands to the Omega2, ie no command line, can't open Busybox etc, so effectively can't DO anything. The RX0 on the Mini Dock just isn't working with theOmega2 to transmit data to it. These same Omega2s have bi-directional serial communication in a Extension Dock or via the TTL UART described in my last post.