[New device] ZBT WE3326

Hi,

I have a ZBT WE3326, it works with openwrt-15.05-ramips-mt7628-mt7628-squashfs-sysupgrade.bin , but I could not find any lede image working with it.

Any advice on how to add support for it in lede, starting with openwrt's profile? I'm a developer and I'm used to recompiling lede/openwrt, but I can't remember how to do this kind of thing.

Thanks,

Pierre.

Ps:

I flashed lede-17.01.4-ramips-mt7628-mac1200r-v2-squashfs-sysupgrade.bin, which has the same processor and same amount of Flash, I got this:

Widora by mango,V1.0.6

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
flash manufacture id: ef, device id 40 17
find flash: W25Q64BV
*** Warning - bad CRC, using default environment

============================================ 
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:Sep 30 2016  Time:15:13:09
============================================ 
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!!!!!!MT7688 gpio init : wled and wdt by mango

if you press the WPS button for more than 2 seconds will automatically enter the Update mode

0
1
2
3
4
5
6
7
8
9

Continuing normal boot...


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.
   5: Entr ALL LED test mode.
   6: Entr Web failsafe mode.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
 0 
   
3: System Boot system code via Flash.
## Booting image at bc050000 ...
   Image Name:   MIPS LEDE Linux-4.4.92
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1213751 Bytes =  1.2 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Mon Oct 16 11:22:18 2017
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is Mercury MAC1200R v2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    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] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=000740b5
[    0.000000] Readback ErrCtl register=000740b5
[    0.000000] Memory: 28476K/32768K available (3017K kernel code, 147K rwdata, 384K rodata, 156K init, 200K bss, 4292K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 575MHz
[    0.000000] clocksource_probe: no matching clocksources found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns
[    0.000011] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns
[    0.007526] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    0.069998] pid_max: default: 32768 minimum: 301
[    0.074596] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080933] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093835] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103330] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.109255] pinctrl core: initialized pinctrl subsystem
[    0.115596] NET: Registered protocol family 16

OK it seems to work with stable version lede-17.01.4-ramips-mt7628-mt7628-squashfs-sysupgrade.bin

1 Like

This one's alright too I guess:
https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/openwrt-ramips-mt76x8-mediatek_mt7628an-eval-board-squashfs-sysupgrade.bin

Don't expect LEDs to be working though. :slight_smile:
Also needs LuCi to be installed via ssh.

The Zbtlink ZBT-WE1226 build is also fine if you don't mind missing on 2 LAN ports. :slight_smile:
LEDs work fine though.