Libre Devuan for the Asus C201
Dima Krasner 148df07688 Changed the NTP servers to the global ones | 6 gadi atpakaļ | |
---|---|---|
devsus | 6 gadi atpakaļ | |
dl | 6 gadi atpakaļ | |
.gitignore | 6 gadi atpakaļ | |
.travis.yml | 6 gadi atpakaļ | |
AUTHORS | 7 gadi atpakaļ | |
COPYING | 7 gadi atpakaļ | |
Dockerfile | 6 gadi atpakaļ | |
README.md | 6 gadi atpakaļ | |
cmdline | 6 gadi atpakaļ | |
config | 6 gadi atpakaļ | |
devsus.sh | 6 gadi atpakaļ | |
kernel.its | 7 gadi atpakaļ |
_
__| | _____ _____ _ _ ___
/ _` |/ _ \ \ / / __| | | / __|
| (_| | __/\ V /\__ \ |_| \__ \
\__,_|\___| \_/ |___/\__,_|___/
Devsus is a script that builds bootable, libre Devuan images for the Asus C201 Chromebook, one of the few laptops able to boot and run without any non-free software, all the way down to the firmware level. The C201 is supported by Libreboot.
The images produced by Devsus contain the latest Linux-libre 4.9.x kernel, tuned for small size, good performance and short boot times. This kernel branch has been chosen for its longterm status, which means that freedom-respecting C201 laptops are usable at least until this kernel branch is phased out.
Some features of the Rockchip RK3288 SoC, including built-in WiFi support, require use of non-free software. Therefore, they are unsupported by Devsus. To compensate for that, the Devsus kernel includes support for freedom-friendly devices:
Also, the images contain:
Devsus' root file system is built by a CI/CD flow on Travis CI, after each push to the master branch, or once a week. This file system contains an up-to-date kernel, kernel modules, firmware and Devuan.
The root file system is put in a tarball that is uploaded to GitHub.
In order to run Devsus, one has to unpack this tarball onto an existing bootable media, or produce bootable images.
# ./devsus.sh
This downloads the root file system tarball and creates two Devuan disk images:
To produce a bootable media, write the 2 GB image to a flash drive (of at least 2 GB):
# dd if=$SOMEWHERE/devuan-ascii-c201-libre-2GB.img of=/dev/$DEVICE bs=50M
During the first boot, packages will be installed and configured. Once packages are configured, the login prompt will appear; the root password is blank.
The 2 GB image (yes, the smaller one) contains the larger, 16 GB one under /. This way, it is possible to boot the laptop through USB, then install Devuan persistently without having to download or store the large image separately.
Persistent installation is performed using dd, too:
# dd if=/devuan-ascii-c201-libre-16GB.img of=/dev/mmcblk0
First, create a regular user:
# useradd -m -s /bin/bash user_name_goes_here
# passwd user_name_goes_here
Then, log in as the new user.
To start the graphical desktop:
$ startx
The browser and the terminal are started automatically.
The window manager is controlled using the keyboard:
The special actions of function keys are triggered by pressing them together with the control key.
For a list of all key bindings:
$ man ratpoison
$ cat ~/.xbindkeysrc
Devsus' previous kernel building procedure was based on the linux-veyron package of Arch Linux ARM.
Devsus' workaround for ath9k_htc instability issues has been adopted from PrawnOS and found by SolidHal.
Devsus is free and unencumbered software released under the terms of the GNU General Public License, version 2; see COPYING for the license text. For a list of its authors and contributors, see AUTHORS.
The ASCII art logo at the top was made using FIGlet.