Looking for anyone that has successfully flashed OpenWrt on the Kingston MLWG3 router. I have found a GitHub resource, but it is old (2016). I am not sure what the best way to proceed is, I have done what I think is the build for the router, but really need some help.
I have been able o connect via JTAG and pulled the details, I can get to the point of TFTP flash, but the file name is not .bin its .ram and I believe from the research - there are 2 kernels ?? SO how do I go about flashing OpenWrt and if I get it wrong?? BRICK.
Looking for experience / knowledge or help of any kind. Thank you.
U-Boot printenv output
U-Boot 1.1.3 (Oct 22 2015 - 15:22:48)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83f68000
******************************
Software System Reset Occurred
******************************
flash manufacture id: ef, device id 40 18
find flash: W25Q128BV
*** Check if data is correct or not...
*** Data is correct.
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Oct 22 2015 Time:15:22:48
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 575 MHZ ####
estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
You choosed 4
0
4: System Enter Boot Command Line Interface.
U-Boot 1.1.3 (Oct 22 2015 - 15:22:48)
MT7628 # ls
Unknown command 'ls' - try 'help'
MT7628 # help
? - alias for 'help'
bootm - boot application image from memory
cp - memory copy
crc32 - checksum calculation
erase - erase SPI FLASH memory
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
go - start application at address 'addr'
help - print online help
loadb - load binary file over serial line (kermit mode)
md - memory display
mdio - Ralink PHY register R/W command !!
mm - memory modify (auto-incrementing)
nm - memory modify (constant address)
printenv- print environment variables
reset - Perform RESET of the CPU
rf - read/write rf register
saveenv - save environment variables to persistent storage
setenv - set environment variables
spi - spi command
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
MT7628 # printenv
bootcmd=tftp
bootdelay=1
baudrate=57600
ethaddr="00:AA:BB:CC:DD:10"
FacWPAPSK1_BK=12345
WPSDefaultPIN_BK=12345
dual_image=1
pushaoss=0
Image1Stable=1
bootloader_ver=1.00
bootstate=0
check_boot=0
inspection=0
filesize=4b9282
fileaddr=80A00000
ipaddr=192.168.11.1
serverip=192.168.11.168
autostart=no
bootfile=firmware_WMR-300.ram
stdin=serial
stdout=serial
stderr=serial
Environment size: 370/4092 bytes
MT7628 #