Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ar71xx: add support for Comfast CF-E312A V2 #1562

Closed
wants to merge 1 commit into from

Conversation

bmoffitt
Copy link

@bmoffitt bmoffitt commented Dec 6, 2017

The Comfast CF-E312A V2 is a 5 GHz radio with a built-in directional antenna,
much like a Ubiquiti NanoStation M5.

Specifiation:

  • SoC: AR9344 at 650 MHz
  • Flash: 16 MiB (W25Q128FVSG)
  • RAM: 64 MiB DDR2 (W9751G6KB)
  • Ethernet: 1 x WAN (100 Mbps) and 1 x LAN (100 Mbps)
  • Button: 1 x reset button, 1 x PoE pass-through switch
  • LED: 8 x LEDS (Power, LAN, WAN, Wireless, 4 signal LEDs)
  • UART: 1 x UART with header on PCB (GND, RX, TX, 3.3V)

It is very similar to the CF-316N - similar chipset, etc. The major
differences are:

  • It operates at 5 GHz, not 2.4
  • All the LEDs are white
  • It has 4 signal LEDs

Of note: the eth1 port has an optional PoE pass-through, controlled with a
slider switch.

Most of the changes are in the file
target/linux/ar71xx/files/arch/mips/ath79/mach-cf-e316n-v2.c - the code
for the E316N was copied and modified to support the additional LEDs, the
LED colors, and a few changes in the GPIOs.

Firmware can be flashed on these units by the following method:
1.) Apply power to the unit
2.) Immediately AFTER applying power, hold down the reset button
3.) The WAN, LAN, and wireless lights will flash - wait three seconds
(three flashes) and then release the button.
4.) After a second, the lights will "flutter" quickly and the unit will
be visible at 192.168.1.1. A web page will be available to enable quick
and simple uploading and flashing of firmware.

During the boot process, these units also look for a tftp server at
192.168.1.10. If one is present, the firmware can be uploaded as a file
called "firmware-auto.bin"

Signed-off-by: bmoffitt@bmoffitt.com bmoffitt@ayrstone.com

Thanks for your contribution to the LEDE project!

To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://lede-project.org/submitting-patches

Please remove this message before posting the pull request.

The Comfast CF-E312A V2 is a 5 GHz radio with a built-in directional antenna,
much like a Ubiquiti NanoStation M5.

Specifiation:
- SoC: AR9344 at 650 MHz
- Flash: 16 MiB (W25Q128FVSG)
- RAM: 64 MiB DDR2 (W9751G6KB)
- Ethernet:  1 x WAN (100 Mbps) and 1 x LAN (100 Mbps)
- Button: 1 x reset button, 1 x PoE pass-through switch
- LED: 8 x LEDS (Power, LAN, WAN, Wireless, 4 signal LEDs)
- UART: 1 x UART with header on PCB (GND, RX, TX, 3.3V)

It is very similar to the CF-316N - similar chipset, etc. The major
differences are:

* It operates at 5 GHz, not 2.4
* All the LEDs are white
* It has 4 signal LEDs

Of note: the eth1 port has an optional PoE pass-through, controlled with a
slider switch.

Most of the changes are in the file
target/linux/ar71xx/files/arch/mips/ath79/mach-cf-e316n-v2.c - the code
for the E316N was copied and modified to support the additional LEDs, the
LED colors, and a few changes in the GPIOs.

Firmware can be flashed on these units by the following method:
1.) Apply power to the unit
2.) Immediately AFTER applying power, hold down the reset button
3.) The WAN, LAN, and wireless lights will flash - wait three seconds
(three flashes) and then release the button.
4.) After a second, the lights will "flutter" quickly and the unit will
be visible at 192.168.1.1. A web page will be available to enable quick
and simple uploading and flashing of firmware.

During the boot process, these units also look for a tftp server at
192.168.1.10. If one is present, the firmware can be uploaded as a file
called "firmware-auto.bin"

Signed-off-by: bmoffitt@bmoffitt.com <bmoffitt@ayrstone.com>
@dedeckeh dedeckeh added the ar71xx label Dec 7, 2017
@pepe2k
Copy link
Member

pepe2k commented Dec 12, 2017

Hi @bmoffitt,

I'm closing this one as you have sent the same patch to the lede-dev mailing list: http://patchwork.ozlabs.org/patch/845307/. Lets work on it in just one place.

Cheers,
Piotr

@pepe2k pepe2k closed this Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants