Skip to content

Commit 80753d5

Browse files
committed
New post
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent 1ecdf4a commit 80753d5

File tree

5 files changed

+107
-0
lines changed

5 files changed

+107
-0
lines changed

_posts/2024-08-13-router-boards.md

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
title: Infix Compatible Boards
3+
author: troglobit
4+
date: 2024-08-13 10:06:42 +0100
5+
categories: [showcase]
6+
tags: [boards]
7+
---
8+
9+
Much thanks to the solid foundation curated by [Buildroot][1], Infix can
10+
quite easily be ported to any system that that supports Linux. The only
11+
real hardware requirement is "enough" RAM and storage, and if the board
12+
has a built-in switch, that it is supported by switchdev.
13+
14+
Currently the following boards are fully supported. Other boards have
15+
been known to work, but have not been updated or tested continuously.
16+
17+
- [Marvell CN9130][7] CRB (ARM)
18+
- [FriendlyELEC NanoPi R2S][9] (ARM)
19+
- [StarFive VisionFive2][8] (RISC-V)
20+
- [Qemu][0] (x86_64)
21+
22+
> Although not really a "board", Qemu can be quite useful for anyone who
23+
> just want to understand what Infix is. All releases, as well as the
24+
> [*latest*][2] (nightly) builds, have an x86_64 image that can be run
25+
> on any Linux PC with Qemu installed.
26+
27+
28+
### Marvell CN9130 CRB
29+
30+
This *Customer Reference Board* is really expensive and not really
31+
suited to everyone, even if you can get hold of one (!), but it remains
32+
*the* main reference for Infix so far and has seen multiple customer
33+
specific board spin-offs.
34+
35+
![](/assets/img/cn9130-crb.png){: #fig1}
36+
_**Figure 1**: Marvell CN9130 CRB._
37+
38+
The CN9130 is a quad-core Cortex-A72 coupled with a Marvell 88E6393X
39+
11-port switchcore (one port connected to the SoC). Only 9 of the
40+
remaining switch ports are accessible, however.
41+
42+
Thanks to Linux switchdev, when Infix runs on this board, all bridging
43+
(switching) configuration, including VLANs, is fully offloaded to the
44+
switchcore. Allowing full wirespeed switching between switch ports.
45+
46+
47+
### FriendlyELEC NanoPi R2S
48+
49+
In stark contrast to the CRB, the tiny little R2S is *very* cheap and
50+
available from many sources. It's nowhere near as powerful, of course,
51+
but gives you much bang for [the buck][5]!
52+
53+
![](/assets/img/nanopi-r2s-board.png){: #fig2}
54+
_**Figure 2**: NanoPi R2S._
55+
56+
Only two 1 Gbps Ethernet ports and no WiFi (on this version), and the
57+
SoC is "only" a quad-core Cortex-A53. Still, considering its size and
58+
cost, a very capable little device.
59+
60+
Infix supports *all* features of this device:
61+
62+
- routing between interfaces
63+
- usb port, for storage/logging
64+
- reset button, incl. factory reset at power-on
65+
- system LEDs to indicate bootup, factory-reset, and operating mode
66+
67+
The board has become so popular that they've now made an R2S *Plus* with
68+
onboard eMMC, and WiFi over SDIO. Support for the Plus is coming very
69+
soon to Infix.
70+
71+
![](/assets/img/nanopi-r2s-overview.jpg){: #fig3}
72+
_**Figure 3**: NanoPi R2S Plus Overview of functions._
73+
74+
> There are also spin-offs on the same theme with more powerful CPUs and
75+
> 2.5 Gbps Ethernet. All of which could easily be supported as well on
76+
> Infix with a little bit of time and patience.
77+
78+
79+
### StarFive VisionFive2
80+
81+
One of the most exciting things to witness, over past decade or so, is
82+
the rise of RISC-V. StarFive decided to make a follow-up to the first,
83+
very popular VisionFive, with a bit more powerful CPU, quad-core U74
84+
called [JH7110][3], yet keeping with the values of the original. Not as
85+
cheap as the R2S, it still brings a [lot of value][6].
86+
87+
The board is actually very similar to the RaspberryPi family, with the
88+
distinct difference of having two Ethernet ports, making it suitable
89+
for use as a home network router.
90+
91+
![](/assets/img/visionfive2-overview.png){: #fig4}
92+
_**Figure 4**: StarFive VisionFive2._
93+
94+
Infix supports only a subset of all the features of this board. As
95+
always, the focus is on networking, but [PoE][4], eMMC support, and
96+
the M.2 slot stand out as candidates for exploration.
97+
98+
[1]: https://buildroot.org
99+
[2]: https://github.com/kernelkit/infix/releases/tag/latest
100+
[3]: https://www.cnx-software.com/2022/08/29/starfive-jh7110-risc-v-processor-specifications/
101+
[4]: https://bootlin.com/blog/power-over-ethernet-poe-support-into-the-official-linux-kernel/
102+
[5]: https://www.aliexpress.com/w/wholesale-nanopi-r2s-metal-case.html?spm=a2g0o.detail.search.0
103+
[6]: https://www.aliexpress.com/w/wholesale-visionfive2.html?spm=a2g0o.productlist.search.0
104+
[7]: https://www.marvell.com/content/dam/marvell/en/public-collateral/embedded-processors/marvell-infrastructure-processors-octeon-tx2-cn913x-product-brief.pdf
105+
[8]: https://doc-en.rvspace.org/VisionFive2/Landing_Page/VisionFive_2/introduction.html
106+
[9]: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2S
107+
[0]: https://www.qemu.org/

assets/img/cn9130-crb.png

744 KB
Loading

assets/img/nanopi-r2s-board.png

293 KB
Loading

assets/img/nanopi-r2s-overview.jpg

138 KB
Loading

assets/img/visionfive2-overview.png

1.33 MB
Loading

0 commit comments

Comments
 (0)