# Mobile NixOS February 2020 round-up: graphical boot selection and project updates

DevFeed: [Mobile NixOS February 2020 round-up: graphical boot selection and project updates](<https://devfeed.tech/articles/february-2020-round-up-32459.md>)

Original publisher: [Read original article](<https://mobile.nixos.org/news/2020-03-03-february-2020-round-up.html>)

Author: Samuel Dionne-Riel

Published: 2020-03-03T00:00:00Z

Content type: news

Language: en

Sources: [Mobile NixOS news](<https://devfeed.tech/sources/mobile-nixos-news.md>)

Topics: [GUI](<https://devfeed.tech/topics/gui.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Library](<https://devfeed.tech/topics/library.md>), [mruby](<https://devfeed.tech/topics/mruby.md>), [Boot Process](<https://devfeed.tech/topics/boot-process.md>), [Simple DirectMedia Layer](<https://devfeed.tech/topics/sdl.md>)

Tags: [boot-process](<https://devfeed.tech/tags/boot-process.md>), [gui](<https://devfeed.tech/tags/gui.md>), [library](<https://devfeed.tech/tags/library.md>), [linux](<https://devfeed.tech/tags/linux.md>), [news](<https://devfeed.tech/tags/news.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [sdl](<https://devfeed.tech/tags/sdl.md>), [simulator](<https://devfeed.tech/tags/simulator.md>), [update](<https://devfeed.tech/tags/update.md>)

## AI overview

The February 2020 Mobile NixOS update reports three merged pull requests and four new projects in the organization. It highlights a working graphical boot selection for Mobile NixOS platforms, built with LittlevGL and mruby bindings, while noting that it is not yet a feature-complete generic bootloader replacement.

## Source excerpt

This update is the fourth in a series of regular updates on the state of the project. Only changes that have been accepted and merged in Mobile NixOS are chronicled here. There's always more work currently in-progress. Notable changes 3 PRs were merged during the month. This is not cheating, the last merged PR was merged late on the 29th. This is not development slowing down. Far from it. Four new projects were added to the Mobile NixOS GitHub organization related to this month's work. Keep on reading. Graphical boot selection Hot on the heels of the re-written init, and as teased, a working graphical boot selection is now available for Mobile NixOS platforms. There is more than meets the eye in pull request #80. To make this possible, a GUI toolkit of relatively small weight has to be found. After some research, it was found in the LittlevGL library. While it is geared more towards actual embedded development, it does have a Linux framebuffer backend, support for evdev input. This is all standard stuff that is well supported on all targets. What is really nice with that library is it also supports a "simulator" target, which is basically an SDL window. With that said, I personally don't want to write C, especially in complex use cases. I already worked on mruby integration for the Mobile NixOS stage-1. It was only natural to write mruby bindings for LittleVGL. With all the exposition done. What does this look like? The header image of this news post is composed of four devices running the GUI. An actual screenshot of the GUI follows, for better clarity. This is not a feature complete generic replacement for a bootloader. Though, it can become one when kexec support is added in the future. Additionally, as touched upon in the pull request, these bindings will allow us to improve the graphical boot process. In a future improvement we'll be able to add information about the current running step, and better failure state reporting. Ports No new port were made in Februa