I have this Chinese Router
The name model is 7621RD2
Or marketed as Libera LBR-300 in Indonesia
Specifications from website
Hardware Specification
Product Size 265 x 170 x 32mm
CPU MT7621 880 MHz MIPS + MT7612
FLASH 16MB
RAM 256MB
2.4G WiFi 2*2, IEEE 802.11b/g/n, 300Mbps
5.8G WiFi 2*2, IEEE 802.11ac, 866Mbps
2.4G:External 5dBi x 4PCS Antennas
5.8G:External 5dBi x 2PCS Heat Sink High quality aluminum 4x10/100/1000M LAN(Auto MDI/MDIX) Ethernet Ports 1x10/100/1000M WAN(Auto MDI/MDIX)
Reset Button 1x Reset button, Restore factory default settings Power Supply 1x DC input 12V
USB 1x USB 3.0
mPCIe Quectel EG060 LTE Cat 6
It came with custom openwrt, i just try login to ssh and this dmesg from terminal
root@RD01:~# dmesg
[ 0.000000] Linux version 4.4.140 (abu@openwrt) (gcc version 5.4.0 (LEDE GCC 5.4.0 1.0.177) ) #0 SMP Sat Jul 2 04:35:03 2022
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is R40
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat 804eb240, node_mem_map 81000000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] PERCPU: Embedded 10 pages/cpu @8120d000 s8576 r8192 d24192 u40960
[ 0.000000] pcpu-alloc: s8576 r8192 d24192 u40960 alloc=10*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=00018140
[ 0.000000] Readback ErrCtl register=00018140
[ 0.000000] Memory: 253972K/262144K available (4053K kernel code, 219K rwdata, 908K
rodata, 248K init, 229K bss, 8172K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns[ 0.007793] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.070424] pid_max: default: 32768 minimum: 301
[ 0.075132] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081657] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 1.873305] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 1.873316] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 1.873327] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 1.873480] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.177759] Synchronize counters for CPU 1: done.
[ 1.589629] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 1.589636] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 1.589643] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 1.589717] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.268093] Synchronize counters for CPU 2: done.
[ 1.678643] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 1.678650] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 1.678657] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 1.678743] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.353273] Synchronize counters for CPU 3: done.
[ 0.358005] Brought up 4 CPUs
[ 0.364697] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.374490] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.380827] pinctrl core: initialized pinctrl subsystem
[ 0.386652] NET: Registered protocol family 16
[ 0.395195] FPU Affinity set after 11720 emulations
[ 0.395377] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.699914] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.704961] ***** Xtal 40MHz *****
[ 0.708318] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.713411] Port 0 N_FTS = 1b105000
[ 0.716883] Port 1 N_FTS = 1b105000
[ 0.720325] Port 2 N_FTS = 1b102800
[ 1.874706] PCIE2 no card, disable it(RST&CLK)
[ 1.879060] -> 21007f2
[ 1.881463] PCIE0 enabled
[ 1.884055] PCIE1 enabled
[ 1.886651] PCI host bridge /pcie@1e140000 ranges:
[ 1.891427] MEM 0x0000000060000000..0x000000006fffffff
[ 1.896587] IO 0x000000001e160000..0x000000001e16ffff
[ 1.901788] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 1.917338] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.923126] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.928723] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.935282] usbcore: registered new interface driver usbfs
[ 1.940754] usbcore: registered new interface driver hub
[ 1.946152] usbcore: registered new device driver usb
[ 1.951668] PCI host bridge to bus 0000:00
[ 1.955692] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.962526] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 1.968376] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.975137] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.983034] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 1.983078] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.983094] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[ 1.983153] pci 0000:00:00.0: supports D1
[ 1.983166] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.983411] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 1.983449] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.983466] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[ 1.983509] pci 0000:00:01.0: supports D1
[ 1.983521] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 1.983909] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[ 1.983962] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 1.984073] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 1.984277] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.984450] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[ 1.984510] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 1.984558] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 1.984629] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 1.984825] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.984848] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[ 1.984915] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 1.991447] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.998340] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 2.004914] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.011813] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.018569] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[ 2.025296] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[ 2.032480] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[ 2.039205] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[ 2.045966] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[ 2.052686] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.057622] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.064355] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[ 2.071629] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[ 2.078774] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 2.083712] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
[ 2.090434] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
[ 2.097635] BAR0 at slot 0 = 0
[ 2.100623] bus=0x0, slot = 0x0
[ 2.103744] BAR0 at slot 1 = 0
[ 2.106757] bus=0x0, slot = 0x1
[ 2.109899] bus=0x1, slot = 0x0, irq=0xff
[ 2.113856] bus=0x2, slot = 0x1, irq=0xff
[ 2.119113] clocksource: Switched to clocksource GIC
[ 2.125715] NET: Registered protocol family 2
[ 2.130763] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.137650] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 2.144076] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.150427] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.156186] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.162699] NET: Registered protocol family 1
[ 2.167054] PCI: CLS 80 bytes, default 32
[ 2.399026] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.405606] Crashlog allocated RAM at address 0x3f00000
[ 2.418211] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.424070] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c)
2001-2006 Red Hat, Inc.
[ 2.436446] io scheduler noop registered
[ 2.440333] io scheduler deadline registered (default)
[ 2.445881] gpio-export gpio_export: 2 gpio(s) exported
[ 2.451377] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 2.458709] console [ttyS0] disabled
[ 2.462283] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A
[ 2.471262] console [ttyS0] enabled
[ 2.478117] bootconsole [early0] disabled
[ 2.487185] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 2.494531] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[ 2.500745] m25p80 spi32766.0: using chunked io (size=32)
[ 2.506128] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[ 2.511306] 6 ofpart partitions found on MTD device spi32766.0
[ 2.517108] Creating 6 MTD partitions on "spi32766.0":
[ 2.522248] 0x000000000000-0x000000030000 : "u-boot"
[ 2.528494] 0x000000030000-0x000000040000 : "u-boot-env"
[ 2.535019] 0x000000040000-0x000000050000 : "factory"
[ 2.541309] 0x000000fe0000-0x000000ff0000 : "backup"
[ 2.547464] 0x000000ff0000-0x000001000000 : "bdinfo"
[ 2.553706] 0x000000050000-0x000000fe0000 : "firmware"
[ 2.592157] 2 uimage-fw partitions found on MTD device firmware
[ 2.598076] 0x000000050000-0x0000001fc438 : "kernel"
[ 2.604310] 0x0000001fc438-0x000000fe0000 : "rootfs"
[ 2.610539] mtd: device 7 (rootfs) set to be root filesystem
[ 2.616256] 1 squashfs-split partitions found on MTD device rootfs
[ 2.622477] 0x000000870000-0x000000fe0000 : "rootfs_data"
[ 2.629976] netif_napi_add() called with weight 128 on device eth%d
[ 2.702199] libphy: mdio: probed
[ 4.106373] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.113156] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10
[ 4.122070] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 4.127393] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[ 4.139250] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[ 4.147711] xhci-mtk 1e1c0000.xhci: irq 29, io mem 0x1e1c0000
[ 4.154483] hub 1-0:1.0: USB hub found
[ 4.158307] hub 1-0:1.0: 2 ports detected
[ 4.162744] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 4.168045] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[ 4.175673] usb usb2: We don't know the algorithms for LPM for this host, disabling
LPM.
[ 4.184644] hub 2-0:1.0: USB hub found
[ 4.188461] hub 2-0:1.0: 1 port detected
[ 4.193750] mt7621_wdt 1e000100.wdt: Initialized
[ 4.200054] NET: Registered protocol family 10
[ 4.205821] NET: Registered protocol family 17
[ 4.210406] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 4.223021] Bridge firewalling registered
[ 4.227016] 8021q: 802.1Q VLAN Support v1.8
[ 4.233810] hctosys: unable to open rtc device (rtc0)
[ 4.245029] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 4.252814] Freeing unused kernel memory: 248K
[ 4.402766] random: nonblocking pool is initialized
[ 4.677967] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[ 5.174270] init: Console is alive
[ 5.177874] init: - watchdog -
[ 5.669880] usb 1-2: USB disconnect, device number 2
[ 5.872642] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[ 5.878536] gmac: port0 linkup
[ 7.023511] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 7.090994] exFAT: Version 1.2.9
[ 7.126425] SCSI subsystem initialized
[ 7.134664] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.142325] ehci-platform: EHCI generic platform driver
[ 7.156878] libata version 3.00 loaded.
[ 7.162768] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 7.170084] ohci-platform: OHCI generic platform driver
[ 7.180637] usbcore: registered new interface driver usb-storage
[ 7.187109] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.199405] init: - preinit -
[ 7.557103] boot from spi
[ 7.740764] jffs2: notice: (429) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.757757] mount_root: switching to jffs2 overlay
[ 7.785722] urandom-seed: Seeding with /etc/urandom.seed
[ 8.319028] procd: - early -
[ 8.322147] procd: - watchdog -
[ 8.979400] procd: - watchdog -
[ 8.982905] procd: - ubus -
[ 9.195598] procd: - init -
[ 9.461201] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.486357] l2tp_core: L2TP core driver, V2.0
[ 9.492036] l2tp_netlink: L2TP netlink interface
[ 9.502269] gre: GRE over IPv4 demultiplexor driver
[ 9.508706] ip_gre: GRE over IPv4 tunneling driver
[ 9.520573] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.535314] Netfilter messages via NETLINK v0.30.
[ 9.542482] ip_set: protocol 6
[ 9.578264] GobiNet: Quectel_Linux&Android_GobiNet_Driver_V1.6.1
[ 9.584608] usbcore: registered new interface driver GobiNet
[ 9.604417] u32 classifier
[ 9.607168] input device check on
[ 9.610998] Actions configured
[ 9.616585] Mirror/redirect action on
[ 9.629373] nf_conntrack version 0.5.0 (3972 buckets, 15888 max)
[ 9.642604] fuse init (API version 7.23)
[ 10.055174] MT7603E module init
[ 10.068525] MT7603E AP Driver version-4.0.1.0rev2.P1
[ 12.342507] mt7603e nlwifi attach
[ 12.705678] MT7612E module init
[ 12.722947] MT76x2 AP Driver version-3.0.4.0.P2.20160308
[ 13.020393] mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=1, ePA_type=1
[ 13.027378] mt76x2_get_external_lna_gain::LNA type=0x1, BLNAGain=0xffffff8c, ALNAGain0=0xffffff8c, ALNAGain1=0xffffff8c, ALNAGain2=0xffffff8c
[ 13.542316] mt7612 nlwifi attach
[ 13.552346] usbcore: registered new interface driver cdc_ether
[ 13.560718] usbcore: registered new interface driver cdc_ncm
[ 13.567946] usbcore: registered new interface driver cdc_wdm
[ 13.577882] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.590929] ctnetlink v0.93: registering with nfnetlink.
[ 13.713519] usbcore: registered new interface driver rndis_host
[ 13.723891] usbcore: registered new interface driver usbserial
[ 13.729900] usbcore: registered new interface driver usbserial_generic
[ 13.736526] usbserial: USB Serial support registered for generic
[ 13.765308] xt_time: kernel timezone is -0000
[ 13.779366] PPP generic driver version 2.4.2
[ 13.784966] PPP MPPE Compression module registered
[ 13.791066] NET: Registered protocol family 24
[ 13.796722] PPTP driver version 0.8.5
[ 13.805939] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 13.812377] usbcore: registered new interface driver option
[ 13.818076] usbserial: USB Serial support registered for GSM modem (1-port)
[ 13.828117] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 19.261629] device eth0.1 entered promiscuous mode
[ 19.266441] device eth0 entered promiscuous mode
[ 19.276227] br-lan: port 1(eth0.1) entered forwarding state
[ 19.282018] br-lan: port 1(eth0.1) entered forwarding state
[ 21.279153] br-lan: port 1(eth0.1) entered forwarding state
[ 28.819108] usb 1-2: new high-speed USB device number 3 using xhci-mtk
[ 28.990154] cdc_ncm 1-2:1.0: MAC-Address: 1a:2e:ef:15:6e:c3
[ 28.997686] cdc_ncm 1-2:1.0 usb0: register 'cdc_ncm' at usb-1e1c0000.xhci-2, CDC NCM, 1a:2e:ef:15:6e:c3
[ 29.008911] option 1-2:1.2: GSM modem (1-port) converter detected
[ 29.015687] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 29.023767] option 1-2:1.3: GSM modem (1-port) converter detected
[ 29.030441] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 29.038682] option 1-2:1.4: GSM modem (1-port) converter detected
[ 29.046775] option 1-2:1.5: GSM modem (1-port) converter detected
[ 29.053609] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
can anyone help me to build firmware for this device?