1

Temat: Dwudziestolecie OpenWrt / OpenWrt One

Przecieki przeciekami, ale już można pisać oficjalnie. W tym roku OpenWrt oficjalnie świętuje swoje 20 lecie! więc z tej okazji taka nowina (stąd dział hardware):

tl;dr

In 2024 the OpenWrt project turns 20 years! Let's celebrate this  anniversary by launching our own first and fully upstream supported  hardware design.

If the community likes the idea outlined below in greater details, we  would like to start a vote.

---

The idea

It is not new. We first spoke about this during the OpenWrt Summits in 2017 and also 2018. It became clear start of December 2023 while tinkering with Banana Pi style devices that they are already pretty close to what we wanted to achieve in ’17/‘18. Banana PIs have grown in popularity within the community. They boot using a self compiled Trusted Firmware-A (TF-A)and upstream U-Boot (thx MTK/Daniel) and some of the boards are already fully supported by the upstream Linux kernel. The only nonopen sourcecomponents are the 2.5 GbE PHYandWi-Fi firmware blobsrunning on separate cores that areindependent of the main SoC running Linuxand the DRAM calibration routines which are executed early  during boot.

I contacted three project members (pepe2k, dangole, nbd) on December 6th to outline the overall idea. We went over several design proposals, At the beginning we focused on the most powerful (and expensive) configurations possible but finally ended up with something rather simple and above all,feasible. We would like to propose the following as our "first" community driven HW platform called "OpenWrt One/AP-24.XY".

Together with pepe2k (thx a lot) I discussed this for many hours and we worked out the following project proposal. Instead of going insane with specifications, we decided to include some nice features we believe all OpenWrt supported platforms should have (e.g. being almost unbrickablewith multiple recovery options, hassle-free system console access, on-board RTC with battery backup etc.).

This is our first design, so let's KiSS!


Hardwarespecifications:

* SOC: MediaTek MT7981B
* Wi-Fi: MediaTek MT7976C (2x2 2.4 GHz + 3x3/2x2 + zero-wait DFS 5Ghz)
* DRAM: 1 GiB DDR4
* Flash: 128 MiB SPI NAND+ 4 MiB SPI NOR
* Ethernet: 2x RJ45 (2.5 GbE + 1 GbE)
* USB (host): USB 2.0 (Type-A port)
* USB (device, console): Holtek HT42B534-2 UART to USB (USB-C port)
* Storage: M.2 2042 for NVMe SSD (PCIe gen 2 x1)
* Buttons: 2x (reset + user)
* Mechanical switch: 1x for boot selection (recovery, regular)
* LEDs: 2x (PWM driven), 2x ETH Led (GPIO driven)
* External hardware watchdog: EM Microelectronic EM6324 (GPIO driven)
* RTC: NXP PCF8563TS (I2C) with battery backup holder(CR1220)
* Power: USB-PD-12V on USB-C port (optional802.3at/afPoE via RT5040 module)
* Expansion slots: mikroBUS
* Certification: FCC/EC/RoHS compliance
* Case: PCB size is compatible to BPi-R4 and the case design can be re-used
* JTAG for main SOC: 10-pin 1.27 mm pitch (ARM JTAG/SWD)
* Antenna connectors: 3x MMCX for easy usage, assembly and durability
* Schematics: these will be publicly available (license TBD)
* GPL compliance: 3b. "Accompany it with a written offer ... to give any third party ... a complete machine-readable copy of the corresponding source code"
* Price: aiming for below 100$


How will the device be distributed?

OpenWrt itself cannot handle this for a ton of reasons. This is why we spoke with the SFC early. The idea is that BPi will distribute the device using the already established channels and for every device sold a donation will be made to ourSFC earmarked fund for OpenWrt. This money can then be used to cover hosting expenses or maybe an OpenWrt summit.

SFC is committed to working with us in various ways on this project — including making sure OpenWrt'strademark is properly respected, that this router isabeautiful example of excellent GPL/LGPL compliance, andthatthis becomes a great promotional opportunity for our project and FOSS generally!


FAQ

* Why are there are 2 different flash chips?
- the idea is to make the device (almost!) unbrickable and very easy to recover
- NAND will hold the main loader (U-Boot) and the Linux image and will be the default boot device
- NOR will be write-protected by default (with WP jumper available on the board) and will hold a recovery bootloader (and other essential data, like Wi-Fi calibration)
- a dedicated boot select switch will allow changing between NOR and NAND

* What will the M.2 slot be used for?
- we will use M.2 with M-key for NVMe storage. There is a work-in-progress patch to make PCIe work inside the U-Boot bootloader. This will allow booting other Linux distributions such as Debian and Alpine directly from NVMe

* Why is there no USB 3.x host port on the device?
- the USB 3.x and PCIe buses are shared in the selected SoC silicon, hence only a single High-Speed USB port is available

* What is the purpose of the console USB-C port?
- Holtek UART to USB bridge with CDC-ACM support on USB-C makes the device ultra easy to communicate with. No extra hardware or drivers will be required. Android for example has CDC-ACM support enabled by default

* What MAC OUI will the device have?
- we plan to register an OUI block for OpenWrt which can also be used for other vendor extensions such as Wi-Fi beacon IEs

* What is the purpose of the mikroBUS connector?
- mikroBUS was chosen as we wanted to make the hardware extendable. There are dedicated pins for UART, SPI, I2C buses and RST/INT signals. The standard uses regular 2.54 mm pitch connectors (you can use available mikroBUS modules or just connect to it something else, with 2.54 mm jumper cables)

 * Why have the RTC on board instead of a mikroBUS module?
 - we believe there are many things a Wi-Fi (or networking in general) device should have on-board by default. Always having a correct time on the device is crucial in many applications, like VPN, DNSSEC, …


Timeline of events leading up to this e-mail

Forgive us for the lack of public communication during the initial phase(which as you can see was short and quick). We wanted to ensure that this project is feasible before disclosing it to the community. It would be a real shame if we announced something that we later found out to not be feasible thus failing expectations raised within the community.

03.12 - initial idea
06.12 - ping pepe2k, dangole, nbd
07.12 - ping MediaTek and ask if this sounds doable
08.12 - ping jow, Hauke
08.12 - request for call with SFC, we want them involved as soon as possible
09.12 - MediaTek replies and says they can help
09.12 - ping apacar, ynezz, dwmm2, lynxis, rsalvaterra
12.12 - MediaTek spoke with Banana Pi, they also like the idea
18.12 - call with SFC (Hauke joined, we found no prior slot to talk)
20.12 - started writing the U-Boot PCIe driver, made recovery from USB and android fastboot recovery work.
... and then the end of year celebrations started and not much happened for 2 weeks.
03.01-08.01 - write this text

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

2

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Cekawa idea, choć sam hardware tyłka nie urywa.

GL.iNet GL-MT6000 + 2x AP_Xiaomi AX3000T

3 (edytowany przez shevchenko1987 2024-01-09 14:47:50)

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Zgadzam się z kolegą @artur_n. Idea bardzo dobra tylko wykonanie średnie z tym sprzętem.

Internet: JMDI (1000/200 Mbps) | Router: QNAP QHora-301W | NAS: QNAP TS-233 + 2 x WD RED PLUS 2TB

4

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Ciekawe, choć zaskakuje "ubogość" portów, dwa porty 2.5g były by idealne a tak to w sumie dziwnie. Wydaje mi się, że tu bardziej idzie o "swoja" platformę a nie o najlepszą możliwą.

5

Odp: Dwudziestolecie OpenWrt / OpenWrt One

I na dodatek "tanią". Jak by wykroili coś bardziej uniwersalnego i z większą ilością interfejsów to by wyszło dokładnie coś pokroju banana bpi4 i nie kosztowało by to tylko 100usd. Trudno zaspokoić oczekiwania wszystkich (co już widać jak się dyskusja rozwija dla liście dyskusyjnej); na początek niech to w ogóle zrobią. A później zobaczymy jakie będą następne modele smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Zawsze mogli zrobić wersję budżetową i bardziej wypasioną wtedy każdy by wybrał co mu bardziej pasuje wink

Internet: JMDI (1000/200 Mbps) | Router: QNAP QHora-301W | NAS: QNAP TS-233 + 2 x WD RED PLUS 2TB

7

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Może i o swoją aczkolwiek mogli dać dwa porty 2.5GbE oraz "2-3" 1GbE do tego USB3.0 a jako wisienka na torcie lepsze WiFi choćby
MT7976G oraz MT7976A z większą ilością strumieni.

GL.iNet GL-MT6000 + 2x AP_Xiaomi AX3000T

8

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Meh, dla paru entuzjastów robić płytkę, większość i tak wybierze gotowca albo coś lepiej wyposażonego. Dziś taki mały routerek z portem wan 2.5Gb i 4 portami lan to byłby hit , do tego dwa porty USB 3.0 i fajne wifi  2.4 + 5 + 6 GHz nawet 2x2 . Szkoda zachodu, jak chcą siano na utrzymanie to użytkownicy zrobią dotację i mniej zachodu.

Dom : router https://i.imgur.com/IuB6Zwy.png | TP-LINK T1700G-28TQ |Zyxel XGS-1210-12 | 6x Ruckus r310 unleashed  + Ruckus icx7150-c12p | Truenas scale 124TB 25Gb| Xpenology 12TB | apc smart ups 750 lcd smile 100Mb/s - 25Gb/s
Podróżne : GL.Inet MT3000  +1TB hdd
Działka : rb260gs 1j wdm 1Gb+ ruckus r310 + nb m5 + kilka kamer ip  + panel 285Wp + lifepo4 12v 60Ah .

9

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Zgadza się. Już lepiej wybrać coś ze stajni Bananowca.

Internet: JMDI (1000/200 Mbps) | Router: QNAP QHora-301W | NAS: QNAP TS-233 + 2 x WD RED PLUS 2TB

10

Odp: Dwudziestolecie OpenWrt / OpenWrt One

szykuje się ciekawy projekt , jak zwykle wszystko zależy od ceny  , trochę dziwi tylko 2x RJ45 , trzeba sie zastanowić  BpiR3 kompletny mamy za ok  600zł  wiec   ( czy 200zł  bedzie problemem ? )  - z drugiej strony dostajemy niezłe wifi  + dysk  M.2 NVMe SSD  , i kilka fajnych  rozwiązań np . openwrt do flash  , a Debian do SSD   ( tylko ciekawe  czy bedzie jakis multiboot smile)  . Tak to juz jest nie mozna miec wszystkiego  po tańości  ,

11

Odp: Dwudziestolecie OpenWrt / OpenWrt One

artur_n napisał/a:

Cekawa idea, choć sam hardware tyłka nie urywa.

Bo i nie taki jest zamysł tego konkretnego projektu.

RafalB napisał/a:

Ciekawe, choć zaskakuje "ubogość" portów, dwa porty 2.5g były by idealne a tak to w sumie dziwnie. Wydaje mi się, że tu bardziej idzie o "swoja" platformę a nie o najlepszą możliwą.

Ta "ubogość" wynika z możliwości wybranego SOC, założonego budżetu i rozmiaru obudowy (chcieliśmy uniknąć projektowania nowej o budowy, co wydłużyłoby projekt o kolejne 1-2 miesiące). Drugie zdanie to dobre podsumowanie smile

artur_n napisał/a:

Może i o swoją aczkolwiek mogli dać dwa porty 2.5GbE oraz "2-3" 1GbE do tego USB3.0 a jako wisienka na torcie lepsze WiFi choćby
MT7976G oraz MT7976A z większą ilością strumieni.

Zgoda ale od czegoś trzeba zacząć i zmieścić się w przyjętych założeniach. Więcej portów Ethernet to dodatkowy switch na PCB, więcej interfejsów to wyższy model głównego SOC itd. Zawsze można dołożyć więcej i zazwyczaj można też coś zabrać/ściąć w konfiguracji. Sprzęt ma być otwarty, dostępny i promować projekt OpenWrt.

12

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Zaczekajmy na finał i do testów nabędę egzemplarz ;-)

GL.iNet GL-MT6000 + 2x AP_Xiaomi AX3000T

13

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Tak czy siak, kibicujemy! smile

Internet: JMDI (1000/200 Mbps) | Router: QNAP QHora-301W | NAS: QNAP TS-233 + 2 x WD RED PLUS 2TB

14

Odp: Dwudziestolecie OpenWrt / OpenWrt One

@pepe2k Czy dla 5GHz będzie dostępny kanał 177?

15

Odp: Dwudziestolecie OpenWrt / OpenWrt One

frutis napisał/a:

@pepe2k Czy dla 5GHz będzie dostępny kanał 177?

Będzie certyfikacja FCC i CE, a w Europie chyba z tego kanału nie można korzystać?

16

Odp: Dwudziestolecie OpenWrt / OpenWrt One

pepe2k napisał/a:

Będzie certyfikacja FCC i CE, a w Europie chyba z tego kanału nie można korzystać?

Nie, tylko USA.

17

Odp: Dwudziestolecie OpenWrt / OpenWrt One

frutis napisał/a:
pepe2k napisał/a:

Będzie certyfikacja FCC i CE, a w Europie chyba z tego kanału nie można korzystać?

Nie, tylko USA.

Spróbuję sprawdzić, bo nie wiem czy radio albo elementy dyskretne w torze radiowym nie mają jakiegoś limitu (to jest kanał prawie, że graniczny).

18 (edytowany przez frutis 2024-01-10 13:20:54)

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Tutaj informacja o możliwości użycia tego kanału: https://www.fcc.gov/document/fcc-modern … e-safety-0
Dochodzą 4 kanały: 169, 173, 177 i 181.
Ale 181 chyba nie jest przewidziany pod WiFi.

19

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Znalazłem router który jest sprzedawany z opisem:

Rozszerzone spektrum UNII 4

Router GT-AX11000 Pro został ulepszony, aby zapewnić obsługę rozszerzonego spektrum UNII 4 z wysokowydajnym kanałem 160 MHz w paśmie 5 GHz. Zwiększa to przepustowość łącza do przesyłu wstecznego (backhaul). Ulepsza wydajność sygnału w zakresie roamingu i ogólnego pokrycia przestrzeni sygnałem.

https://www.x-kom.pl/p/1103433-router-a … 4xlan.html

Sam już nie wiem czy te kanały są w Europie dozwolone czy nie.

20

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Dozwolone czy nie , czy jest jakiś sprzęt , na którym da się włączyć to trzecie najwyższe pasmo 160MHz smile
No i czy są klienci to obsługujący....

21

Odp: Dwudziestolecie OpenWrt / OpenWrt One

frutis napisał/a:

Znalazłem router który jest sprzedawany z opisem:

Rozszerzone spektrum UNII 4

Router GT-AX11000 Pro został ulepszony, aby zapewnić obsługę rozszerzonego spektrum UNII 4 z wysokowydajnym kanałem 160 MHz w paśmie 5 GHz. Zwiększa to przepustowość łącza do przesyłu wstecznego (backhaul). Ulepsza wydajność sygnału w zakresie roamingu i ogólnego pokrycia przestrzeni sygnałem.

https://www.x-kom.pl/p/1103433-router-a … 4xlan.html

Sam już nie wiem czy te kanały są w Europie dozwolone czy nie.

Najlepiej sprawdzać tutaj:
https://git.kernel.org/pub/scm/linux/ke … HEAD#n1434

Zakres 5850 - 5895 czyli kanał 175 przy szerokości 40 MHz jest tylko dozwolony w USA, w dodatku: NO-OUTDOOR, AUTO-BW, NO-IR. I to ostatnie jest tu kluczowe, bo w skrócie oznacza brak pracy w trybie AP.

22

Odp: Dwudziestolecie OpenWrt / OpenWrt One

pepe2k napisał/a:

Najlepiej sprawdzać tutaj:
https://git.kernel.org/pub/scm/linux/ke … HEAD#n1434

Zakres 5850 - 5895 czyli kanał 175 przy szerokości 40 MHz jest tylko dozwolony w USA, w dodatku: NO-OUTDOOR, AUTO-BW, NO-IR. I to ostatnie jest tu kluczowe, bo w skrócie oznacza brak pracy w trybie AP.

Synology RT6600ax działa na tych kanałach:
- https://fcc.report/FCC-ID/YOR-RT6600AX/5685839
- https://fcc.report/FCC-ID/YOR-RT6600AX/5685848

23

Odp: Dwudziestolecie OpenWrt / OpenWrt One

frutis napisał/a:
pepe2k napisał/a:

Najlepiej sprawdzać tutaj:
https://git.kernel.org/pub/scm/linux/ke … HEAD#n1434

Zakres 5850 - 5895 czyli kanał 175 przy szerokości 40 MHz jest tylko dozwolony w USA, w dodatku: NO-OUTDOOR, AUTO-BW, NO-IR. I to ostatnie jest tu kluczowe, bo w skrócie oznacza brak pracy w trybie AP.

Synology RT6600ax działa na tych kanałach:
- https://fcc.report/FCC-ID/YOR-RT6600AX/5685839
- https://fcc.report/FCC-ID/YOR-RT6600AX/5685848

No to najwyraźniej NO-IR w połączeniu NO-OUTDOOR ma jakieś dodatkowe znaczenie. Tak czy inaczej, u nas nie wolno.

24

Odp: Dwudziestolecie OpenWrt / OpenWrt One

pepe2k napisał/a:

No to najwyraźniej NO-IR w połączeniu NO-OUTDOOR ma jakieś dodatkowe znaczenie. Tak czy inaczej, u nas nie wolno.

Limits of Operational Restrictions for U-NII 4 Devices

(1) Indoor Access Point. 
An access point that operates in the 5.850-5.895 GHz, is supplied power from a wired connection, has an integrated antenna, is not battery powered,and does not have a weatherized enclosure. Indoor access point devices must bear the following statement in a conspicuous location on the device and in the user's manual: FCC regulations restrict operation of this device to indoor use only.
  (2) Subordinate Device. 
A subordinate device that operates in the 5.850-5.895 GHz band under the control of an Indoor Access Point, is supplied power from a wired connection, has an integrated antenna, is not battery powered, does not have a weatherized enclosure, and does not have a direct connection to the internet.
Subordinate devices must not be used to connect devices between separate buildings or structures.
Subordinate devices must be authorized under certification procedures in part 2 of this chapter.
Modules may not be certified as subordinate devices.
  (3) Client Device. 
A client device whose transmissions are generally under the control of an access point and is not capable of initiating a network

25

Odp: Dwudziestolecie OpenWrt / OpenWrt One

Trochę OT się zrobił, może przenieśmy dyskusję o tym UNII-4 do innego wątku?