dangowrt / owrt-ubi-installer

OpenWrt firmware installer for the Linksys E8450 aka. Belkin RT3200
GNU General Public License v2.0
393 stars 50 forks source link

E8450 not booting. I only getting a flashing blue power light #90

Closed Eddyswu closed 2 years ago

Eddyswu commented 2 years ago

Hi,

I just got my E8450 and try to install openwrt on it.

I download release v0.6.3 and follow the steps to backup the linksys firmware without problem. I followed all the steps, get the linksys firmware to boot again, did a factory reset to get ready for openwrt installation.

I followed the steps under Installing OpenWrt. I finished step 1 to 11 and waiting for the router to reboot.

After waiting for over 10 minutes, I am still getting a flashing blue power light. what can I do now? Did I brick my device?

dangowrt commented 2 years ago

v0.6.3 is entirely untested at this point and likely to not work yet -- hence marked as a pre-release. You will have to wire up a serial port to the router to find out what's going on (I was going to give it some testing in the next days, but didn't do that yet).

Reading your post again, I understand that the recovery image did come up after flashing the installer image (steps 8,9,10). And now OpenWrt is somehow stuck booting (which can probably be resolved without having to connect a serial wire). First of all, not much is going to happen after 10 minutes. The router should usually boot within one minute.

Disconnect from power and watch exactly the LEDs. The power LED should first be solid on, then start flashing fast, then continue flashing slower and then stay on solid once booting has finished. What do you observe?

If the device seems to boot but then gets stuck with LED flashing, you may try disconnecting it from power, reconnect it and once the LED starts flashing push the RESET button multiple times until the flashing gets faster. If that worked, you managed to enter failsafe mode.

I have not extracted a device from my production setup to revert to stock firmware and test-run v0.6.3 in a moment from now. In future, please stick with release marked as stable unless you know what you are doing ;)

dangowrt commented 2 years ago

Ok, there was a bug in the installer which made it abort and not actually replace the bootloader. So your device is now still with the vendor bootchain, but without any firmware it can load. At this point you will unfortunately have to open the device, connect the serial port (3.3V TTL level; connect RX, TX, and GND only) and manually load the stock firmware or the (fixed) installer to revive the device. Please do not return the bricked device to the store! If you don't want to get involved with the procedure connecting to the serial port, contact me by email and mention your location, I'll find someone in your country to fix it for you.

Sorry for the mess :(

dangowrt commented 2 years ago

Fixed the problem https://github.com/dangowrt/owrt-ubi-installer/commit/26e2af9a1bb173bafaefdebb8091dd2f8fbff27e, deleted v0.6.3 (broken) pre-release, tagged v0.6.4, did lots of testing and released v0.6.4.

Eddyswu commented 2 years ago

dangwrt, Thanks for your quick reply. I think I will have to fix it myself, since I am living in Hong Kong. it will be great if you can give me some pointer to how to connect to the serial port. I managed to open the router and localed the serial port already. I understand I need to get a UART to USB connector. If you can get me some information on this, that will help me a lot. 😀

Once I get connection over the seral port, can I just load new 0.6.4 installer? or should I load the 0.6.1 installer?

dangowrt commented 2 years ago

Yes you need a USB to serial converter, like FTDI FT232L, Si CP210x, Prolific PL2303, ... which operates on 3.3V level (many of those USB adapters have a switch or jumper which lets you set the voltage level).

The pinout is documented here: https://openwrt.org/toh/linksys/e8450#serial (so connect GND to GND, RX to TX, TX to RX, do not connect to any of the other pins)

Also connect your computer to LAN1 port of the router and set the IP address of your computer to be 192.168.1.254 netmask 255.255.255.0. Launch a TFTP server on the computer serving the installer file.

On the serial console you will see the stock bootloader dropping you unto a U-Boot> shell. From there you can load the v0.6.4 installer via TFTP and launch it:

tftpboot openwrt-22.03-snapshot-r19228-0877953235-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer.itb
bootm
Eddyswu commented 2 years ago

I think I have enough info to start. Thanks a lot. I will try to pickup a USB to serial converter at a local electronic shop and give it a try. Thanks

Eddyswu commented 2 years ago

dangowrt thanks for your help. I got the Usb to serial converter today and I get my rounter running with openwrt!!!

dangowrt commented 2 years ago

Hehe, that's the cool thing about where you are: You can have a USB to serial adapter within one day :) (that's far from possible in most places in the world, you'd have to wait at least a week until it arrives in the mail)

dangowrt commented 2 years ago

@Eddyswu Did you get it working by now? If so, please close this issue.

Eddyswu commented 2 years ago

@dangowrt Everything is working fine now. Thanks for your help.