sartura / replica

Replica.one is an easy to use build system designed to deliver both secure and flexible firmware images.
MIT License
26 stars 12 forks source link

Failure UART Flashing ECW5211 #32

Open KE8SOJ opened 2 years ago

KE8SOJ commented 2 years ago

Hello, I am attempting to recover an ECW5211-L AP from a failed OpenWRT install. I am following the Replica documentation on UART flashing, however when the generic-edgecore_ecw5211-initramfs-fit-uImage.itb boots and loads the MSM serial device the UART serial connection appears to hang. When I proceed to flashing the replica image I am unable to SSH or ping 192.168.1.1 while connected to Eth2. I am connecting to the serial interface with a Bus Pirate v3.5 in transparent UART bridge mode, and using dnsmasq as the TFTP server. I also attempted to recover the AP using an initramfs image from OpenWRT but experienced the same issue. Do you have any suggestions on how to prevent the initramfs image from hanging, or a recommended UART serial device?

robimarko commented 2 years ago

Hm, this is a really weird one in that it hangs in the middle of a print.

But I think you have got the wrong image booted somehow. [ 0.000000] OF: fdt: Machine model: EdgeCore OAP-100

OAP-100 is a bit different and uses different UART pins, so that is why the console dies after the UART driver is done probing as pinctrl driver will use different pins for UART output as those are reconfigurable