unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Guix System for embedded systems roadmap.
Date: Tue, 17 Mar 2020 10:44:25 +0100	[thread overview]
Message-ID: <87d09bco3q.fsf@gnu.org> (raw)
In-Reply-To: <8736a9lrm6.fsf@gmail.com> (Mathieu Othacehe's message of "Sun, 15 Mar 2020 13:39:13 +0100")

Hello Mathieu,

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

> At Fosdem 2020, I gave a talk about using GNU Guix as an alternative to
> Yocto, focusing on cross-compiling a Guix System. Here's a status and
> my personal roadmap on this topic.

I’m not much of an embedded person, but this looks like a great
application and it’s great to see progress being made!

> * Somehow related to the previous point, producing a disk-image,
>   currently means spawning a virtual machine. This can be very slow, and
>   using --system, we currently emulate the execution of a virtual
>   machine for a foreign architecture.
>
>   I'd like to propose an alternative mechanism which would be faster and
>   not involving virtual machines. Maybe producing the disk-image in a
>   container?

Unfortunately, I don’t think that’s possible.  The reason we resort to
VMs is that the Linux kernel doesn’t allow you, for instance, to mount a
file system without being root.  So doing things like running Parted,
mounting a file system, and populating it typically requires root
privileges.  (In some cases, there are tools like mksquashfs that can do
that from user-space, but it’s very ad-hoc.)

Thoughts?

> * Increase board support catalog, even if it's tricky because many
>   boards need proprietary blobs to boot (such as Raspberry Pis). The
>   effort started by Danny on wip-buildroot could be resumed.

Speaking of which, I’d love to get my A20 OLinuXino running Guix
System.  :-)

I checked what Buildroot had about that board, but I found the
information to be rather scattered and of varying levels of abstraction,
which made it hard to see if there was anything different from what we
do.

Thanks,
Ludo’.

  reply	other threads:[~2020-03-17  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15 12:39 Guix System for embedded systems roadmap Mathieu Othacehe
2020-03-17  9:44 ` Ludovic Courtès [this message]
2020-03-17 13:08   ` Danny Milosavljevic
2020-03-18 14:54     ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87d09bco3q.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=m.othacehe@gmail.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).