nikolas-n / GNU-Linux-on-Asus-C201-Chromebook

Links and guides about GNU/Linux on Asus C201 (C201P and C201PA) chromebook (veyron_speedy)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GNU/Linux and Asus C201 Chromebook

Here you can find links and guides about installing and configuring GNU/Linux on the Asus C201 (C201P or C201PA) Chromebook (veryon speedy). I do not guarantee that any of them really works. I have noted down what I have tried and what it worked for me. The experience is absolutely personal and I do not (and cannot) claim that any image/distro does not work for another person.

I am trying to gather as much information as possible, so I will also post stuff not necessarily complete like forum posts, because they might be of use for other people.

NOTE: Don't forget that the wifi chipset (BRCM4354) on the C201 needs proprietary drivers, so it's certain that installing a totally libre distribution will not get it working. Either you buy a wifi dongle which works with free drivers (such as the ones with the Atheros AR9271 chipset) or you use the proprietary drivers which can be found in the Chrome OS that the chromebook ships with.

Libreboot

The installation was very straightforward. Disassembling the chromebook was a bit hard, but all in all everything went ok (thanks @paulkocialkowski!).

Installing GNU/Linux distros on the Asus C201 Chromebook (tested and not)

If you want a plug and play image, you can take that from the torrent I'm seeding (you can find the torrent in this repo: ArchLinuxARM-veyron-latest_with-x11-lightdm-mate.tar.bz2.torrent. It's the latest (as of Nov-08-2019) Arch Linux ARM distro where I've installed X11, lightdm and mate. It hasn't been tested yet, so I'm not sure it is working. In any case, you'll still need to have a boot partition, so you should (partly) follow this guide. Good luck!

Good news! You can always boot the chromebook from a USB!

For anybody else having this problem booting from USB on a C201, I was having the same problem. I tried installing debian jessie, debian stretch and arch and wasn't able to boot any of them. Then I realized that if I took out the USB drive and then put it back in and waited about 4-5 seconds, I could Ctrl-U and it would boot. (first I have to Ctrl-H to hold the libreboot screen.)

link to original (Arch Linux ARM forum)

Devsus is a project for installing Libre Devuan (a fork of Debian without the evil systemd) on the machine.

To successfully compile the image, you need to run it on a Devuan machine. I failed to produce the image on my Debian Stretch. Nonetheless, I downloaded the image and dd-ed it to an SD card and this distro works far better than the Arch Linux one; I highly recommend it!

This image (with installation guide) is the Devuan distribution but with a non-free kernel, i.e. the internal Broadcom wifi chip works.

Arch Linux ARM [It works!] [Well... With some modifications now... Details below!]

This guide of installing Arch Linux ARM is for another chromebook, C100P, but it's the only one that worked straight away without absolutely any problem. I installed X, lightdm and MATE and it just works. I haven't yet tested the webcam and the HDMI but will do soon.

Following the same guide now with the latest version of the OS, at the time of writing that is 04-Oct-2019, the boot will hang on Network Services and Create Volatile Files and Directories. To fix that, I just deleted a couple of files and made some other changes... The following:

  • Delete /usr/lib/systemd/system/systemd-networkd.service
  • Delete /etc/resolv.conf
  • Delete /etc/resolvconf.conf
  • Create /etc/resolv.conf and add nameserver 8.8.8.8
  • Delete /usr/lib/systemd/system/systemd-timesyncd.service
  • Change the following line of /usr/lib/systemd/system/systemd-tmpfiles-setup.service :

ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev

to

ExecStart=echo "whatever"

Then you'll be able to boot. To install any package from pacman, you'll need to run

pacman-key --init

pacman-key --populate

Then, you'll have to restore the /usr/lib/systemd/system/systemd-tmpfiles-setup.service to what it was. Before rebooting, also delete the contents of /tmp/*

It will work.

PrawnOS [It Works!] [Compiled images available under "releases"]

Build Debian filesystem with:

  • No blobs, anywhere.
  • Sources from only main, not contrib or non-free which keeps Debian libre.
  • Currently PrawnOS supports xfce and lxqt as choices for desktop enviroment.

Build a deblobbed mainline kernel with:

  • Patches for reliable usb.
  • Patches to support the custom GPT partition table required to boot.
  • Support for Atheros AR9271 and AR7010 WiFi dongles
  • Support for CSR8150 bluetooth dongles

This is a guide to migrate the Arch Linux installation to a Parabola one. Parabola is one of the few FSF endorsed GNU/Linux distributions.

From the Introduction of the page:

While there's a fair bit of documentation on how others have installed Devuan/Arch on this computer, there's very little information in the Gentoo realm on the Asus C201/C100P, other devices with an RK3288 SoC, or ARM Chromebooks in general. This is how I managed to get Gentoo working on the C201. I went the Libreboot route, but that's up to you.

Install Debian Stretch with the debian mainline kernel (not the Chrome OS one), more specifically the kernel 4.9.0-3-armmp-lpae.

I followed the guide with altering just the distro from Jessie to Stretch. Couldn't boot it. I eventually managed to make it work with the kernel from the Arch Linux ARM distro but haven't managed to get wifi to work too yet. Here you can find a discussion related to installing Debian on the machine. This blog of Greg Alexander and in particular this post are also very helpful.

That's just a very interesting forum topic on linuxquestions.org where some people claim that they managed to install Slackware (version 14.1) on the machine. I haven't tried that yet.

From the README.md of the repo:

This repo is a guide on how to install Dragora version 3 on the C201 Chromebook. Some of the things require some GNU/Linux know-how but I will attempt to make it easy to understand. This will not only help you install Dragora but should also help you boot your own modified version of Linux/Linux-libre or any ARM-supported GNU/Linux distributions on the C201.

I haven't tried it but the script provided for the C201 (here) is very helpful in understanding the whole procedure of making an SD work for the chromebook.

You can give it a try. There are instructions only for the ChromeOS kernel, the respective instructions for the mainline one are not yet present.

The Ubuntu MATE team have made an Ubuntu MATE 15.04 root file system image for ARMv7 devices. This root file system is intended for ARMv7 enthusiasts and board manufacturers who'd like to make an Ubuntu MATE image for their device.

(from the repository)

Setting up Linux Distributions

Alsa configuration

Jan Prunk has written a guide on how to setup ALSA on a C201 running Debian (originally Jessie and then update to Stretch) in this blog post. Try also this link, if the previous is unavailable.

About

Links and guides about GNU/Linux on Asus C201 (C201P and C201PA) chromebook (veyron_speedy)