all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Timothy Sample <samplet@ngyro.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Guix on the ASUS C201PA
Date: Fri, 15 Mar 2019 13:39:56 -0400	[thread overview]
Message-ID: <87bm2cox3n.fsf@ngyro.com> (raw)
In-Reply-To: <87ef78755h.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 15 Mar 2019 12:23:22 +0100")

Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> Hello!
>
> Timothy Sample <samplet@ngyro.com> skribis:
>
>> I was able to get Guix to boot on an ASUS Chromebook C201PA.  This model
>> of computer is pretty neat.  It’s an ARMv7 (32-bit) machine that can be
>> run with entirely free software.  There is even a free graphics driver
>> in the works [1].
>>
>> I’ve attached a (messy) patch that adds a (hacky) bootloader definition
>> for Depthcharge and a Linux-Libre package that works on the machine
>> (using an unsupported version of Linux-Libre).  All those parenthetical
>> comments are supposed to suggest that this work is not really finished.
>> Now that the computer runs Guix, it should be straight-forward (if time
>> consuming) to fix some of these problems and arrive at something nice.
>
> Impressive work!

Thanks!

> The patch is really not what I expected given the qualifiers you gave
> above.  :-)  It could use more comments to explain what’s going on but
> apart from that it looks rather clean to my eyes.
>
> What do you think would be the best course of action to integrate it?
> Wait for Vagrant to test it and fix a couple of things?  ;-)  Or…?

On the bootloader side, if you are okay with the way it works, then it
is fine.  I would just add some comments.  Most importantly, I would
want to write somewhere that it is okay for the bootloader installer to
make use of the configuration file.  Beyond that, there are some
improvements that could be made, but they can come later.  For instance,
we could automatically roll-back one generation if booting fails.

For the kernel, the patch currently uses an unsupported version of
Linux-Libre, which is not great.  I checked that we can switch to the
4.19 version developed by the PrawnOS project.  However, they say that
Wi-Fi is broken on that branch (I don’t have a dongle yet, so I don’t
know).  Parabola has a working 5.0 kernel, but I’ve found that their
configuration is not as reliable as the PrawnOS one (it fails to boot
sometimes).  Ideally, we could figure out which configuration options
and patches are necessary and just augment what we already do, rather
than having a completely separate kernel package.  I’ve tried getting
there by trial and error, but that’s exhausting.  I’m hoping Vagrant’s
setup with the USB serial console will help, but I haven’t tried it yet.

In short, I would rather not rely so closely on what PrawnOS is doing.
It would be better to follow their approach loosely while using our own
kernel versions and configurations.  Does that make sense?


-- Tim

      reply	other threads:[~2019-03-15 17:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-06  7:20 Guix on the ASUS C201PA Timothy Sample
2019-03-06  8:59 ` Vagrant Cascadian
2019-03-06 14:33   ` Timothy Sample
2019-03-10  2:42     ` Vagrant Cascadian
2019-03-17  6:47       ` Vagrant Cascadian
2019-03-17 15:20         ` Timothy Sample
2019-03-18  5:38           ` Vagrant Cascadian
2019-03-19  7:22             ` Danny Milosavljevic
2019-03-23 16:33             ` Ludovic Courtès
2019-03-23 19:10               ` Mark H Weaver
2019-03-23 21:04               ` Vagrant Cascadian
2019-03-24 18:19                 ` Vagrant Cascadian
2019-03-06 12:02 ` swedebugia
2019-03-06 15:46 ` mikadoZero
2019-03-15 11:23 ` Ludovic Courtès
2019-03-15 17:39   ` Timothy Sample [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bm2cox3n.fsf@ngyro.com \
    --to=samplet@ngyro.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.