Bering-uClibc 5.x

From bering-uClibc
Jump to: navigation, search

Overview

Bering-uClibc is one of the branches of the LEAF (Linux Embedded Appliance Framework) project, delivering on LEAF's ambition to provide a secure, feature-rich, customizable embedded Linux network appliance for use in a variety of network topologies. Although it can be used in other ways, its primary goal is as a Internet gateway, BRAS, router, firewall and wireless access point.

Main Features

The key characteristics of Bering-uClibc 5.x are:

  • Based on a recent long-term release of the Linux Kernel.
  • Targeted to run on industry standard devices even with non-x86 processors.
    QEMU ARM Screenshot
    Bering-uClibc 5.0-prealpha running on an emulated ARM processor
  • Designed to perform well on relatively low-specification hardware. In particular:
    • The system runs from an in-memory filesystem. Disk storage is only required for booting and for storing configuration settings.
    • The uClibc C library is used in place of the GNU C Library since uClibc is much smaller in size.
    • Considerable use is made of BusyBox utilities as replacements for larger applications.
  • Focussed on providing excellent networking facilities.
  • Designed to have high fault tolerance:
    • There are no writes on HDD/flash during work (except saving configurations during maintenance) - so a power failure will not break file system.
    • Corrupted/erased config file, or even 'rm -rf /' isn't a problem - changes are stored permanently only when user requires that, and reboot will restore all as it was before.
    • Enabled by default watchdog, reboot on kernel panic and kernel soft-lockup detection will help to have minimum downtime of router.
    • Backup scripts will help to restore system state on storage failure/operator mistake.

Development History

Bering-uClibc 5.x is basically Bering-uClibc 4.x brought up to date with the latest versions of the main software components and with reworked toolchain. Bering-uClibc 5.0 provides in particular:

  • a reworked Toolchain to support 'true' cross-compilation
  • gcc update to 4.6.3.
  • The Linux kernel has been upgraded from 2.6.35 to 3.4.x (current 4.0 version uses longterm 2.6.35 kernel branch).
  • The uClibc library is upgraded from 0.9.30 to 0.9.32.

The main advantages are:

  • Kernel-mode PPTP/L2TP/PPPoE server (accel-ppp) which is 'all-in-one' powerful BRAS daemon with shaper like BSD's mpd.
  • Possibility to build binaries for any target platform which supports Linux

First commit into new git branch (updated toolchain) was made by Nitr0man in October, 29 2011. In November 2011 most packages were updated, to correctly assemble with the new toolchain. A first, working minimal system image was also assembled in November 2011. First release of 5.0 branch, 5.0-alpha1, was released at November, 10 2012.

Version 5.0 was released in June 2013.

The last maintenance release for the 5.0 series was Bering-uClibc 5.0.5 released in August 2014.

Bering-uClibc 5.1 is a major update for Bering-uClibc 5.0 brought up to date with the latest versions of the main software components. In particular:

  • gcc has been updated to 4.8.3.
  • The Linux kernel has been upgraded to 3.10.x.
  • The uClibc library is upgraded from 0.9.32 to 0.9.33.2.

Version 5.1 was released in August 2014.

The last maintenance release for the 5.1 series was Bering-uClibc 5.1.7 released in September 2015.

Bering-uClibc 5.2 is a major update for Bering-uClibc 5.1 brought up to date with the latest versions of the main software components. In particular:

  • gcc has been updated to 4.8.4.
  • The Linux kernel has been upgraded to 4.1.x.
  • perl has been updated to 5.20.x

Version 5.2 was released in September 2015.

The last maintenance release for the 5.2 series was Bering-uClibc 5.2.8 released in October 2016.

Version Changelog

Known Issues

Further Documentation

For further information see: