Category:Router

From postmarketOS Wiki

There are three main problems with running pmOS on routers.

Architecture

A lot of routers are based on the MIPS architecture, which isn't supported by pmOS. Fortunately, there are a some RISCV/X86/ARM based routers which pmOS supports.

Unmanaged NAND/NOR (NAND/NOR without controller)

A lot of routers use Unmanaged NAND/NOR as their built in storage. In Linux, MTD(Memory Technology Device) is used to partition them and an MTD aware file system(like UBIFS) is required for use with MTD. partition.Currently, pmOS doesn't support booting from MTD or UBIFS.However it possible to mount ubifs drive on linux.(See UBIFS)

Built in Network switch

Currently There are 2 switch to handling the switches : DSA and swconfig

swconfig

swconfig is a useland component for configure the switches.It is not packaged in pmos.

DSA

DSA is a kernel way for handling switch. Once dsa and the appropriate driver for the switch is enabled in the kernel , the ethernet port that is conected into the switch would show up in `ip a` just like a normal ethernet device.

See also

Ethernet switch driver document

openwrt vlan support

Info on mtd

swconfig on openwrt wiki

Guides for running pmOS on Unmanaged NAND/NOR.

UBIFS