all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: Timothy Sample <samplet@ngyro.com>, guix-devel@gnu.org
Subject: Re: Guix on the ASUS C201PA
Date: Wed, 06 Mar 2019 00:59:22 -0800	[thread overview]
Message-ID: <87lg1s4bv9.fsf@ponder> (raw)
In-Reply-To: <875zswjwoc.fsf@ngyro.com>

[-- Attachment #1: Type: text/plain, Size: 2283 bytes --]

On 2019-03-06, Timothy Sample wrote:
> 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].

Very excited to try this!

I've been working on getting Debian to work on it for years, and had it
working with linux 4.8.x... and then haven't gotten it working with any
kernel version since. I've very recently been trying to get Archlinux
and Parabola working on it, but haven't gotten very far yet...


> For the bootloader, these machines use Depthcharge.  Depthcharge boots a
> specially packaged and signed kernel image from a specially marked
> partition.  This kernel image is written to the partition directly
> without a file system.

I have two big technical frustrations with Depthcharge:

It's really hard to debug or select alternate kernels when boot is
failing.

The kernel+initrd is limited to ~16MB. linux-libre on armhf is about
5MB, and the initrd around 11MB... so it's running pretty close to that
limit (Debian initrd's are even larger these days). I even increased the
size of the partition to 32MB to see if it would work, but it refused to
boot from anything larger than 16MB.


> There may be a way to improve this by bringing U-Boot into the booting
> process.  The next version of U-Boot (to be released in April) will
> support this machine directly.

My recent renewed interest is actually to test the chromebook_speedy
u-boot target included upstream... but the LCD doesn't work with my
particular C201PA, and there's no simple to access serial console, so
apparently not all variants are supported yet; am working with the
person who added support to u-boot to get that fixed, though.


> Alternatively, if using U-Boot directly causes problems, it’s possible
> that Depthcharge could boot into U-Boot.

That would be interesting to get working, though I'm not sure that's
supported in the current chromebook_speedy target in u-boot. Would be
easier to test (u-boot should fit in 16MB just fine for the forseeable
future!).

Thanks for working on it, and I'll try it out and report back.


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2019-03-06  9:00 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 [this message]
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

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=87lg1s4bv9.fsf@ponder \
    --to=vagrant@debian.org \
    --cc=guix-devel@gnu.org \
    --cc=samplet@ngyro.com \
    /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.