-
I brick my E8450 when updating the u-boot. I put these files on a tftp server
and run on E8450 with follow commands
So, it bricked. When power on, no led is on. I connect with tty serial, and get
How to debrick E8450 with serial? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 10 replies
-
The u-boot seems to have been damaged. I have the oem mtd backups and openwrt mtds.
|
Beta Was this translation helpful? Give feedback.
-
You will need to connect JTAG, serial is not enough unfortunately at this stage. See https://github.com/mtk-openwrt/openocd-scripts for details.
|
Beta Was this translation helpful? Give feedback.
-
I tried to connect the JTAG using 4 wires (TMS/TCK/TDO/TDI), also tried TMS (5.1k pull-up), TCK (1k pull-down), but it doesn't work. Run
My config file, e8450.cfg
Then I saw a photo by daniel here Belkin RT3200/Linksys E8450 WiFi AX discussion. |
Beta Was this translation helpful? Give feedback.
-
Regarding the JTAG connection, I've been trying all day to get OpenOCD to work.
The PIN connection is as follows.
My Adapter is a nanoDapLink, it DO NOT have TRST. My config file
I have tried several times to change the configuration file, but when I run it, it never connects successfully. Power on the router, and run openocd, comes the errors below.
This problem has been bothering me for a few days now, and I've gone through a lot of information and forum posts, but none of them really solved the problem, so maybe I didn't understand the key points. So I decided to buy a CH341A and write data directly to SPI NAND flash. |
Beta Was this translation helpful? Give feedback.
-
I've only tried this using FT2232H breakout board with some pull-up and
pull-down resistors, and that worked fine with OpenOCD.
Quite certainly you do need TRST signal.
|
Beta Was this translation helpful? Give feedback.
-
I replaced the router's flash(Fidelix FM35Q1GA) with a new SPI NAND FLASH (Winbond W25N01GV), but it didn't work. Here is my steps: 1. Prepare a backup mtd
2. Write mtd backups to W25N01GV.
3. Replace the flash
4. Connect serial and power onNot working, it shows somethings like this:
I hope someone can give me some help. |
Beta Was this translation helpful? Give feedback.
-
Today, I got the ram-boot u-boot running, and recovery my Linksys E8450. Use jtag to load the u-boot on RAM.
Then setenv loadaddr 0x48000000
tftpboot openwrt-23.05.0-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer.itb
bootm Now, OpenWRT is running, the rest is easy.
The key step in the problem is the jtag connection, I use a FT4232HL USB to JTAG board.
Thanks to Daniel, without you I would not have been able to find a way to solve the problem at all! |
Beta Was this translation helpful? Give feedback.
-
There is a new tool which allows to debrick via UART (no JTAG needed!) To use it you need to build https://github.com/mtk-openwrt/arm-trusted-firmware/ with the The you connect UART while the device is powered off and run the tool.
(careful: using snapshot builds of the Now power on the device, and interrupt boot in U-Boot where you can then carry out fixes |
Beta Was this translation helpful? Give feedback.
You will need to write with OOB data matching MediaTek's BCH ECC engine which is used instead of the ECC of the NAND chip. I'm not sure there are publicly available tools for that, which is why I've always used JTAG and the device itself to rewrite the flash if needed.