unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: GuixSD on the SoftIron OverDrive 1000 (AArch64)
Date: Sat, 20 Oct 2018 21:29:59 +0300	[thread overview]
Message-ID: <20181020182959.GA1102@macbook41> (raw)
In-Reply-To: <87d0s4ah5f.fsf@gnu.org>

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

On Sat, Oct 20, 2018 at 03:20:44PM +0200, Ludovic Courtès wrote:
> Hello Guix!
> 
> The device comes with openSuSE preinstalled and I had first installed
> Guix from the binary tarball.  It’s a “normal” UEFI machine so we can
> use ‘grub-efi’ directly.  I came up with this GuixSD config:
> 
>   https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/overdrive.scm
> 

Can I draw your attention to commits
64791eb7e1dceb0940cc881e84820f0170298b34 and
39d7fdce453b0ca23ecbed72048647debbaa58a6 ? :)

> The main difficulty was to come up with the right combination of modules
> for the initrd, without which we’d fail to mount the root file system.
> Fortunately the OverDrive has a serial output that makes it easy to
> debug boot failures.
> 
> With that config, I just run:
> 
>   guix system init overdrive.scm /
> 
> and that’s it!
> 

How did you figure out which modules you needed for the device?

Also, I'd suggest this diff:

diff --git a/hydra/overdrive.scm b/hydra/overdrive.scm
index 072c095..304acd6 100644
--- a/hydra/overdrive.scm
+++ b/hydra/overdrive.scm
@@ -72,7 +72,7 @@
                               `(("ludo" ,(local-file "keys/ssh/ludo.pub"))
                                 ("rekado" ,(local-file "keys/ssh/rekado.pub"))
                                 ("dannym" ,(local-file "keys/ssh/dannym.pub"))))))
-                   (dhcp-client-service)
+                   (service dhcp-client-service-type)
                    (service mcron-service-type
                             (mcron-configuration
                              (jobs (list gc-job btrfs-job))))
@@ -84,7 +84,7 @@
                              (term "vt220")
                              (baud-rate "115200,38400,9600")))

-                   (ntp-service)
+                   (service ntp-service-type)

                    (modify-services %base-services
                      (guix-service-type config =>
@@ -97,4 +97,4 @@
                                          (extra-options
                                           '("--max-jobs=2" "--cores=3")))))))

-  (packages (cons* screen openssh strace %base-packages)))
+  (packages (cons* btrfs-progs screen openssh strace %base-packages)))

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

  parent reply	other threads:[~2018-10-20 18:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-20 13:20 GuixSD on the SoftIron OverDrive 1000 (AArch64) Ludovic Courtès
2018-10-20 16:40 ` Jan Nieuwenhuizen
2018-10-22 12:29   ` Ludovic Courtès
2018-10-22 19:17     ` GuixSD on AArch64 Vagrant Cascadian
2018-10-24 13:01       ` Ludovic Courtès
2018-12-12 10:36       ` Andreas Enge
2018-12-12 14:26         ` Vagrant Cascadian
2018-10-20 18:29 ` Efraim Flashner [this message]
2018-10-22 12:31   ` GuixSD on the SoftIron OverDrive 1000 (AArch64) 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=20181020182959.GA1102@macbook41 \
    --to=efraim@flashner.co.il \
    --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 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).