From 68d2a93ae100ea2a4633233bf3ff7ef984cbb5af Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 12 Sep 2012 20:03:56 +0200 Subject: updates, partial design doc --- Index.page | 6 +- design/hardware.page | 1185 ++++++++++++++++++++++++++++++++++++++++++++++++++ design/overview.page | 137 ++++-- 3 files changed, 1298 insertions(+), 30 deletions(-) diff --git a/Index.page b/Index.page index 4601e75..dea84aa 100644 --- a/Index.page +++ b/Index.page @@ -7,8 +7,10 @@ the **[home page](http://rooter.is/)**. Feel free to create an account, but note that the connection is NOT secure. See the links to the left for help; the kdefault syntax is markdown, and the -wiki can export to many formats. There is also a mailing list, you can sign up -and browse the archives [here](http://mailman.rooter.is/mailman/listinfo/talk). +wiki can export to many formats. + +There is also a mailing list for general discussion, you can sign up and browse +the archives [here](http://mailman.rooter.is/mailman/listinfo/talk). # Proposed System Design diff --git a/design/hardware.page b/design/hardware.page index 262c359..642c23a 100644 --- a/design/hardware.page +++ b/design/hardware.page @@ -27,3 +27,1188 @@ and cost at the 1k or 10k production batch size: - status LEDs and drivers (PWM from SoC?) - reset button - power switch + +## BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Subsystem +

+
+

What +

+
+

MFG +

+
+

MPN +

+
+

Qty +

+
+

Cost @1k +

+
+

Total +

+
  +
+

Core +

+
+

ARM SoC +

+
+

Freescale +

+
+

I.MX6 +

+
+

1 +

+
+

$22.00 +

+
+

$22.00 +

+
  +
  + +

512MB RAM +

+
  +  + +

1 +

+
+

$15.00 +

+
+

$15.00 +

+
  +
  + +

8GB uSD +

+
  +  + +

1 +

+
+

$6.00 +

+
+

$6.00 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
+

Wireless +

+
+

miniPCIe DualBand +

+
+

Intel? +

+
  + +

1 +

+
+

$35.00 +

+
+

$35.00 +

+
  +
  + +

802.15.4 TX/RX +

+
+

TI +

+
+

CC2520 +

+
+

1 +

+
+

$2.50 +

+
+

$2.50 +

+
  +
  + +

miniPCIe slot +

+
  +  + +

1 +

+
+

$2.50 +

+
+

$2.50 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
+

Ethernet +

+
+

GigE PHY +

+
  +  + +

1 +

+
+

$2.00 +

+
+

$2.00 +

+
  +
  + +

Ethernet Jack +

+
  +  + +

1 +

+
+

$1.50 +

+
+

$1.50 +

+
  +
  + +

Switch chip +

+
+

Realtek +

+
+

RTL8366SR-GR +

+
+

1 +

+
+

$10.00 +

+
+

$10.00 +

+
  +
  + +

Ethernet Jacks +

+
+

tyco +

+
+

 5557563-1 +

+
+

1 +

+
+

$5.00 +

+
+

$5.00 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
+

USB +

+
+

USB Host +

+
+

Areva +

+
+

87520-0010BLF   +

+
+

1 +

+
+

$0.40 +

+
+

$0.40 +

+
  +
  + +

USB Mini +

+
+

Molex +

+
+

56579-0576 +

+
+

1 +

+
+

$1.11 +

+
+

$1.11 +

+
  +
  + +

Voltage Protect +

+
+

On semi +

+
+

NCP349MNAETBG +

+
+

1 +

+
+

$1.00 +

+
+

$1.00 +

+
  +
  + +

FTDI +

+
  +  + +

1 +

+
+

$1.50 +

+
+

$1.50 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
+

Power +

+
+

Inductor +

+
+

TDK +

+
+

VLCF5020T-2R2N2R6-3 +

+
+

3 +

+
+

$0.90 +

+
+

$2.70 +

+
  +
  + +

Voltage Protect +

+
+

On semi +

+
+

NCP349MNAETBG +

+
+

1 +

+
+

$1.00 +

+
+

$1.00 +

+
  +
  + +

SoC Pwr +

+
+

TI +

+
+

TPS65217B +

+
+

1 +

+
+

$4.00 +

+
+

$4.00 +

+
  +
  + +

Regulator +

+
+

TI +

+
+

TPS73701DRBR +

+
+

1 +

+
+

$0.95 +

+
+

$0.95 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
+

Other Comp +

+
+

Passives +

+
  +  + +

50 +

+
+

$0.01 +

+
+

$0.25 +

+
  +
  + +

LEDs +

+
+

Dialight +

+
+

598-8170-107F +

+
+

4 +

+
+

$0.05 +

+
+

$0.20 +

+
  +
  + +

Diode +

+
  +  + +

4 +

+
+

$0.10 +

+
+

$0.40 +

+
  +
  + +

microSD slot +

+
  +  + +

1 +

+
+

$1.00 +

+
+

$1.00 +

+
  +
  + +

SD Slot +

+
+

ALPS +

+
+

SCHA5B0200 +

+
+

1 +

+
+

$1.00 +

+
+

$1.00 +

+
  +
  + +

Power Jack +

+
+

CUI +

+
+

PJ-002A +

+
+

1 +

+
+

$0.30 +

+
+

$0.30 +

+
  +
  + +

buffer +

+
+

TI +

+
+

SN74LVC2G07DCKR +

+
+

2 +

+
+

$0.12 +

+
+

$0.24 +

+
  +
  + +

Transistors +

+
  +  + +

3 +

+
+

$0.20 +

+
+

$0.60 +

+
  +
  + +

Button +

+
+

Omron +

+
+

B3U-1100P +

+
+

4 +

+
+

$0.55 +

+
+

$2.20 +

+
  +
  + +

Crystal +

+
+

Epson +

+
+

MC-30632.7680k-A +

+
+

4 +

+
+

$0.30 +

+
+

$1.20 +

+
  +
  + +

Fudge Electronics +

+
  +  + +

1 +

+
+

$2.00 +

+
+

$2.00 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
+

Production +

+
+

6 Layer PCB +

+
  +  + +

1 +

+
+

$8.00 +

+
+

$8.00 +

+
  +
  + +

Assembly +

+
  +  + +

1 +

+
+

$8.00 +

+
+

$8.00 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
  +  +  +  +  +  + +

$0.00 +

+
  +
+

TOTAL +

+
  +  +  +  +  + +

$139.55 +

+
  +
  +  +  +  +  +  +  +  +
  +  +  +  +  +  +  +  +
diff --git a/design/overview.page b/design/overview.page index 262c359..f4ed6e2 100644 --- a/design/overview.page +++ b/design/overview.page @@ -1,29 +1,110 @@ -Below is the best-guess set of features that a rooter hardware device would -include; this is a balance between good functionality, engineering feasibility, -and cost at the 1k or 10k production batch size: - - - Core - - ARM SoC, Freescale i.MX6 - - Power management/regulator IC for SoC - - 512MB RAM - - No onboard FLASH, 8GB+ uSD card - - FRAM chip for routing table persistance - - WiFi - - full-size miniPCIe slot for off-the-shelf dual-band card - - 802.15.4 - - all-in-one stm32w chip, trace antenna (?) - - Ethernet - - GigE switch chip w/ PHY, 5 ports - - 4x LAN jacks with drivers for longer cable runs (w/ LEDs) - - 1x WAN jack - - Power - - 5/12v regulator, ~1amp - - Power connector - - Reverse voltage diode - - USB Host jack - - USB mini jack for UART/JTAG/Mass storage (how? USB2 hub?) - - Second SD or uSD connector (for expansion) - - status LEDs and drivers (PWM from SoC?) - - reset button - - power switch +## Specific Design Goals and Requirements + +**A standard Linux server environment** for hosting applications, meaning that +web applications and most daemons (eg, appropriate to run on a single VPS) do +not have to be specifically re-ported to run on rooter. + +**Simultaneous 200Mbps down, 109Mbps up routed ethernet throughput** between +local and remote ports. This performance ensures that rooter would not limit +the performance of [DOCSIS 3.0](https://en.wikipedia.org/wiki/DOCSIS#Speed_tables) +cable modem connections. + +**No surprises generic router functionality**, meaning that the device should +meet the expectations of non-technical users in it's default configuration: +standard firewall configuration, DHCP and DNS auto-configuration, support for +common upstream authentication mechanisms, configuration via a web interface at +the gateway's IP address. + +**Hardware Hackability**, a vague concept. In this case meaning (at a minimum) +that new firmware can loaded and debugged on the device, and that low-level +electronics can be integrated using standard connections (3.3/5v GPIOs, UARTS, +SPI, ADCs, etc). + +Ability to **participate in alternative networks** like wireless mesh networks +(BATMAN, OLSR, etc), darknets (i2p), or Tor without excessive difficulty. This +may require some network-specific porting and may contra-indicate some other + +**"Line-rate" WiFi routed throughput** (to local or upstream ethernet ports). +For 802.11n this means 150Mbps for a single 40MHz channel. + +**IPv6 fully supported out-of-the-box.** + +**No reboot reliability** under defaults with "normal usage", meaning that end +users should never have to manually power cycle the device to resolve local or +uplink DHCP or routing connectivity issues. + +**No NDAs, special vendor deals, or binary blobs.** A mostly free/libre +software and hardware stack, reproducable by anybody with capital and +manufacturing facilities. + +**"Internet-of-Things" connectivity** via a low-power IP-based wireless +protocol (eg 802.15.4 6lowpan, ZigBee, Bluetooth Low-Energy, etc). + +## Hardware features + +See [design/hardware]() for specific components and costs. + +- 1GHz dual-core ARM SoC processor +- 512MB+ RAM +- Internal uSD card storage, expandable through SATA and USB ports +- Modular WiFI via miniPCIe slot +- Second USB-only miniPCIe slot for expansion +- 2+ powered USB ports for expansion +- 5x Gigabit ethernet ports: 4x local + 1x upstream +- Serial and JTAG debugging via USB port +- Low-power "internet of things" gateway with 802.15.4 radio +- Hardware entropy generation device + +## Comparison + + + + + + + + + +
Device + Price (est.) + CPU/RAM/Disk + Ethernet Ports + Router? + Server? + Libre? + Hack? +
rooter + $175 + dual 1GHz ARM / 512MB / 8Gb uSD + 5x 1000Mbps + Yes + Yes + Yes + Yes +
FreedomBox (DreamPlug) + $180 + + + +
Raspberry Pi + $35 + + + +
Netgear N600 Router + $90 + + + +
Soekris net6501 + $300+ + + + +
Mesh Potato + $100 + + +
+ -- cgit v1.2.3