Adding OpenWrt support for Wi-Tek WI-R1 router

Hi, I would like to add a new brand and a new device. The Wi-Tek WI-R1 comes with OpenWrt installed. Here's info from the datasheet:
150mW High power output :black_circle: Wireless B/G/N speed up to 300Mbps :black_circle: Support AP,WISP wireless mode :black_circle: WAN port support PoE Out, PoE voltage 24V-52V :black_circle: Support PoE Pass-through :black_circle: 2x2 MIMO Technology :black_circle: Passive PoE supports up to 100 meter :black_circle: 64MB SDRAM 8MB Flash,600Mhz CPU :black_circle: OPENWRT and DDWRT Firmware Option

There's a video at http://www.superredes.co/router-poe/

Too little hardware information about this device. Creating a page on wikidevi would be a good start.

Apart from the missing hardware information:
If OpenWrt is offered as firmware option for this device: Where can one download the source code?
Where is the OEM website for this device?
Where can one download OEM firmware for this device?

1 Like

The OEM website seems to be down, but an archived version is visible at https://web.archive.org/web/*/www.wireless-tek.com

I have two of these devices that I got yesterday. I can upload a backup config file if that would help diagnose -- maybe that's equivalent to the OEM firmware? I haven't seen the source code anywhere, as the manufacturer website does not have it. Running Powered by LuCI branch (git-16.132.22399-7a4741e) / OpenWrt Chaos Calmer 15.05.1 r49404

I can get a photo of the board, though I'd rather get it from the person who sold me the routers instead of opening one that I have (I bought them for a community).

A boot log at a minimum would help anyone porting those to OpenWrt. “Chaos Calmer” suggests an obsolete or proprietary build.

Apologies if this is blatantly obvious: How can I get the boot log? Via Luci or via SSH?

Either do status-->kernel log in Luci or dmesg in SSH.

Run this right after booting so there aren't extra messages at the end pushing the first one out of the buffer. The first message will be "Linux version..." The last one of interest is "random: crng init done".

1 Like
[    0.000000] Linux version 3.18.36 (wayne@wayne-Ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49404) ) #105 Fri Dec 23 10:41:52 CST 2016
[    0.000000] Board has DDR1
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is WI-R1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803040d0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    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=0007e00f
[    0.000000] Readback ErrCtl register=0007e00f
[    0.000000] Memory: 61372K/65536K available (2530K kernel code, 129K rwdata, 520K rodata, 140K init, 186K bss, 4164K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 580MHz
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.010000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] pinctrl core: initialized pinctrl subsystem
[    0.100000] NET: Registered protocol family 16
[    0.110000] rt2880-pinmux pinctrl: try to register 73 pins ...
[    0.110000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 52 (io52) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 53 (io53) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 54 (io54) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 55 (io55) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 56 (io56) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 57 (io57) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 58 (io58) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 59 (io59) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 60 (io60) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 61 (io61) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 62 (io62) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 63 (io63) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 64 (io64) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 65 (io65) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 66 (io66) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 67 (io67) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 68 (io68) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 69 (io69) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 70 (io70) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 71 (io71) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 72 (io72) on rt2880-pinmux
[    0.110000] pinctrl core: add 6 pinmux maps
[    0.110000] rt2880-pinmux pinctrl: found group selector 12 for ephy
[    0.110000] rt2880-pinmux pinctrl: found group selector 0 for i2c
[    0.110000] rt2880-pinmux pinctrl: found group selector 1 for uartf
[    0.110000] rt2880-pinmux pinctrl: found group selector 7 for spi refclk
[    0.110000] rt2880-pinmux pinctrl: found group selector 11 for wled
[    0.110000] rt2880-pinmux pinctrl: found group selector 4 for wdt
[    0.110000] rt2880-pinmux pinctrl: request pin 40 (io40) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 1 (io1) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 2 (io2) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 7 (io7) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 8 (io8) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 9 (io9) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 10 (io10) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 12 (io12) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 13 (io13) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 14 (io14) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 37 (io37) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 38 (io38) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 39 (io39) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 72 (io72) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 17 (io17) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: failed to lookup the sleep state
[    0.120000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.130000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.140000] rt2880_gpio 10000638.gpio: registering 16 gpios
[    0.150000] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[    0.160000] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.170000] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.180000] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.190000] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.200000] Switched to clocksource systick
[    0.210000] NET: Registered protocol family 2
[    0.210000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.250000] TCP: reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.280000] NET: Registered protocol family 1
[    0.290000] PCI: CLS 0 bytes, default 32
[    0.290000] rt-timer 10000100.timer: maximum frequency is 2441Hz
[    0.310000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    0.310000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.330000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.360000] msgmni has been set to 119
[    0.380000] io scheduler noop registered
[    0.380000] io scheduler deadline registered (default)
[    0.390000] ralink-usb-phy usbphy: invalid resource
[    0.400000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.420000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    0.420000] pinctrl core: add 1 pinmux maps
[    0.420000] rt2880-pinmux pinctrl: found group selector 3 for uartlite
[    0.420000] rt2880-pinmux pinctrl: request pin 15 (io15) for 10000c00.uartlite
[    0.420000] rt2880-pinmux pinctrl: request pin 16 (io16) for 10000c00.uartlite
[    0.420000] console [ttyS0] disabled
[    0.420000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[    0.440000] console [ttyS0] enabled
[    0.460000] bootconsole [early0] disabled
[    0.470000] pinctrl core: add 1 pinmux maps
[    0.470000] rt2880-pinmux pinctrl: found group selector 2 for spi
[    0.470000] rt2880-pinmux pinctrl: request pin 3 (io3) for 10000b00.spi
[    0.470000] rt2880-pinmux pinctrl: request pin 4 (io4) for 10000b00.spi
[    0.470000] rt2880-pinmux pinctrl: request pin 5 (io5) for 10000b00.spi
[    0.470000] rt2880-pinmux pinctrl: request pin 6 (io6) for 10000b00.spi
[    0.480000] m25p80 spi32766.0: found s25fl064k, expected mx25l6405d
[    0.490000] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
[    0.500000] 4 ofpart partitions found on MTD device spi32766.0
[    0.510000] Creating 4 MTD partitions on "spi32766.0":
[    0.520000] 0x000000000000-0x000000030000 : "u-boot"
[    0.530000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.540000] 0x000000040000-0x000000050000 : "factory"
[    0.560000] 0x000000050000-0x000000800000 : "firmware"
[    0.620000] 2 uimage-fw partitions found on MTD device firmware
[    0.640000] 0x000000050000-0x0000001676aa : "kernel"
[    0.650000] 0x0000001676aa-0x000000800000 : "rootfs"
[    0.660000] mtd: device 5 (rootfs) set to be root filesystem
[    0.670000] 1 squashfs-split partitions found on MTD device rootfs
[    0.680000] 0x000000570000-0x000000800000 : "rootfs_data"
[    0.700000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[    0.710000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.720000] rt2880_wdt 10000120.watchdog: Initialized
[    0.730000] TCP: cubic registered
[    0.740000] NET: Registered protocol family 17
[    0.750000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.780000] ralink_soc_eth 10100000.ethernet eth0: port 2 link up (100Mbps/Full duplex)
[    0.790000] 8021q: 802.1Q VLAN Support v1.8
[    0.820000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.840000] Freeing unused kernel memory: 140K (8031d000 - 80340000)
[    3.250000] init: Console is alive
[    3.250000] init: - watchdog -
[    7.160000] usbcore: registered new interface driver usbfs
[    7.170000] usbcore: registered new interface driver hub
[    7.180000] usbcore: registered new device driver usb
[    7.220000] rt2880-pinmux pinctrl: request pin 17 (io17) for pio:17
[    7.230000] SCSI subsystem initialized
[    7.240000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.260000] ehci-platform: EHCI generic platform driver
[    7.280000] phy phy-usbphy.0: remote usb device wakeup disabled
[    7.290000] phy phy-usbphy.0: UTMI 16bit 30MHz
[    7.300000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    7.310000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    7.330000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    7.360000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    7.370000] usb usb1: no of_node; not parsing pinctrl DT
[    7.370000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[    7.370000] hub 1-0:1.0: USB hub found
[    7.380000] hub 1-0:1.0: 1 port detected
[    7.390000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.400000] ohci-platform: OHCI generic platform driver
[    7.410000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    7.420000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    7.440000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    7.510000] usb usb2: no of_node; not parsing pinctrl DT
[    7.510000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[    7.510000] hub 2-0:1.0: USB hub found
[    7.520000] hub 2-0:1.0: 1 port detected
[    7.530000] rt2880-pinmux pinctrl: request pin 38 (io38) for pio:38
[    7.530000] rt2880-pinmux pinctrl: request pin 39 (io39) for pio:39
[    7.530000] rt2880-pinmux pinctrl: request pin 72 (io72) for pio:72
[    7.530000] usbcore: registered new interface driver usb-storage
[    8.340000] init: - preinit -
[    9.300000] 8021q: adding VLAN 0 to HW filter on device eth0
[    9.360000] random: mktemp urandom read with 14 bits of entropy available
[   12.580000] mount_root: loading kmods from internal overlay
[   13.890000] jffs2: notice: (328) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   13.920000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.950000] block: extroot: not configured
[   14.230000] jffs2: notice: (325) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   15.140000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   15.170000] block: extroot: not configured
[   15.180000] mount_root: switching to jffs2 overlay
[   15.220000] procd: - early -
[   15.220000] procd: - watchdog -
[   16.110000] procd: - ubus -
[   17.130000] procd: - init -
[   18.260000] NET: Registered protocol family 10
[   18.280000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
[   18.310000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.350000] u32 classifier
[   18.360000]     input device check on
[   18.360000]     Actions configured
[   18.370000] Mirror/redirect action on
[   18.390000] nf_conntrack version 0.5.0 (961 buckets, 3844 max)
[   18.410000] fuse init (API version 7.23)
[   18.430000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   18.440000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   18.460000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.530000] usbcore: registered new interface driver ums-alauda
[   18.540000] usbcore: registered new interface driver ums-cypress
[   18.560000] usbcore: registered new interface driver ums-datafab
[   18.580000] usbcore: registered new interface driver ums-freecom
[   18.600000] usbcore: registered new interface driver ums-isd200
[   18.610000] usbcore: registered new interface driver ums-jumpshot
[   18.630000] usbcore: registered new interface driver ums-karma
[   18.640000] usbcore: registered new interface driver ums-sddr09
[   18.660000] usbcore: registered new interface driver ums-sddr55
[   18.670000] usbcore: registered new interface driver ums-usbat
[   18.720000] xt_time: kernel timezone is -0000
[   18.830000] PPP generic driver version 2.4.2
[   18.840000] NET: Registered protocol family 24
[   18.890000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected
[   18.900000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   18.920000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   27.330000] 8021q: adding VLAN 0 to HW filter on device eth0
[   27.390000] device eth0.1 entered promiscuous mode
[   27.400000] device eth0 entered promiscuous mode
[   27.450000] br-lan: port 1(eth0.1) entered forwarding state
[   27.460000] br-lan: port 1(eth0.1) entered forwarding state
[   29.460000] br-lan: port 1(eth0.1) entered forwarding state
[   31.720000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   31.740000] device wlan0 entered promiscuous mode
[   31.750000] br-lan: port 2(wlan0) entered forwarding state
[   31.760000] br-lan: port 2(wlan0) entered forwarding state
[   31.780000] br-lan: port 2(wlan0) entered disabled state
[   33.640000] br-lan: port 2(wlan0) entered forwarding state
[   33.650000] br-lan: port 2(wlan0) entered forwarding state
[   33.660000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   35.650000] br-lan: port 2(wlan0) entered forwarding state
[   66.500000] random: nonblocking pool is initialized

this line doesn't appear. Let me know if you need more of the kernel log or some other information in order to analyze the device.

That specific line can sometimes actually come up quite a long time after everything else.

On a GL.iNet AR750S, that line comes up at around 111 seconds - the previous line in dmesg was somewhere in the 40s.

here are some photos (or see them in a folder):
photo 1:


photo 2:

photo 3:

I'm still working on getting a more complete kernel bootlog.

First, use the stock firmware to copy out the bootloader, factory, and firmware partitions for safe keeping.

This hardware and stock firmware looks very conventional. You could try to find an existing supported device with:

  • MT7620 chip
  • 8M flash / 64M RAM
  • Firmware at 0x050000 and factory at 0x040000

Installing that image is likely to work except maybe the LEDs. Of course you want to be prepared for serial de-bricking.

1 Like

I now have the device again. The kernel log I posted previously is the complete kernel log, even after leaving the device running for over an hour.

How do I find out if a device has this? Look at the kernel log posted on the device page?

Look in the source code that defined the device, the "DTS" file. They are in target/linux/ramips/dts/

Grabbing OY-0001.dts only because its name caught my eye among the 350 there (suggesting that some `nix tools might be helpful)

&spi0 {
        status = "okay";

        m25p80@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;

                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;

                        partition@0 {
                                label = "u-boot";
                                reg = <0x0 0x30000>;
                                read-only;
                        };

                        partition@30000 {
                                label = "u-boot-env";
                                reg = <0x30000 0x10000>;
                                read-only;
                        };

                        factory: partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;
                        };

                        partition@50000 {
                                compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x50000 0xfb0000>;
                        };
                };
        };
};

the @ part (unit number) should be the starting address, but that is by convention, not a requirement. reg = <0x40000 0x10000>; is what specifies "start at 0x400000 for 0x100000 bytes".

Yes, this one happens to agree, there are many more that do as well.

fgrep -C2 '<0x50000 0xfb0000>' * | fgrep '"firmware"'

is a rough cut at some that probably have a "firmware" partition of that location and exact size.

fgrep -C2 'label = "firmware"' * | fgrep 'reg = <0x50000 ' 

which lets the size be "anything", returns a much longer list, 231 devices here.

Did you mean 0x400000?

0x4... would be for "factory", 0x5... was for "firmware", based on

Ah yes, looking closer I see that. Thanks, I'll try in a minute.

I figured out that the most similar devices are:

  • RT-N12-PLUS -- "ephy", "wled", "i2c", "wdt", "pa", "spi refclk"
  • RT-N14U -- "ephy", "wled", "i2c"
  • WRTNODE -- "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk"

Seems that the WRTNODE has the most options enabled, so I figure I'll try that.

I have Model WI-R1 - FTTx Reverse PoE Router - Version:V16.12.23 R105

A google search found the following:
https://www.computechloja.com.br/fttx/roteadores/metro-ethernet/roteador-wireless-poe-out-wi-r1
https://www.youtube.com/watch?v=uApldlv_T1g

I downloaded
Firmware Original WI-R1-1553533790wi-r1_V16.12.23_R105.bin
OpenWRT To WI-R1-1553533533openwrt-15.05.1-ramips-mt7620-wmr-300-squashfs-sysupgrade.bin

IP Default: 192.168.1.88
User: admin
Password: admin

SSH access:
Login: wayne
Password: Wayne_Zhang94

Seems that it is build on OpenWrt Chaos Calmer 15.05.1 r49404.
With an Wi-Tek frontend, by a man called Wayne.
User, password and a package called Wayne-Test

root@WI-TEK:/bin# opkg info Wayne-Test
Package: Wayne-Test
Version: 1
Depends: libc
Status: install user installed
Architecture: ramips_24kec
Installed-Time: 1482460884

root@WI-TEK:/bin# ./Wayne-Test ?
./Wayne-Test
? | help help
reset reset all settings to factory
version show system version
root@WI-TEK:/bin#

From within the web interface you can access OpenWrt luci web interface.
You can access CLI via PUTTY and WINSCP.

> **INSTALLED PACKAGES**
> root@WI-TEK:/# **opkg list-installed**
> Wayne-Test - 1
> badblocks - 1.42.12-1
> base-files - 157.2-r49404
> block-mount - 2016-01-10-96415afecef35766332067f4205ef3b2c7561d21
> busybox - 1.23.2-1
> dnsmasq - 2.73-1
> dropbear - 2015.67-1
> e2fsprogs - 1.42.12-1
> fdisk - 2.25.2-4
> firewall - 2015-07-27
> fstools - 2016-01-10-96415afecef35766332067f4205ef3b2c7561d21
> hostapd-common - 2015-03-25-1
> ip6tables - 1.4.21-1
> iptables - 1.4.21-1
> iptables-mod-conntrack-extra - 1.4.21-1
> iptables-mod-ipopt - 1.4.21-1
> iw - 4.3-1
> iwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
> jshn - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
> jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
> kernel - 3.18.36-1-24112dc255db21fff61b9b5343e49c53
> kmod-cfg80211 - 3.18.36+2016-01-10-1
> kmod-crypto-arc4 - 3.18.36-1
> kmod-crypto-core - 3.18.36-1
> kmod-crypto-hash - 3.18.36-1
> kmod-eeprom-93cx6 - 3.18.36-1
> kmod-fs-ext4 - 3.18.36-1
> kmod-fs-ntfs - 3.18.36-1
> kmod-fs-vfat - 3.18.36-1
> kmod-fuse - 3.18.36-1
> kmod-gpio-button-hotplug - 3.18.36-1
> kmod-ifb - 3.18.36-1
> kmod-ip6tables - 3.18.36-1
> kmod-ipt-conntrack - 3.18.36-1
> kmod-ipt-conntrack-extra - 3.18.36-1
> kmod-ipt-core - 3.18.36-1
> kmod-ipt-ipopt - 3.18.36-1
> kmod-ipt-nat - 3.18.36-1
> kmod-ipv6 - 3.18.36-1
> kmod-leds-gpio - 3.18.36-1
> kmod-ledtrig-usbdev - 3.18.36-1
> kmod-lib-crc-ccitt - 3.18.36-1
> kmod-lib-crc-itu-t - 3.18.36-1
> kmod-lib-crc16 - 3.18.36-1
> kmod-mac80211 - 3.18.36+2016-01-10-1
> kmod-nf-conntrack - 3.18.36-1
> kmod-nf-conntrack6 - 3.18.36-1
> kmod-nf-ipt - 3.18.36-1
> kmod-nf-ipt6 - 3.18.36-1
> kmod-nf-nat - 3.18.36-1
> kmod-nf-nathelper - 3.18.36-1
> kmod-nls-base - 3.18.36-1
> kmod-nls-cp437 - 3.18.36-1
> kmod-nls-iso8859-1 - 3.18.36-1
> kmod-nls-utf8 - 3.18.36-1
> kmod-ppp - 3.18.36-1
> kmod-pppoe - 3.18.36-1
> kmod-pppox - 3.18.36-1
> kmod-rt2800-lib - 3.18.36+2016-01-10-1
> kmod-rt2800-mmio - 3.18.36+2016-01-10-1
> kmod-rt2800-pci - 3.18.36+2016-01-10-1
> kmod-rt2800-soc - 3.18.36+2016-01-10-1
> kmod-rt2x00-lib - 3.18.36+2016-01-10-1
> kmod-rt2x00-mmio - 3.18.36+2016-01-10-1
> kmod-rt2x00-pci - 3.18.36+2016-01-10-1
> kmod-sched-connmark - 3.18.36-1
> kmod-sched-core - 3.18.36-1
> kmod-scsi-core - 3.18.36-1
> kmod-slhc - 3.18.36-1
> kmod-usb-core - 3.18.36-1
> kmod-usb-ohci - 3.18.36-1
> kmod-usb-storage - 3.18.36-1
> kmod-usb-storage-extras - 3.18.36-1
> kmod-usb-uhci - 3.18.36-1
> kmod-usb2 - 3.18.36-1
> libblkid - 2.25.2-4
> libblobmsg-json - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
> libc - 0.9.33.2-1
> libext2fs - 1.42.12-1
> libgcc - 4.8-linaro-1
> libip4tc - 1.4.21-1
> libip6tc - 1.4.21-1
> libiwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
> libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
> libjson-c - 0.12-1
> libjson-script - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
> liblua - 5.1.5-1
> libmount - 2.25.2-4
> libnl-tiny - 0.1-4
> libpthread - 0.9.33.2-1
> libsmartcols - 2.25.2-4
> libubox - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
> libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
> libubus-lua - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
> libuci - 2015-08-27.1-1
> libuci-lua - 2015-08-27.1-1
> libuuid - 2.25.2-4
> libxtables - 1.4.21-1
> logd - 2015-11-22-c086167a0154745c677f8730a336ea9cf7d71031
> lua - 5.1.5-1
> luci - git-16.132.22399-7a4741e-1
> luci-app-firewall - git-16.132.22399-7a4741e-1
> luci-app-qos - git-16.132.22399-7a4741e-1
> luci-app-samba - git-16.132.22399-7a4741e-1
> luci-base - git-16.132.22399-7a4741e-1
> luci-i18n-base-en - git-16.132.22399-7a4741e-1
> luci-i18n-base-zh-cn - git-16.132.22399-7a4741e-1
> luci-i18n-firewall-en - git-16.132.22399-7a4741e-1
> luci-i18n-firewall-zh-cn - git-16.132.22399-7a4741e-1
> luci-i18n-qos-en - git-16.132.22399-7a4741e-1
> luci-i18n-qos-zh-cn - git-16.132.22399-7a4741e-1
> luci-i18n-samba-en - git-16.132.22399-7a4741e-1
> luci-i18n-samba-zh-cn - git-16.132.22399-7a4741e-1
> luci-lib-ip - git-16.132.22399-7a4741e-1
> luci-lib-nixio - git-16.132.22399-7a4741e-1
> luci-mod-admin-full - git-16.132.22399-7a4741e-1
> luci-proto-ipv6 - git-16.132.22399-7a4741e-1
> luci-proto-ppp - git-16.132.22399-7a4741e-1
> luci-theme-bootstrap - git-16.132.22399-7a4741e-1
> mount-utils - 2.25.2-4
> mtd - 21
> netifd - 2015-12-16-245527193e90906451be35c2b8e972b8712ea6ab
> ntfs-3g - 2014.2.15-1-fuseint
> odhcp6c - 2015-07-29-dc186d6d2b0dd4ad23ca5fc69c00e81f796ff6d9
> odhcpd - 2015-11-19-01d3f9d64486ac1daa144848944e877e7f0cb762
> opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-9
> ppp - 2.4.7-6
> ppp-mod-pppoe - 2.4.7-6
> procd - 2015-10-29.1-d5fddd91b966424bb63e943e789704d52382cc18
> qos-scripts - 1.2.1-7
> rpcd - 2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a
> rt2800-pci-firmware - 2016-01-25-52442afee9907bc32a058f22bb3295d040677c26-1
> samba36-server - 3.6.25-5
> swconfig - 10
> tc - 4.0.0-1
> ubox - 2015-11-22-c086167a0154745c677f8730a336ea9cf7d71031
> ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
> ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
> uci - 2015-08-27.1-1
> uhttpd - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
> uhttpd-mod-ubus - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
> usign - 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
> wireless-tools - 29-5
> wpad-mini - 2015-03-25-1

I intend to play around with the default software in virtualbox, then build my own OpenWrt image for my machine.

I thought I could this was an POE powered router.
It is a PoE Pass-through - meaning I can power an POE device thru the WAN port if my power supply to the Wi-Tek is good enough - Power DC 9-52V, 0.5-3A. WAN port support PoE Out, PoE voltage 24V-52V

There is NO USB, seems it could be added as the pictures show the connectors build on the board.