Installing OpenWrt on comfast cf-wr754ac

seem to be no changes


root@OpenWrt:~# lspci
00:00.0 PCI bridge: MEDIATEK Corp. Device 0801 (rev 01)
01:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7663
root@OpenWrt:~#

root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.4.188 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16554-1d4dea6d4f)) #0 Sat Apr 16 12:59:34 2022
[    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 Wavlink WL-WN575A3
[    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 bytes
[    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] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00008050
[    0.000000] Readback ErrCtl register=00008050
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 57444K/65536K available (5094K kernel code, 206K rwdata, 636K rodata, 1220K init, 205K bss, 8092K 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] random: get_random_bytes called from 0x805cfa28 with crng_init=0
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000009] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007571] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.045458] pid_max: default: 32768 minimum: 301
[    0.050130] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.057154] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071018] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.080447] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.087100] pinctrl core: initialized pinctrl subsystem
[    0.095140] NET: Registered protocol family 16
[    0.204620] mt7620-pci 10140000.pcie: Port 0 N_FTS = 1b105000
[    0.359728] PCI host bridge /pcie@10140000 ranges:
[    0.364312]  MEM 0x0000000020000000..0x000000002fffffff
[    0.369342]   IO 0x0000000010160000..0x000000001016ffff
[    0.397369] PCI host bridge to bus 0000:00
[    0.401364] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.407955] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.414588] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.421141] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.428845] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    0.434635] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.440652] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[    0.446778] pci 0000:00:00.0: supports D1
[    0.450585] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.457873] pci 0000:01:00.0: [14c3:7663] type 00 class 0x000280
[    0.463743] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    0.470689] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    0.477664] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    0.484757] pci 0000:01:00.0: supports D1 D2
[    0.488829] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.495253] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.510057] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.516431] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.522814] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.529166] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.535893] pci 0000:00:00.0: BAR 9: assigned [mem 0x20000000-0x201fffff pref]
[    0.542864] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.549427] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    0.556910] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[    0.564386] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[    0.571858] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.576633] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff pref]
[    0.588305] clocksource: Switched to clocksource MIPS
[    0.594323] thermal_sys: Registered thermal governor 'step_wise'
[    0.594741] NET: Registered protocol family 2
[    0.604908] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.612828] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.620942] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.628325] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.635111] TCP: Hash tables configured (established 1024 bind 1024)
[    0.641389] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.647710] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.654693] NET: Registered protocol family 1
[    0.658958] PCI: CLS 0 bytes, default 32
[    0.667616] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.682653] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.688300] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.713777] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.724420] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.730085] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.735742] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.741460] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.750563] printk: console [ttyS0] disabled
[    0.754769] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.763499] printk: console [ttyS0] enabled
[    0.779928] printk: bootconsole [early0] disabled
[    0.800026] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    0.820786] spi-nor spi0.0: en25qh64 (8192 Kbytes)
[    0.830381] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.842971] Creating 4 MTD partitions on "spi0.0":
[    0.852473] 0x000000000000-0x000000030000 : "u-boot"
[    0.863507] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.875205] 0x000000040000-0x000000050000 : "factory"
[    0.886414] 0x000000050000-0x000000800000 : "firmware"
[    0.901823] 2 uimage-fw partitions found on MTD device firmware
[    0.913618] Creating 2 MTD partitions on "firmware":
[    0.923469] 0x000000000000-0x0000001e88ba : "kernel"
[    0.934452] 0x0000001e88ba-0x0000007b0000 : "rootfs"
[    0.945427] mtd: device 5 (rootfs) set to be root filesystem
[    0.958854] 1 squashfs-split partitions found on MTD device rootfs
[    0.971188] 0x000000500000-0x0000007b0000 : "rootfs_data"
[    0.995352] rt3050-esw 10110000.esw: link changed 0x00
[    1.007619] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.026249] NET: Registered protocol family 10
[    1.039765] Segment Routing with IPv6
[    1.047246] NET: Registered protocol family 17
[    1.056145] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.081824] 8021q: 802.1Q VLAN Support v1.8
[    1.100603] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.121466] Freeing unused kernel memory: 1220K
[    1.130460] This architecture does not have kernel memory protection.
[    1.143214] Run /sbin/init as init process
[    1.380305] random: fast init done
[    2.129513] init: Console is alive
[    2.136624] init: - watchdog -
[    3.284986] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.471451] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.496480] init: - preinit -
[    5.423557] random: jshn: uninitialized urandom read (4 bytes read)
[    5.603793] random: jshn: uninitialized urandom read (4 bytes read)
[    5.892578] random: jshn: uninitialized urandom read (4 bytes read)
[    6.450107] rt3050-esw 10110000.esw: link changed 0x00
[    6.521686] urandom_read: 2 callbacks suppressed
[    6.521695] random: procd: uninitialized urandom read (4 bytes read)
[   10.912219] jffs2: notice: (451) jffs2_build_xattr_subsystem: complete building xattr subsystem, 59 of xdatum (22 unchecked, 37 orphan) and 71 of xref (8 dead, 33 orphan) found.
[   10.945911] mount_root: switching to jffs2 overlay
[   10.963163] overlayfs: upper fs does not support tmpfile.
[   10.981806] urandom-seed: Seeding with /etc/urandom.seed
[   11.142427] procd: - early -
[   11.149246] procd: - watchdog -
[   11.155539] rt3050-esw 10110000.esw: link changed 0x08
[   11.855278] procd: - watchdog -
[   11.862282] procd: - ubus -
[   11.943315] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.958712] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.971992] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.988141] procd: - init -
[   13.175650] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.239282] Loading modules backported from Linux version v5.10.110-0-g3238bffaf992
[   13.254531] Backport generated by backports.git v5.10.110-1-0-g1fbde860
[   13.346048] xt_time: kernel timezone is -0000
[   13.587868] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   13.765684] urngd: v1.0.2 started.
[   13.992254] crng init done
[   13.997678] random: 1 urandom warning(s) missed due to ratelimiting
[   14.656119] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   14.667929] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   14.708345] mt76_wmac 10300000.wmac: firmware init done
[   14.895234] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.039334] PPP generic driver version 2.4.2
[   15.065201] NET: Registered protocol family 24
[   15.116721] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.058763] rt3050-esw 10110000.esw: link changed 0x00
[   28.537147] rt3050-esw 10110000.esw: link changed 0x08
[   32.668795] br-lan: port 1(eth0.1) entered blocking state
[   32.679562] br-lan: port 1(eth0.1) entered disabled state
[   32.690701] device eth0.1 entered promiscuous mode
[   32.700241] device eth0 entered promiscuous mode
[   32.780525] br-lan: port 1(eth0.1) entered blocking state
[   32.791267] br-lan: port 1(eth0.1) entered forwarding state
[   33.652828] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   38.356544] wlan0: authenticate with 60:a4:b7:47:fb:2b
[   38.374148] wlan0: send auth to 60:a4:b7:47:fb:2b (try 1/3)
[   38.399753] wlan0: authenticated
[   38.408591] wlan0: associate with 60:a4:b7:47:fb:2b (try 1/3)
[   38.438354] wlan0: RX AssocResp from 60:a4:b7:47:fb:2b (capab=0x1811 status=0 aid=10)
[   38.454152] wlan0: associated
[   38.614848] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
root@OpenWrt:~#

I see I accidentally searched for 7662 instead of 7663 :frowning:
Disregard the 76x2 comments.

Anyway, there are two kmod-7663 packages, s/u, and a kmod-7663-firmware-ap.

1 Like

then i should install

kmod-mt7663-firmware-ap 5.4.188+2021-12-03-678071ef-4 461.2 KB MediaTek MT7663e firmware (optimized for AP) Install…

or

|kmod-mt7663s|5.4.188+2021-12-03-678071ef-4|4.7 KB|MediaTek MT7663s wireless driver|Install…|
or

kmod-mt7663u 5.4.188+2021-12-03-678071ef-4 3.5 KB MediaTek MT7663u wireless driver

?

-ap if you want it to be used for other devices to connect to.

the u and s, no idea, trial and error.

1 Like

i m trying the first one , no lucky
at this time rebooting with second one
(no need to ap improvement )

doh .
no changes.
always

root@OpenWrt:~# lspci
00:00.0 PCI bridge: MEDIATEK Corp. Device 0801 (rev 01)
01:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7663
root@OpenWrt:~#

that's what I like about linux. Since 0.94... you imagine the old cuckoo.... the old one! sometimes from one kernel to another, or from one application to another, there are things that no longer work. at the time I was doing DD-WRT on the wrt54g of linksys, then I switched to openwrt. If no one tries to test the supported unofficial hardware, it's the developers who will pay for all the harware. I wonder..... if there had been no chipset revision... as v2... it smells like that.....

take a look on the big picture , wifi 2.1 ....................

One chip says MT7628DAN (probably 2.4 GHz). The other says MT7613BEN (probably 5.4 GHz).

and the second one , from the same lot :
both main chipset are differents !!!!

right .....compared to the second picture ....

it's a (not shame : traduction error) too bad the guy didn't open it.....

Boot log is there, and there are probably photos available at fccid.io.

1 Like

edit of previous post
english it s not my mothertong

the MT761BEN seems to be supported

and the MT7628 too ....

both supported by the mt76 driver. it should have worked when I tested the mt76 driver....

exactlly !!!!!