On 25/10/2023 12:18, pozz wrote:
> Do you know of some open hardware that runs officialy openwrt?
>
> I'll try to explain my needs. I have to develop a board that runs Linux
> embedded for a VoIP application.
> I need two Ethernet ports, LAN with active POE (where to connect a VoIP
> phone) and WAN (maybe with passive POE, where to connect a router).
>
> So, the IP traffic could be routed to the external router connected to
> WAN or, internally, to a 4G modem.
>
> So Linux should have three network interfaces: lan, wan and mobile.
>
> It's a platform that seem very similar to a standard 4G router for SOHO
> application, but I need to customize software and hardware (I need to
> control some GPIO and UARTs).
>
These are usually directly accessible on any platform with solid OpenWRT
support - regardless of how esoteric the components are.
> Regarding the software, I could start from openwrt. However I don't know
> how to start with hardware. I saw some cheap platforms that run openwrt
> with schematics, but they usually use esoteric components, such as
> AllWinner or Broadcam CPUs.
>
> The best would be to use a well supported Linux SOM that could simplify
> to custom electronics.
>
> Any suggestions?
For the cheapest SOM's, look for Raspberry Pi compute modules. If you
want something very solid with good long-term support, industrial
reliability and continued production for a decade or more, folks like
Toradex are a good option - but they cost significantly more.
An alternative might be to view the Linux board more flexibly, and have
your base board connected by USB. Put a USB hub chip on it along with a
couple of USB-Ethernet adaptors (combined devices exist, I believe), a
USB 4G modem, and an FTDI 4232H or other FTDI chip (for UARTs and
GPIOs). Then you can use any board running Linux - all the hardware you
need is on your board, and it is all controlled the same way from the
Linux system. USB2 based Ethernet is easily an order of magnitude
faster than you need for VOIP, and none of this needs drivers or OS
support outside of the standard kernel for the last decade or more.