I tried to flash OpenWrt onto this Comfast E110N- V2 and it crashed.
Is it possible to recover my mess with CP2102 or CH340G?
Is there any serial output at all?
I soldered the wires to
GND
TX
RX
But i don't know what to do next
Connect your 2102 and fire up a serial port capable application , like putty.
Rember to connect TX to RX, and the other way around.
Connected rx to tx and vice versa,
everytime i power up router i get couple of random characters on the serial monitor
Then it's not dead, but you need to get the baud rate right.
But try the http recovery 1st
I happened to get this when putty-ing serial at 115200baud
ping failed;
Hit any key to stop autoboot: 0
## Booting image at 9f020000 ...
Image Name: MIPS OpenWrt Linux-4.9.152
Created: 2019-01-30 12:21:02 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1376610 Bytes = 1.3 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f020040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864
Starting kernel ...
[ 0.000000] Linux version 4.9.152 (buildbot@2b39dc2beaf4) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7676-cddd7b4c77) ) #0 Wed Jan 30 12:21:02 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 16256
[ 0.000000] Kernel command line: board=CF-E320N-V2 mtdparts=spi0.0:64k(u-boo t)ro,64k(art)ro,16192k(firmware),64k(art-backup)ro console=ttyS0,115200 rootfsty pe=squashfs noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60028K/65536K available (3388K kernel code, 175K rwdata, 448K rodata, 268K init, 211K bss, 5508K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:650.000MHz, DDR:390.527MHz, AHB:216.666MHz, Ref:25.00 0MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i dle_ns: 5880801374 ns
[ 0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 66076 41598ns
[ 0.008280] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[ 0.071123] pid_max: default: 32768 minimum: 301
[ 0.076123] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083105] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094017] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns
[ 0.104446] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112454] NET: Registered protocol family 16
[ 0.119007] MIPS: machine is COMFAST CF-E320N v2
[ 0.607839] Can't analyze schedule() prologue at 803ab684
[ 0.630019] clocksource: Switched to clocksource MIPS
[ 0.636570] NET: Registered protocol family 2
[ 0.642334] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.649701] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.656484] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.663339] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.669526] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.676492] NET: Registered protocol family 1
[ 0.685715] Crashlog allocated RAM at address 0x3f00000
[ 0.692952] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.707178] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.713385] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.735398] io scheduler noop registered
[ 0.739537] io scheduler deadline registered (default)
[ 0.745505] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.755137] console [ttyS0] disabled
[ 0.779078] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 156 2500) is a 16550A
[ 0.788195] console [ttyS0] enabled
[ 0.788195] console [ttyS0] enabled
[ 0.795751] bootconsole [early0] disabled
[ 0.795751] bootconsole [early0] disabled
[ 0.812110] m25p80 spi0.0: unrecognized JEDEC id bytes: 1c, 70, 17
[ 0.819660] libphy: Fixed MDIO Bus: probed
[ 0.851156] libphy: ag71xx_mdio: probed
[ 1.482581] ag71xx-mdio.1: Found an AR934X built-in switch
[ 1.535994] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.172980] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0 42, driver=Generic PHY]
[ 2.183254] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.191456] NET: Registered protocol family 10
[ 2.200704] NET: Registered protocol family 17
[ 2.205365] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.218937] 8021q: 802.1Q VLAN Support v1.8
[ 2.225329] hctosys: unable to open rtc device (rtc0)
[ 2.231635] VFS: Cannot open root device "(null)" or unknown-block(0,0): erro r -6
[ 2.239376] Please append a correct "root=" boot option; here are the availab le partitions:
[ 2.248073] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno wn-block(0,0)
[ 2.257273] Rebooting in 1 seconds..
@▒@ $ ! ( ▒@▒%P▒▒
U-Boot 1.1.4-ga1cd7d4b-dirty (May 31 2018 - 16:44:04)
ap143 - Honey Bee 2.0
DRAM: 64 MB
Flash: 16 MB
eth0 link down
FAIL
eth1 link down
FAIL
Using eth0 device
Tx Timed out
ping failed;
Interrupt uboot, and post the output of the printenv command.
I could interrupt it only with pressing reset button
but printenv did not send me anything back
also i could not access that ip with web browser
Press reset button for at least:
- 3 sec. to run web failsafe mode
- 7 sec. to run U-Boot netconsole
Reset button is pressed for: 4
Button was pressed for 4 sec...
HTTP server is starting for firmware update...
eth0 link down
FAIL
enet1 port0 up
dup 1 speed 1000
Using eth1 device
HTTP server is starting at IP: 192.168.1.1
HTTP server is ready!
Try the console then, it's where the printenv will work.
Nothing came back
Press reset button for at least:
- 3 sec. to run web failsafe mode
- 7 sec. to run U-Boot netconsole
Reset button is pressed for: 8
Button was pressed for 8 sec...
HTTP server is starting for firmware update...
eth0 link down
FAIL
enet1 port0 up
dup 1 speed 1000
Using eth1 device
HTTP server is starting at IP: 192.168.1.1
HTTP server is ready!
printenv