/corevantage

A graphical interface to set options on devices with coreboot firmware

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Corevantage

A graphical interface to set options on devices with coreboot firmware.
alt text

Introduction

This is a utility that allows users to view and modify coreboot settings usually accessed with nvramtool or nvramcui. Usage of the application is pretty straight-forward: once the settings have been modified, hit Save and the user will be prompted to reboot the computer. The bios settings will then take effect on reboot. The code for the application has been designed with modularity in mind, in order to port it to many more devices supported by coreboot in the future. As of now, however, it has only been tested to work with the ThinkPad X200 running the latest version of libreboot that can be found at this git repository: https://github.com/JaGoLi/Libreboot-X200-Updated

To get more information about the effects of any individual setting in the application, the user can access the Information window under the Help dropdown menu.

Installation

IMPORTANT: To be able to run this application, the kernel parameter iomem=relaxed must be included in the bootloader configuration.
For grub, it must be in the GRUB_CMDLINE_LINUX parameter of the file /etc/default/grub.

Distribution-Specific Packages (Arch Linux, Ubuntu 20.04 and 21.04)

On Arch-based systems: the user can install the application using an aur helper such as yay:
yay -S corevantage-x200

On Ubuntu-based systems: the user can add a ppa and install the application using apt:
sudo add-apt-repository ppa:mordec13/corevantage
sudo apt update && sudo apt install corevantage-x200

Compilation from source

To compile and run this application, the user needs cmake, the basic qt5 development libraries, and nvramtool
First, the user needs to compile nvramtool:
git clone http://review.coreboot.org/coreboot.git
cd coreboot/util/nvramtool
make -j$(nproc)
sudo make PREFIX=/usr install

Then compile Corevantage by doing as such:
git clone https://github.com/JaGoLi/corevantage.git && cd corevantage
mkdir build && cd build
make -j$(nproc) x200
sudo make install

Donations

If you appreciate this work, and would like to see this application ported to more devices as well as the continued support of libreboot, feel free to donate at this link: PayPal