From GalliumOS Wiki
Revision as of 02:59, 4 February 2017 by Matt Devo (talk | contribs) (Availability Options)

Jump to: navigation, search

Stock (Factory) Firmware

Factory firmware for ChromeOS devices is built for booting ChromeOS. Support for other operating systems is a much lower priority, if it's a priority at all.

The factory firmware on some models works pretty well for booting Linux (most Haswells). Some others have firmware with annoying but tolerable bugs (Broadwells), and some others (Bay Trail, Braswell, ...) are simply broken for any purpose other than ChromeOS.

In addition to fixing factory bugs, custom firmware options can improve other functionality. See below.

Factory Firmware Bugs

  • Haswell
    • PANTHER, ZAKO USB ports non-functional in legacy boot mode / SeaBIOS
      • fixed in custom firmware: MrChromebox (full, RW_LEGACY), John Lewis (full, BOOT_STUB, RW_LEGACY)
    • WOLF non-functional legacy boot mode / SeaBIOS
      • fixed in custom firmware: MrChromebox (full, RW_LEGACY), John Lewis (full, BOOT_STUB, RW_LEGACY)
  • Broadwell
    • (all models?) Early boot display error, can't see GRUB messages (details)
      • fixed in custom firmware: MrChromebox (RW_LEGACY)
  • Bay Trail
    • (all models) Legacy boot capability (SeaBIOS) not included
      • fixed in custom firmware: MrChromebox (Full ROM, BOOT_STUB, RW_LEGACY), John Lewis (BOOT_STUB, RW_LEGACY)
  • Braswell
    • (all models) Legacy boot capability (SeaBIOS) not included
      • WIP: John Lewis (RW_LEGACY)
      • fixed in custom firmware: MrChromebox (RW_LEGACY)
  • Skylake
    • CHELL, others?: Stock Legacy boot support functional, but video resolution sub-optimal, screen redraws slow.
      • fixed in custom firmware: MrChromebox (RW_LEGACY)

TODO expand and improve

Custom Firmware

The stock/factory firmware on some Chromebooks and Chromeboxes contains a legacy boot payload (RW_LEGACY) capable of running Linux out of the box; however, many ChromeOS devices, particularly those with BayTrail/Braswell CPUs, do not include this capability stock and must use a 3rd party firmware update in order to run GalliumOS (or any other OS).

Three types of custom firmware updates are available (though not all types are available for every device):


    • Updates/replaces the stock legacy boot payload (SeaBIOS) included on many models; supplements the ChromeOS / secure boot payload (BOOT_STUB)
    • Leaves all stock functionality intact, including the developer mode boot (white "OS verification is OFF") screen
    • Allows device to dual-boot GalliumOS alongside ChromeOS
    • Does not require disabling the firmware write-protect
    • Carries zero risk of bricking the device
    • On some models, includes bugfixes and enables additional functionality
    • Replaces the ChromeOS verified boot payload with a legacy boot payload (SeaBIOS)
    • Removes the developer mode boot (white "OS verification is OFF") screen
    • Requires the firmware write-protect screw to be removed
    • Removes the ability to run ChromeOS, creating a small risk of bricking your device
    • Leaves the recovery mode (ESC + REFRESH + POWER) functionality of the stock ROM intact
      • If you engage this key sequence, device will reboot and try to run ChromeOS Recovery (which will fail)
      • This process will repeat on every boot until you disassemble the device and briefly disconnect the battery
  3. Full Firmware / ROM
    • A complete firmware image which replaces the hardware init component (coreboot) and payload components (BOOT_STUB, RW_LEGACY) of the stock firmware with updated and/or customized versions of coreboot and SeaBIOS (legacy) or Tianocore (UEFI)
    • Removes the developer mode boot (white "OS verification is OFF") screen
    • Removes the ability to run ChromeOS, creating a small risk of bricking your device
    • Offers the best support for booting all OSes besides ChromeOS (including Windows).
    • On many models, adds full hardware support for virtualization (vmx / VT-x)
    • Fixes many bugs and/or idiosyncrasies associated with the stock firmware (but could potentially add new ones)
    • Essentially turns your ChromeOS device into a "regular" PC / laptop

Availability Options

Check Hardware Compatibility and the appropriate Support page to determine the status of your model.

There are several custom firmware options available, depending on your Chromebook/box model class, and the features you require:

MrChromebox John Lewis
Pineview No No
Sandy/Ivy Bridge Full Firmware [UEFI,Legacy] (PARROT, STUMPY)
Full Firmware [Legacy] (some models)
Haswell Full Firmware [UEFI,Legacy] (all)
Full Firmware [Legacy] (some models)
Broadwell Full Firmware [UEFI,Legacy] (all)
Bay Trail Full Firmware [UEFI] (all)
BOOT_STUB (some models)
Braswell RW_LEGACY (all) RW_LEGACY (some models)
Skylake RW_LEGACY (all) No
notes • Easy Install via the Firmware Utility Script
• Offers both UEFI and Legacy boot support for many models
• Fixes factory firmware bugs
• Built using latest upstream sources
• Headless boot support for servers (legacy only)
• PXE booting support (legacy only)
• UEFI firmware fully supports Windows as well as Linux
• Supports integration of Kodi Media Center
Firmware source/build scripts and payload source
• Fixes factory firmware bugs
• Only supports booting Linux
• Firmware build scripts not published
• Not actively developed or supported
Download/Install Download/Install

Firmware and NVRAM Flags

Both the crossystem and GBB flags listed below are only relevant when booting legacy mode via RW_LEGACY (CTRL+L on dev mode boot screen); they do not have any effect when using custom BOOT_STUB or full firmware.


ChromeOS System (crossystem) flags are firmware level settings which are stored in volatile memory, and are therefore lost/reset if the battery on your Chromebook is fully drained or disconnected; they do not require firmware write protect to be disabled in order to set/unset them.

The dev_boot_legacy flag needs to be set (=1) in order to enable legacy booting (and installation/booting of GalliumOS). Most users do not need to set this manually, as it is set automatically when installing a RW_LEGACY firmware payload, but should be aware that it can be unset via battery drain/disconnect. This can be problematic if GalliumOS is the only OS installed on the system (as it would require the user to restore ChromeOS to re-enable legacy booting), and so it is recommended that users who are not dual-booting set the GBB flags below to ensure legacy boot capability is not "turned off" if battery power is lost.

Note: many other sources mistakenly insist that dev_boot_usb needs to be set as well, but it does not - that flag only enables booting ChromeOS (or an OS with a ChromeOS-signed kernel) via CTRL+U on the developer mode boot screen; it has nothing to do with booting from USB in legacy boot mode (CTRL+L).

GBB Flags

Google Binary Block (GBB) flags are firmware level settings stored directly in the firmware flash chip itself in a read-only (RO) area, and so require the firmware write protect screw to be removed before setting. The GBB flags are used to set the default boot mode (ChromeOS or legacy boot), developer mode boot screen timeout (2s or 30s), prevent exiting developer mode via spacebar, and to enable legacy booting regardless of crossystem setting, among other things.

Most users should not attempt to set these manually, but instead use MrChromebox's ChromeOS firmware utility script to set them based on their preferred default boot mode and boot timeout (the script automatically sets the dev mode and legacy boot mode overrides for all options except factory default). For those curious, a full description of all the GBB flags can be found in the Google source code here