Trying out a mainline kernel on the Turris Omnia

Omnia should boot on mainline kernel. There are three things that still need to be worked on:

  • LEDs driver (this will be done once LED subsystems has RGB LEDs support in the mainline kernel)
  • multiCPU DSA: there are 2 ethernet controllers on CPU connected to the switch. Currently only one is used because mainline kernel DSA subsystem does not support multiCPU yet
  • SFP: mainline kernel does support SFP cage, but hotplugging is not supported because of the way SFP is wired on Omnia. On new TurrisOS this will work by having two device trees and U-Boot choosing which one to use: one will be used if SFP module is detected (armada-385-turris-omnia-sfp.dts) the other if not (armada-385-turris-omnia-phy.dts)

I also want Omnia and Mox to be supported fully by mainline kernel, so that users can install other Linux distributions by simply sticking an installation USB stick and booting it. There was already some work done on the LED driver (see https://www.spinics.net/lists/linux-leds/msg11567.html), but the driver was not accepted and I decided that I will probably wait till the RGB LED class is created.

2 Likes