COMFAST CF-E110N

CF-E110N right view (image from comfast.com.cn)

The COMFAST CF-E110N is an outdoor 2.4 GHz wireless CPE. It is based on the Qualcomm Atheros QCA9531 or QCA9533 SoC, and features two RJ45 10/100 Mbps Ethernet ports with PoE in and a 300 Mbps 2.4 GHz 802.11b/g/n radio connected to an internal 2T2R 11 dBi antenna.

Note: The COMFAST CF-E110N shares many features with the COMFAST CF-E5, deploying the same chipset. The CF-E5 PCI-e interface is the key differentiator.

Install OpenWrt (generic explanation)

FIXME Please add the installation procedure here.

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

Before installing OpenWrt check in the stock firmware system log the amount of flash your device incorporates. Both 8MB and 16MB are existing. Only 16MB version is currently supported by OpenWrt. The stock firmware is a customized OpenWrt version. the Plain OpenWrt can be installed from the web interface; just upload the sysupgrade image and flash it.

Note: the router will keep the previous configuration, including the stock password. After flashing, enter failsafe mode to reset it.

Before installing OpenWrt check in the stock firmware system log the amount of flash your device incorporates. Both 8MB and 16MB are existing. Only 16MB version is currently supported by OpenWrt. The U-boot bootloader of this device contains a recovery HTTP server from which to upload the firmware.

Instructions

  1. Push the reset button (and keep it pressed) with the device off
  2. Power the device on (keep the reset button pressed)
  3. Keep pressing the reset button for 8~9 seconds, the LEDs will blink during this time.
  4. Release reset button.
  5. Note: This device is almost identical to the CF-E5. Releasing reset after 5-6 Leds are permanently 'on' may be necessary.
  6. Manually configure your computer to 192.168.1.X/24 (e.g.: 192.168.1.2/24)
  7. Head to the recovery page at http://192.168.1.1/index.html
  8. Upload the firmware

You can read the generic OpenWrt instructions here.

Specific values needed for TFTP

Bootloader tftp server IPv4 address 192.168.1.10/24
Bootloader MAC address (special) N/A
Firmware tftp image Latest OpenWrt release sysupgrade image. Note: remane it to “firmware_auto.bin”
TFTP transfer window 1 seconds
TFTP window start approximately 5 seconds after power on

You can read the general OpenWrt upgrading instructions here.

  • Browse to http://192.168.1.1/cgi-bin/luci/admin/system/flashops LuCI's upgrade URL (replace 192.168.1.1 with the router's IP)
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line.

sysupgrade

  • Login as root via SSH on your router, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

The device has a push button, labeled “RST”, and a two-positions slide switch, labeled “STA AP. The push button is used to reset the device, restore it to factory defaults or enter into failsafe mode. The slide switch is meant to change between station or access point using the stock firmware.

Button GPIO port Event
RST 17 reset
Slide switch GPIO port Values Event
STA AP 1 0: AP. 1: STA none

CF-E110N side view (image from comfast.com.cn) CF-E110N left view (image from comfast.com.cn) CF-E110N front view (image from comfast.com.cn)

Backside label:
Insert photo of backside label

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...

  • To remove the cover and open the device, remove the two screws under the adhesive label (corners low). Then pull out the PCB+antenna block from the case.

Main PCB:
Insert photo of PCB

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for COMFAST CF-E110N
EXAMPLE 115200, 8N1

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

U-Boot 1.1.4-g8922e292-dirty (Nov 9 2017 - 15:33:11) ap143 - Honey Bee 2.0 DRAM: 64 MB Flash: 16 MB enet0 port4 up dup 1 speed 100 Using eth0 device ping failed; host 192.168.1.10 is not alive Unknown command 'ERROR!' - try 'help' Hit any key to stop autoboot: 0 ## Booting image at 9f020000 ... Image Name: MIPS OpenWrt Linux-3.10.44 Created: 2017-11-14 3:05:54 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1121877 Bytes = 1.1 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x9f020040 ...OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 67108864 Starting kernel ...


U-Boot 1.1.4-g8922e292-dirty (Nov 9 2017 - 15:33:11) ap143 - Honey Bee 2.0 DRAM: 64 MB Flash: 16 MB Press reset button for at least: - 3 sec. to run web failsafe mode - 7 sec. to run U-Boot netconsole Reset button is pressed for: 7 Button was pressed for 7 sec... HTTP server is starting for firmware update...


[ 0.000000] Linux version 3.10.44 (chenpeinan@oracle.tecmint.com) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #25 Tue Nov 14 11:04:28 CST 2017 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Qualcomm Atheros QCA9531 ver 2 rev 0 [ 0.000000] Clocks: CPU:650.000MHz, DDR:393.383MHz, AHB:216.666MHz, Ref:25.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] User-defined 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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: board=COMFAST-CF-E110NV2 console=ttyS0,115200 mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,1536k(kernel),14592k(rootfs),64k(configs),64k(nvram)ro,16128k@0x20000(firmware) rootfstype=squashfs,jffs2 noinitrd mem=64M rootfstype=squashfs,jffs2 noinitrd [ 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=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 60884k/65536k available (2422k kernel code, 4652k reserved, 685k data, 220k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688) [ 0.050000] pid_max: default: 32768 minimum: 301 [ 0.050000] Mount-cache hash table entries: 512 [ 0.060000] NET: Registered protocol family 16 [ 0.070000] MIPS: machine is COMFAST CF-E110NV2 [ 0.510000] ar724x-pci ar724x-pci.0: PCIe link is down [ 0.510000] registering PCI controller with io_map_base unset [ 0.520000] bio: create slab <bio-0> at 0 [ 0.530000] PCI host bridge to bus 0000:00 [ 0.530000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff] [ 0.540000] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.540000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.550000] Switching to clocksource MIPS [ 0.560000] NET: Registered protocol family 2 [ 0.560000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.570000] TCP: Hash tables configured (established 512 bind 512) [ 0.580000] TCP: reno registered [ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.590000] NET: Registered protocol family 1 [ 0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.630000] msgmni has been set to 118 [ 0.630000] io scheduler noop registered [ 0.640000] io scheduler deadline registered (default) [ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.680000] console [ttyS0] enabled, bootconsole disabled [ 0.680000] console [ttyS0] enabled, bootconsole disabled [ 0.690000] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 0.700000] m25p80 spi0.0: found w25q128, expected m25p80 [ 0.710000] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.710000] 7 cmdlinepart partitions found on MTD device spi0.0 [ 0.720000] Creating 7 MTD partitions on "spi0.0": [ 0.720000] 0x000000000000-0x000000010000 : "u-boot" [ 0.730000] 0x000000010000-0x000000020000 : "art" [ 0.740000] 0x000000020000-0x0000001a0000 : "kernel" [ 0.740000] 0x0000001a0000-0x000000fe0000 : "rootfs" [ 0.750000] mtd: device 3 (rootfs) set to be root filesystem [ 0.760000] 1 squashfs-split partitions found on MTD device rootfs [ 0.760000] 0x0000006e0000-0x000000fe0000 : "rootfs_data" [ 0.770000] 0x000000fe0000-0x000000ff0000 : "configs" [ 0.780000] 0x000000ff0000-0x000001000000 : "nvram" [ 0.780000] 0x000000020000-0x000000fe0000 : "firmware" [ 0.810000] libphy: ag71xx_mdio: probed [ 0.820000] eth0: Atheros AG71xx at 0xba000000, irq 5 [ 1.380000] ag71xx-mdio.1: Found an AR934X built-in switch [ 1.420000] eth1: Atheros AG71xx at 0xb9000000, irq 4 [ 1.980000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY] [ 1.990000] TCP: cubic registered [ 1.990000] NET: Registered protocol family 17 [ 2.000000] Bridge firewalling registered [ 2.000000] 8021q: 802.1Q VLAN Support v1.8 [ 2.020000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 2.020000] Freeing unused kernel memory: 220K (80369000 - 803a0000) [ 3.040000] init: Console is alive [ 3.040000] init: - watchdog - [ 5.050000] init: - preinit - Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 9.160000] jffs2: notice: (358) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 0 orphan) and 13 of xref (0 dead, 2 orphan) found. [ 9.180000] mount_root: switching to jffs2 overlay [ 9.240000] procd: - early - [ 9.250000] procd: - watchdog - [ 9.870000] procd: - ubus - [ 10.900000] procd: - init - Please press Enter to activate this console. [ 12.970000] natsemi dp8381x driver, version 2.1, Sept 11, 2006 [ 12.970000] originally by Donald Becker <becker@scyld.com> [ 12.970000] 2.4.x kernel port by Jeff Garzik, Tjeerd Mulder [ 12.990000] tun: Universal TUN/TAP device driver, 1.6 [ 13.000000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 13.020000] gre: GRE over IPv4 demultiplexor driver [ 13.040000] ip_gre: GRE over IPv4 tunneling driver [ 13.050000] i2c /dev entries driver [ 13.060000] u32 classifier [ 13.070000] input device check on [ 13.070000] Actions configured [ 13.080000] Mirror/redirect action on [ 13.160000] nf_conntrack version 0.5.0 (954 buckets, 3816 max) [ 13.180000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 13.190000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 13.230000] Ebtables v2.0 registered [ 13.250000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.360000] Netfilter messages via NETLINK v0.30. [ 13.460000] xt_time: kernel timezone is -0000 [ 13.670000] ctnetlink v0.93: registering with nfnetlink. [ 13.710000] PPP generic driver version 2.4.2 [ 13.710000] PPP MPPE Compression module registered [ 13.720000] NET: Registered protocol family 24 [ 13.820000] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47 [ 24.110000] device eth1 entered promiscuous mode [ 24.110000] br-lan: port 1(eth1) entered forwarding state [ 24.120000] br-lan: port 1(eth1) entered forwarding state [ 24.130000] br-lan: port 1(eth1) entered disabled state [ 24.220000] device eth0 entered promiscuous mode [ 26.200000] eth1: link up (100Mbps/Full duplex) [ 26.200000] br-lan: port 1(eth1) entered forwarding state [ 26.210000] br-lan: port 1(eth1) entered forwarding state [ 27.790000] device wlan0 entered promiscuous mode [ 28.210000] br-lan: port 1(eth1) entered forwarding state [ 35.050000] br-lan: port 2(wlan0) entered forwarding state [ 35.050000] br-lan: port 2(wlan0) entered forwarding state [ 37.050000] br-lan: port 2(wlan0) entered forwarding state


COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Space for additional notes, links to forum threads or other resources.

  • ...
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1