Designing my own high-end router: the block diagram.

Designing my own high-end router: the block diagram.

Building a 10 GB Router: PCB Planning

Introduction to the Project

  • The speaker introduces the project of creating a 10 GB router from scratch, emphasizing the importance of planning.
  • A blog diagram will be sketched out to outline specifications and features, including CPU choice.

Router Specifications

  • The router is planned to have at least two 10 GB capable ports (one RJ45 and one SFP+), although initially three were considered.
  • The chosen CPU supports four gigabit ports, with RAM set at 8 GB and storage at 64 GB to meet open-source firewall requirements.
  • A critical requirement is that the router must handle at least a gigabit of intrusion detection and prevention for security purposes.

CPU Selection

  • The selected CPU is the Layerscape 1046A by NXP, priced around $73, which meets all specified requirements.
  • Comparisons are made with Intel CPUs like N95 or N100; Layerscape is preferred due to cost-effectiveness and built-in Ethernet interfaces.

Design Considerations

  • The speaker discusses potential flexibility in chip selection based on audience feedback but emphasizes current focus on the blog diagram.

Understanding Blog Diagrams

  • A blog diagram represents system components as blocks connected by lines showing their relationships.
  • The first component discussed for inclusion in the diagram is the CPU, followed by power delivery needs.

Power Requirements

  • Power delivery (PD), not PSU, will be used since an external power brick suffices; the CPU consumes about 15 watts under full load.

Clock Generators

  • Two clock generator chips are needed: a real-time clock (RTC), oscillating at 32,768 kHz for time reference, and a base clock generator operating at 100 MHz for coordination between components.

Memory and Storage Types

Understanding Solid State Drives and Embedded Systems

Introduction to Solid State Drives

  • Most modern solid-state drives (SSDs) are likely present in your computer, and upgrading to one is recommended for better performance.
  • Unlike NAND flash used for operating system storage, NOR flash is typically smaller and primarily utilized for boot code, akin to BIOS functionality.

Assembling an Embedded Device

  • The current assembly includes a CPU, power supply, clocks, memory, and storage; however, it lacks peripherals.
  • The speaker humorously discusses the pronunciation of "router" and invites viewers to share their own pronunciations in the comments.

Adding Networking Components

  • The design process will now focus on integrating ports into the device layout, starting with 4 GB ports followed by a 10 Gbit port.
  • Magnetics play a crucial role in electrical isolation between components; transformers transfer energy without direct contact while providing EMI shielding.

Media Independent Interfaces (MII)

  • MII allows various devices to connect regardless of type; this concept is similar to how household sockets function with different appliances.
  • MAC addresses originate from media independent interfaces and represent Layer Two in the OSI model above the physical layer.

Converting Ethernet Frames

  • A chip known as "Phi" converts Ethernet frames from Layer Two signals into electrical signals at Layer One.
  • Two F chips will be used: one for the 4 GB ports (which can be combined into one chip), and another for the 10 Gbit port that requires no additional chip due to integrated features.

Ensuring Signal Integrity

  • A retimer chip ensures high-speed signals from the CPU remain clean before entering SFP+ modules for long-distance transmission.

Powering and Connecting Peripherals

  • Three USB Type-C connectors will be added: one for power (5 volts), another as a console port using UART technology, and a third as a standard host port for USB drives.

Conclusion of Design Process

  • The console port enables terminal access via USB-C on Mac systems using screen commands similar to SSH connections on Linux servers.
Video description

👉 Pricing form you should fill out: https://research.typeform.com/to/KegRLBkD Currently planned specs for this router: - 4-core ARM CPU 1.6GHz (NXP Layerscape LS1046A) - 8GB RAM (Micron) - 64GB eMMC (Micron) - 4x 1GbE (Marvell) - 1x 10GbE RJ-45 (Marvell) - 1x 10GBe SFP+ - microSD slot - mPCIe port Links mentioned in the video: ➡️ Media-independent interface: https://en.wikipedia.org/wiki/Media-independent_interface ➡️ Transformer: https://en.wikipedia.org/wiki/Transformer ➡️ OSI model #1: https://en.wikipedia.org/wiki/OSI_model ➡️ OSI model #2: https://www.cloudflare.com/learning/ddos/glossary/open-systems-interconnection-model-osi/ ➡️ NAND and NOR flash: https://en.wikipedia.org/wiki/Flash_memory Chapters: 0:00 - Intro 0:32 - Requirements 2:05 - CPU choice 3:49 - Block diagram 4:12 - CPU block 4:49 - Power delivery block 5:14 - Clocks block 6:41 - Memory block 6:57 - Storage block 7:41 - Recap 8:19 - RJ-45 and SFP+ block 8:39 - Magnetics block 9:31 - PHY block 11:07 - Retimer block 11:26 - Type C block 12:36 - Pricing survey 👉 Follow me on Instagram: https://www.instagram.com/tomazzaman/ ==================================================== Video gear I use to make these videos: - Camera: Sony a7 IV (https://amzn.to/48Vj9L9) - B Camera: Sony a6400 (https://amzn.to/3QhgkwB) - Lens: Sony 20mm f1.8 (https://amzn.to/48Vj9L9) - B Lens: Sony 16-55mm f2.8 (https://amzn.to/3Qg69si) - Key Light: Amaran 100D (https://amzn.to/3Qhy2PF) - Modifier: Aputure Light Dome SE (https://amzn.to/45yBDyi) - Top Light: Falcon Eyes RX-18TD (https://amzn.to/3RWmgfX) - Fill Light: Amaran T4c (https://amzn.to/3s03sln) - Kicker Light: Amaran B7c (https://amzn.to/4943Sro) Audio Gear: - Mic: Neumann KM185 (https://www.thomann.de/intl/neumann_km185_mt.htm) - Preamp: Grace Design m101 (https://www.thomann.de/intl/grace_design_m101_preamp.htm) - Interface: RME Babyface Pro FS (https://www.thomann.de/intl/rme_babyface_pro_fs.htm)