Skip to content

A new kernel, the switch driver inside it, and an update that rolls itself back without a gateway

The board now runs the mainline Linux 6.18 kernel, and the Realtek switch is driven by the driver that ships in it. The EEPROM and the clock chip share two pins with the switch and now take turns safely, and an update rolls itself back if the board loses its gateway. Thanks to @danste22 (Daniel) for the kernel port (#85), building on upstream work by Sven Rademakers and Sam Edwards.

Firmware v2.51.0, 20 November 2026. Every item below is the repository's own changelog entry, taken apart; the whole entry is a click away under each one.

The promotion gate also requires ge0 and ge1, a readable EEPROM and a bound RTC driver

Section titled “The promotion gate also requires ge0 and ge1, a readable EEPROM and a bound RTC driver”

After a new image boots, the switch, the EEPROM and the RTC now share two pins, so a broken hand-over between them has to stop the update.

The whole entry

Interfaces are checked for existence, never for carrier: a board with an uplink unplugged still passes.

The promotion gate also requires the default gateway to answer again, if it answered when the update was staged

Section titled “The promotion gate also requires the default gateway to answer again, if it answered when the update was staged”

osupdate (so both tpi-selfupdate and an upload through the web interface) now runs /sbin/stage-gateway-note, which records the default gateway and whether it answered a ping in /mnt/overlay/staged-gateway.

The whole entry

On the tentative boot the gate retries for up to 60 s and rolls back if the gateway stays silent, so a switch driver that probes but carries no traffic can no longer make a board permanent and unreachable. A board with no gateway, or one that never answered, is not blocked. The check needs the staging tools of the image that is running, so it first protects the update after the one that installs it.

  • Linux 6.18.63 LTS and the mainline rtl8365mb switch driver over SMI, by @danste22 (#85), thanks! The kernel moves from 6.12.109 to 6.18.63.

    The whole entry

    The Realtek switch is now driven by the mainline rtl8365mb code (VLAN, FDB and bridge offload, backported commit by commit) on a GPIO SMI bus, and a new arbiter, written by @danste22, shares the two pins with the EEPROM and the RTC. The node power rails still hold across a BMC reboot through a rewritten preserve-boot-state patch. The default flat br0 behaviour is unchanged. It ran on a board for 30 minutes as v2.51.0-rc.1 before this release. The hardware LAG patches of #79 are not part of it and follow in a separate change.

    Credit where it is due: the preserve-boot-state patch builds on work by Sven Rademakers, and the RTL8370MB-CG chip row, the mv64xxx bus-error fix and the Turing Pi 2 GPIO aggregator compatible on work by Sam Edwards, all from turing-machines/BMC-Firmware; the PWM fan driver is Aleksandr Shubin's and the switch driver is mainline Linux by its authors, Alvin Šipraga and Luiz Angelo Daros de Luca. Copyright lines are kept.


Every release of the firmware · the roadmap · follow by feed

Last updated: