(I know that there's a similar topic, but I'm unsure if I should reply there as it's from almost 6 years ago)
I have a "YJ-LW928AG" router from YJ-Link.
It's based on the MediaTek MT7628AN evaluation board, with the 5GHz chip is MT7612EN.
The stock image is based on OpenWrt 14 (Forgot to get a copy of the stock firmware but I'm receiving an identical router in a few days since they were cheap).
The 5GHz chip worked in the stock firmware.
Upgraded it to "OpenWrt 22.03.3 r20028-43d71ad93e" (openwrt-22.03.3-ramips-mt76x8-mediatek_mt7628an-eval-board-squashfs-sysupgrade.bin)
The 5GHz chip doesn't appear as radio 1 - only getting the 2.4GHz on radio 0
I tried installing kmod-mt76 and a few other packages but still no radio 1
I looked though all the logs but I couldn't find any errors in the logs myself:
boot log:
[ 1117.736000] reboot: Restarting system
[04050C0C][04050C0C]
DDR Calibration DQS reg = 00008888
U-Boot 1.1.3 (Jun 15 2016 - 14:46:50)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb0000
******************************
Software System Reset Occurred
******************************
flash manufacture id: ef, device id 40 17
find flash: W25Q64BV
============================================
Ralink UBoot Version: 4.3.0.1
--------------------------------------------
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:Jun 15 2016 Time:14:46:50
============================================
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. 0
3: System Boot system code via Flash.
## Booting image at bc050000 ...
Image Name: MIPS OpenWrt Linux-5.10.161
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2200167 Bytes = 2.1 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 5.10.161 (builder@buildhost) (mipsel-openwrt-linux- musl-gcc (OpenWrt GCC 11.2.0 r20028-43d71ad93e) 11.2.0, GNU ld (GNU Binutils) 2. 37) #0 Tue Jan 3 00:24:21 2023
[ 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] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Mediatek MT7628AN evaluation board
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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 byt es
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs 2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, lin ear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, line ar)
[ 0.000000] Writing ErrCtl register=0006b4d0
[ 0.000000] Readback ErrCtl register=0006b4d0
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 56420K/65536K available (5680K kernel code, 617K rwdata, 696K rodata, 1188K init, 210K bss, 9116K 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] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i dle_ns: 6647862422 ns
[ 0.000013] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 74695 08094ns
[ 0.015488] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[ 0.087635] pid_max: default: 32768 minimum: 301
[ 0.096966] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea r)
[ 0.111300] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.129144] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.148312] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns
[ 0.167697] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.181199] pinctrl core: initialized pinctrl subsystem
[ 0.196585] NET: Registered protocol family 16
[ 0.206135] thermal_sys: Registered thermal governor 'step_wise'
[ 0.269567] clocksource: Switched to clocksource MIPS
[ 0.292804] NET: Registered protocol family 2
[ 0.301686] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear )
[ 0.316894] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.333432] TCP established hash table entries: 1024 (order: 0, 4096 bytes, l inear)
[ 0.348472] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.362391] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.375114] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.387972] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.402036] NET: Registered protocol family 1
[ 0.410592] PCI: CLS 0 bytes, default 32
[ 0.426233] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.444662] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.456120] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.477708] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 52)
[ 0.494937] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.506197] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.517444] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.528730] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.544176] printk: console [ttyS0] disabled
[ 0.552661] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.570473] printk: console [ttyS0] enabled
[ 0.570473] printk: console [ttyS0] enabled
[ 0.586955] printk: bootconsole [early0] disabled
[ 0.586955] printk: bootconsole [early0] disabled
[ 0.607076] spi-mt7621 10000b00.spi: sys_freq: 191666666
[ 0.637500] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[ 0.647297] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.659965] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitio ns
[ 0.674479] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitio ns
[ 0.689283] Creating 4 MTD partitions on "spi0.0":
[ 0.698824] 0x000000000000-0x000000030000 : "u-boot"
[ 0.711674] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.723587] 0x000000040000-0x000000050000 : "factory"
[ 0.736829] 0x000000050000-0x000000800000 : "firmware"
[ 0.748508] 2 uimage-fw partitions found on MTD device firmware
[ 0.760333] Creating 2 MTD partitions on "firmware":
[ 0.770187] 0x000000000000-0x0000002192a7 : "kernel"
[ 0.780019] mtd: partition "kernel" doesn't end on an erase/write block -- fo rce read-only
[ 0.799544] 0x0000002192a7-0x0000007b0000 : "rootfs"
[ 0.809459] mtd: partition "rootfs" doesn't start on an erase/write block bou ndary -- force read-only
[ 0.828914] mtd: setting mtd5 (rootfs) as root device
[ 0.840223] 1 squashfs-split partitions found on MTD device rootfs
[ 0.852564] 0x0000005b0000-0x0000007b0000 : "rootfs_data"
[ 0.917731] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initi alized
[ 0.933055] mtk_soc_eth 10100000.ethernet: generated random MAC address d6:e5 :9a:aa:18:12
[ 0.950100] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0 100000, irq 5
[ 0.968392] NET: Registered protocol family 10
[ 0.982913] Segment Routing with IPv6
[ 0.990425] NET: Registered protocol family 17
[ 0.999312] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.025007] 8021q: 802.1Q VLAN Support v1.8
[ 1.048997] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.069792] Freeing unused kernel memory: 1188K
[ 1.078755] This architecture does not have kernel memory protection.
[ 1.091548] Run /sbin/init as init process
[ 2.232198] init: Console is alive
[ 2.239544] init: - watchdog -
[ 3.992334] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.185542] usbcore: registered new interface driver usbfs
[ 4.196596] usbcore: registered new interface driver hub
[ 4.207238] usbcore: registered new device driver usb
[ 4.225324] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.241470] ehci-fsl: Freescale EHCI Host controller driver
[ 4.254600] ehci-platform: EHCI generic platform driver
[ 4.275464] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 4.288753] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 4.299114] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 4.310530] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 4.326379] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 4.359595] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 4.373252] hub 1-0:1.0: USB hub found
[ 4.381713] hub 1-0:1.0: 1 port detected
[ 4.395955] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.412356] ohci-platform: OHCI generic platform driver
[ 4.423243] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 4.436770] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 4.452469] rt3050-esw 10110000.esw: port 3 link up
[ 4.462297] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 4.544682] hub 2-0:1.0: USB hub found
[ 4.553206] hub 2-0:1.0: 1 port detected
[ 4.565489] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.590494] init: - preinit -
[ 6.511903] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.639090] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.827808] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.617652] rt3050-esw 10110000.esw: port 3 link down
Press the [f] key and hit [enter] to enter failsafe mode
Press [ 7.941739] random: procd: uninitialized urandom read (4 bytes read)
the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 11.138012] rt3050-esw 10110000.esw: port 3 link up
[ 11.147751] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 11.160782] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 12.402153] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 22 of xdatum (19 unchecked, 2 orphan) and 29 of xref (2 dead, 0 orphan) found.
[ 12.437776] mount_root: switching to jffs2 overlay
[ 12.454688] overlayfs: upper fs does not support tmpfile.
[ 12.475500] urandom-seed: Seeding with /etc/urandom.seed
[ 12.705534] procd: - early -
[ 12.712675] procd: - watchdog -
[ 13.679798] procd: - watchdog -
[ 13.688166] procd: - ubus -
[ 13.847093] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.863315] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.876750] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.907000] procd: - init -
Please press Enter to activate this console.
[ 15.316688] random: jshn: uninitialized urandom read (4 bytes read)
[ 15.370919] random: ubusd: uninitialized urandom read (4 bytes read)
[ 15.410775] random: ubus: uninitialized urandom read (4 bytes read)
[ 16.032288] kmodloader: loading kernel modules from /etc/modules.d/*
[ 16.423980] urngd: v1.0.2 started.
[ 16.717728] Loading modules backported from Linux version v5.15.81-0-ge4a7232c917c
[ 16.732809] Backport generated by backports.git v5.15.81-1-0-ge1867d55
[ 16.773792] random: crng init done
[ 16.780615] random: 22 urandom warning(s) missed due to ratelimiting
[ 16.886422] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[ 18.052332] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[ 18.064141] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[ 18.089572] mt76_wmac 10300000.wmac: firmware init done
[ 18.611416] PPP generic driver version 2.4.2
[ 18.759117] NET: Registered protocol family 24
[ 18.784834] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 32.347749] rt3050-esw 10110000.esw: port 3 link down
[ 35.933673] rt3050-esw 10110000.esw: port 3 link up
[ 42.587902] br-lan: port 1(eth0.1) entered blocking state
[ 42.598703] br-lan: port 1(eth0.1) entered disabled state
[ 42.609990] device eth0.1 entered promiscuous mode
[ 42.619482] device eth0 entered promiscuous mode
[ 42.703094] br-lan: port 1(eth0.1) entered blocking state
[ 42.713868] br-lan: port 1(eth0.1) entered forwarding state
[ 43.590090] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
BusyBox v1.35.0 (2023-01-03 00:24:21 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 22.03.3, r20028-43d71ad93e
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# cat /proc/cpuinfo
system type : MediaTek MT7628AN ver:1 eco:2
machine : Mediatek MT7628AN evaluation board
processor : 0
cpu model : MIPS 24KEc V5.5
BogoMIPS : 380.92
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp
Options implemented : tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 007b0000 00010000 "firmware"
mtd4: 002192a7 00010000 "kernel"
mtd5: 00596d59 00010000 "rootfs"
mtd6: 00200000 00010000 "rootfs_data"
root@OpenWrt:/# lsmod
cfg80211 285840 6 mt76x0_common,mt76x2_common,mt76x02_lib,mt7603e,mt76,mac80211
cmac 2464 0
compat 1024 2 mac80211,cfg80211
crc_ccitt 1664 1 ppp_async
crc32c_generic 1376 1
drbg 17536 0
ehci_fsl 3456 0
ehci_hcd 38064 2 ehci_platform,ehci_fsl
ehci_platform 4608 0
fsl_mph_dr_of 3632 0
gpio_button_hotplug 6592 0
hmac 2496 0
jitterentropy_rng 7136 0
leds_gpio 3168 0
ledtrig_usbport 3024 0
libcrc32c 592 1 nf_tables
libsha256 8576 1 sha256_generic
mac80211 521824 6 mt76x0e,mt76x0_common,mt76x2e,mt76x02_lib,mt7603e,mt76
mt76 44448 6 mt76x0e,mt76x0_common,mt76x2e,mt76x2_common,mt76x02_lib,mt7603e
mt7603e 38432 0
mt76x0_common 29504 1 mt76x0e
mt76x02_lib 40352 4 mt76x0e,mt76x0_common,mt76x2e,mt76x2_common
mt76x0e 3680 0
mt76x2_common 11744 1 mt76x2e
mt76x2e 10048 0
nf_conntrack 69200 7 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nf_nat,nf_flow_table
nf_defrag_ipv4 1216 1 nf_conntrack
nf_defrag_ipv6 5584 1 nf_conntrack
nf_flow_table 22128 4 nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_flow_offload
nf_flow_table_inet 576 0
nf_flow_table_ipv4 448 0
nf_flow_table_ipv6 448 0
nf_log_common 2976 2 nf_log_ipv6,nf_log_ipv4
nf_log_ipv4 3680 0
nf_log_ipv6 3968 0
nf_nat 22384 4 nft_redir,nft_nat,nft_masq,nft_chain_nat
nf_reject_ipv4 2528 2 nft_reject_ipv4,nft_reject_inet
nf_reject_ipv6 2944 2 nft_reject_ipv6,nft_reject_inet
nf_tables 150992194 nft_fib_inet,nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_objref,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_counter,nft_chain_nat
nfnetlink 5184 1 nf_tables
nft_chain_nat 864 2
nft_counter 1792 16
nft_ct 7680 3
nft_fib 1408 3 nft_fib_inet,nft_fib_ipv6,nft_fib_ipv4
nft_fib_inet 672 0
nft_fib_ipv4 2080 1 nft_fib_inet
nft_fib_ipv6 2784 1 nft_fib_inet
nft_flow_offload 3488 0
nft_hash 2432 0
nft_limit 3584 5
nft_log 1728 0
nft_masq 1824 1
nft_nat 2592 0
nft_numgen 1504 0
nft_objref 1664 0
nft_quota 2016 0
nft_redir 1792 0
nft_reject 1152 3 nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet
nft_reject_inet 1152 2
nft_reject_ipv4 672 0
nft_reject_ipv6 672 0
nls_base 4928 1 usbcore
ohci_hcd 25744 1 ohci_platform
ohci_platform 3424 0
ppp_async 7136 0
ppp_generic 24880 3 pppoe,ppp_async,pppox
pppoe 9600 0
pppox 1296 1 pppoe
seqiv 1600 0
sha256_generic 2400 0
slhc 5312 1 ppp_generic
usb_common 3184 3 ohci_hcd,ehci_platform,usbcore
usbcore 145760 6 ledtrig_usbport,ohci_platform,ohci_hcd,ehci_platform,ehci_fsl,ehci_hcd
root@OpenWrt:/# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/10300000.wmac'
option channel '1'
option band '2g'
option htmode 'HT20'
option disabled '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'