OpenWrt Forum Archive

Topic: Ubiquiti Picostation M2 HP lost config on reboot

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Dear All, please help.
I try to flash firmware  Chaos Calmer 15.05 on OEM AirOS 5.6.2.
All looks not so bad, but after reboot device lost its config, all besides root password (but ask to change it again and again).
I found this:

To avoid problems (eg. lost config after reboot) with the new bootloader:

reset Picostation
install the latest version of airOS XM 5.6.3
then downgrade to airOS XM 5.5.11 through the airOS web GUI
reset Picostation
(tftp your openwrt bin)

Now I try to came back to OEM firmware, but web UI does not allow to flash .bin and .trx files (I processed them from .bin with dd bs=32 skip=1 if=original.bin of=original.trx).
Any original, another version of OpenWrt - same error : " The uploaded image file does not contain a supported format..."
Please give any suggestions...

Solved.
For recovery process you need UART adapter (TTL to USB). For example something like this: CH340G
Install drivers.
Remove cover from Picostation (unscrew 2 screws under label on the back cover)
Then connect CH340G to Pico as on picture:
https://wiki.openwrt.org/_media/media/ubiquiti/picostationm2_serial.jpg?cache=&w=525&h=700&tok=56a3a3
Keep in mind that Tx and Rx on picture signed as they are FOR Pico. So you have to connect them to CH340G Rx->Tx and Tx->Rx.
Then connect CH340G to PC, start PUTTY on serial port COM N (where N you can get in "My computer"-Management-Device manager- COM ports) speed 115200.
Power on Pico and press any key many times when you see activity in terminal. This will stop booting process.
Then you have to enter in terminal window
urescue -f
this allow write to bootloader
Use tftp2 to upload 5.6.3 to Pico (to 192.168.1.20)
After restart of Pico stop again booting with press any keys.
Then enter in terminal
mtdparts default
save
So on this point you got original AirOS 5.6.3
If you need to get OpenWRT:
In webUI downgrade to 5.5.11
Reset Pico: Let it boot and wait about 1 minute, press RESET button for 10-12 sec (before all leds begin flash - then release button)
Enter webUI and flash OpenWRT 15.05 by common way in System.

Save your time!

(Last edited by greggy on 6 Jul 2016, 07:18)

Nice hardware, I want to try someday

The discussion might have continued from here.