COMFAST CF-E130N v2

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

The COMFAST CF-E130N is an outdoor 2.4 GHz wireless CPE. It is based on the Qualcomm Atheros QCA9531/9533 SoC, and features one RJ45 10/100 Mbps Ethernet port with PoE in and a 300 Mbps 2.4 GHz 802.11b/g/n radio connected to an internal 5 dBi atenna.

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.

FIXME The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!

This section deals with

  • How you install OpenWrt from a device freshly opened
  • The steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

  • Browse to http://192.168.1.1/Upgrade.asp
  • Upload .bin file to router
  • Wait for it to reboot
  • Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed.

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • 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. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

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

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

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

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

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

The COMFAST CF-E130N has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

CF-E130N side view (image from comfast.com.cn) CF-E130N front view (image from comfast.com.cn) CF-E130N internal view (image from comfast.com.cn)

Backside label:
CF-E130N back view (image from comfast.com.cn) 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, do a/b/c

Main PCB:

CF-E130N 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

Serial connection parameters
for COMFAST CF-E130N v2
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-ga1cd7d4b-dirty (May 31 2018 - 16:44:04) ap143 - Honey Bee 2.0 DRAM: 64 MB Flash: 16 MB eth0 link down FAIL eth1 link down FAIL Using eth0 device Tx Timed out ping failed; Hit any key to stop autoboot: 1  0 ## Booting image at 9f020000 ... Image Name: MIPS OpenWrt Linux-3.10.44 Created: 2018-10-12 2:47:56 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1060532 Bytes = 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 ... [ 0.000000] Linux version 3.10.44 (dingtengfei@oracle.tecmint.com) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 Fri Oct 12 10:47:07 CST 2018 [ 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:392.871MHz, AHB:216.666MHz, Ref:25.000MHz [ 0.000000] Determined 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-E130N console=ttyS0,115200 mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,1536k(kernel),6400k(rootfs),64k(configs),64k(nvram)ro,7936k@0x20000(firmware) 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: 61280k/65536k available (2273k kernel code, 4256k reserved, 592k data, 204k 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-E130N [ 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.550000] NET: Registered protocol family 2 [ 0.560000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.560000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.570000] TCP: Hash tables configured (established 512 bind 512) [ 0.570000] TCP: reno registered [ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.580000] 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.610000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.620000] msgmni has been set to 119 [ 0.630000] io scheduler noop registered [ 0.630000] 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.670000] console [ttyS0] enabled, bootconsole disabled [ 0.670000] console [ttyS0] enabled, bootconsole disabled [ 0.680000] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 0.690000] m25p80 spi0.0: found en25qh64a, expected m25p80 [ 0.700000] m25p80 spi0.0: en25qh64a (8192 Kbytes) [ 0.710000] 7 cmdlinepart partitions found on MTD device spi0.0 [ 0.710000] Creating 7 MTD partitions on "spi0.0": [ 0.720000] 0x000000000000-0x000000010000 : "u-boot" [ 0.720000] 0x000000010000-0x000000020000 : "art" [ 0.730000] 0x000000020000-0x0000001a0000 : "kernel" [ 0.740000] 0x0000001a0000-0x0000007e0000 : "rootfs" [ 0.750000] mtd: device 3 (rootfs) set to be root filesystem [ 0.750000] 1 squashfs-split partitions found on MTD device rootfs [ 0.760000] 0x000000530000-0x0000007e0000 : "rootfs_data" [ 0.760000] 0x0000007e0000-0x0000007f0000 : "configs" [ 0.770000] 0x0000007f0000-0x000000800000 : "nvram" [ 0.780000] 0x000000020000-0x0000007e0000 : "firmware" [ 0.810000] libphy: ag71xx_mdio: probed [ 0.810000] eth0: Atheros AG71xx at 0xba000000, irq 5 [ 1.370000] ag71xx-mdio.1: Found an AR934X built-in switch [ 1.410000] eth1: Atheros AG71xx at 0xb9000000, irq 4 [ 1.970000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY] [ 1.980000] TCP: cubic registered [ 1.980000] NET: Registered protocol family 17 [ 1.990000] 8021q: 802.1Q VLAN Support v1.8 [ 2.000000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 2.010000] Freeing unused kernel memory: 204K (8032d000 - 80360000) [ 2.940000] init: Console is alive [ 2.940000] init: - watchdog - [ 3.950000] 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 [ 8.170000] jffs2: notice: (383) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 0 orphan) and 13 of xref (0 dead, 2 orphan) found. [ 8.180000] mount_root: switching to jffs2 overlay 529+0 records in 529+0 records out 377+0 records in 377+0 records out [ 8.300000] procd: - early - [ 8.300000] procd: - watchdog - [ 8.930000] procd: - ubus - [ 9.950000] procd: - init - Please press Enter to activate this console. [ 11.680000] i2c /dev entries driver [ 11.700000] u32 classifier [ 11.700000] input device check on [ 11.700000] Actions configured [ 11.710000] Mirror/redirect action on [ 11.720000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 11.730000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 11.740000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.760000] nf_conntrack version 0.5.0 (960 buckets, 3840 max) [ 11.770000] Netfilter messages via NETLINK v0.30. [ 11.820000] xt_time: kernel timezone is -0000 [ 11.930000] PPP generic driver version 2.4.2 [ 11.940000] PPP MPPE Compression module registered [ 11.950000] NET: Registered protocol family 24 [ 12.030000] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47 [ 20.820000] device eth1 entered promiscuous mode [ 20.850000] br-lan: port 1(eth1) entered forwarding state [ 20.850000] br-lan: port 1(eth1) entered forwarding state [ 21.380000] heart_beat uses obsolete (PF_INET,SOCK_PACKET) configs:do check configs [ 21.830000] br-lan: port 1(eth1) entered disabled state [ 24.510000] device wlan0 entered promiscuous mode [ 31.760000] br-lan: port 2(wlan0) entered forwarding state [ 31.770000] br-lan: port 2(wlan0) entered forwarding state [ 33.770000] 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