but if i select that file in the stock firmware as the image to upgrade to, it displays " The firmware file is corrupt." after a couple of seconds. I've extracted the tar and wac5xx-ubifs-root.img's md5 hash matches the one in wac5xx-ubifs-root.md5sum so its unlikely to be actuallly corrupt.
The firmware version running on the device is V8.2.1.16 .
. Could try to build OpenWRT myself or try different installation methods ( tftp / sftp ) but I fear the resulting firmware is just as likely to get invalidated by the stock firmware as the "snapshot" firmware I've downloaded.
Any feedback/thoughts on how to get OpenWRT installed on my shiny new device would be appreciated!
I don't know how to interpret your comment exactly, but since it details the procedure to install openwrt on a Netgear wac510 using the serial port I'm trying to do so. I've hooked the board's J2 TX/RX pins up to a serial adapter / my laptop.
Unfortunately the serial port only seems to display "gibberish", although I explicitly instructed screen to set the connection to 115200 baud :
screen /dev/ttyUSB1 115200
I've tried some of the mostly used baud rates as listed on:
@anon89577378: The adapters I use become available as
/dev/ttyUSB[0|1]
after hooking them up to my laptop (USB). Are COM/UART relevant terms given that the serial adapters are connected with USB? As for the ground connection, I didn't connect it on purpose (given the "Do not connect!" info for the 3.3 V connector).....
The only thing i've used serial connections in the past was for
configuring network/devices so I hope you forgive me my lack of
experience using serial ports....
The wiki mentions : "(Do NOT connect!)" for the 3.3 volt J2 connector
which is why I only connected the TX/RX wires from my adapters to the J2
headers and did not connect both 3.3v and GND.
Did I misinterpret this comment? Should I still connect the GND wire
perhaps (didn't seem to do anything usefull regarding the "do not
connect comment)?
The wiki clearly mentions : "(Do NOT connect!)" for the 3.3 volt J2 connector which is why I only connected the TX/RX wires from my adapters to the J2 headers and did not connect both 3.3v and GND.
I'm starting to think I should ignore the wiki comment and just hook everything up "as usual"... Why would the wiki mention not connecting the 3.3 volt connector?
As it turns out the OpenWRT project provides excellent documentation on the subject of serial connectivity:
I feel a little ashamed for starting this topic without reading this first.
Anyway: after hooking up the GND cable as well I was able to interrupt autoboot and enter the bootloader. I will setup a tftp daemon and try flashing the OpenWRT firmware that way.
Although I've managed to drop to the bootloader of the netgear wac510 device I'm still struggling to upload a bootable image. I fear that either the stock firmware's sanity checks aren't met by the .img anymore or I'm feeding it the wrong file..
This is the output of the bootloader:
(IPQ40xx) # setenv serverip 192.168.1.2
(IPQ40xx) # setenv ipaddr 192.168.1.1
(IPQ40xx) # tftpboot wac5.img eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
Using eth0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'wac5.img'.
Load address: 0x84000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################################################
done
Bytes transferred = 8519680 (820000 hex)
(IPQ40xx) # bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
(IPQ40xx) #
I see the netgear wac510 actually fetching the file (tcpdump).
The wac5.img file is the .img file included in