From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QNjpFrvag2BbKAAAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 10:45:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MDOZErvag2BFEgAAB5/wlQ (envelope-from ) for ; Sat, 24 Apr 2021 08:45:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B0A721DE4D for ; Sat, 24 Apr 2021 10:45:46 +0200 (CEST) Received: from localhost ([::1]:40900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laDv6-0001gr-Eu for larch@yhetil.org; Sat, 24 Apr 2021 04:45:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laDuB-0001gi-UP for help-guix@gnu.org; Sat, 24 Apr 2021 04:44:47 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:35485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laDu9-0001Gx-FM for help-guix@gnu.org; Sat, 24 Apr 2021 04:44:47 -0400 Received: by mail-pg1-x532.google.com with SMTP id q10so36770607pgj.2 for ; Sat, 24 Apr 2021 01:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=zSAHIKOWq2gFosqUc+6/XVP5npK08Uu2YzSFt+DUdpE=; b=S8wuE1C2UF5o3KJw+MIc9/nhr96FLfIGwAapz1ObGDk4tlqhatN/kH5Q9Y957uMLNw FqsaxG4cm85Nan0KVwq23FV7/HV10JnNu4W+s/regOzCwG0e5U4uHvYO+AMrG7TWoFAR ME2/duJyKsjhtx4GPknnEUG3dX02IrAUdxDGP6rku9fjCzBzxH93dqWBZz9o1L3Wnkya dPGowmhCnsRFkt1NJJffPHcQ/ssOujer0LB33/TYUHE3cKF3u9KCDB1mJ93VAYkBD9bO j3KAKh6XRGTTPFJmO6Yda3ut989jPq4Bn/ICenbU5iUCYVDui/gaJHVFdbn0YWwXzbuE 3xYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=zSAHIKOWq2gFosqUc+6/XVP5npK08Uu2YzSFt+DUdpE=; b=NmvvCzDZxREbyEoEKdnYIZrultD8HVlhhRjHs9UwXGBgAGY7bEzL/reXAyP5spIS++ Hn/Z5iLXukUzrwRKOCFbnHn6p9IiN1uax6wfFyLcjGpQkR+KCs0IVXwdRPuFNmXkYthP 95Zq/EV9tVaDCtb1R3Ph33aVQ6+10PqHk+9W4NKaIDTediqsNCnhtVqh/1Vq2aBqAucY mqxPUmFn0T4ocX5VgKEcKFVFLDUplFxusLcOr3N/EwdmF9V3wrFB3y6nXQa1J2gGsF75 0CCQ3uCcKre00g94uBB2+9JBStIwisXhzSNjntT7KFfV3wfENhpq9iC/DwjjaSH85D9d 3ywg== X-Gm-Message-State: AOAM532MN37zYdpQVBMMdenenpynBzPNXVILxDv33H7gfgX5bK1m7xLD 0lCcJwuTksKVJKwKl6hPok8oJLmDJm5dQhVgezuJnWKdr3k= X-Google-Smtp-Source: ABdhPJzoa4pp5S9FX9HvgC/h+Qybxz8oyuosTVNV6wq79M+MvfSBS7NMNnTcb16dAiykRMByD998XmfWYueuZ2c1ZYo= X-Received: by 2002:a63:b59:: with SMTP id a25mr7546300pgl.235.1619253884181; Sat, 24 Apr 2021 01:44:44 -0700 (PDT) MIME-Version: 1.0 References: <875z0hq3zq.fsf@yucca> In-Reply-To: From: Vincent Legoll Date: Sat, 24 Apr 2021 10:44:32 +0200 Message-ID: Subject: Re: Pinebook pro build To: Leo Famulari , Vagrant Cascadian , Grant Wilson II , help-guix Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=vincent.legoll@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619253946; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zSAHIKOWq2gFosqUc+6/XVP5npK08Uu2YzSFt+DUdpE=; b=SesXnm+Qc2CDH+Iek0T6ayLJoPNOt1AiVGRsnpaksvK8hY2JYXc8OFhQRWg9yIy7iswAuA /+xu/xHpGmCx0qZSXbDKE3wIunSpagUqeW5SFZqNuPgSrfgDndAgtOfjOUgCOLIzn8bu3P h/MvKzQp7X3LCp9h45ziqUPRxMGgmMRWkyrpwCV10MNxIus42PQ/2jBAdsJuZHbY+JD3IV r76qO8BCwfstSo601kEObl+IJZROZ1C0mHM1H7pNOBN0zPA6nd/p1yDT5w5sO82ULvJLMo qUxaKtKqcOSYCkkgd/bSl2iulz8j2Ej0bnVV59Qm8qaB0wr/oIxeo2pg3hPoMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619253946; a=rsa-sha256; cv=none; b=ZOY9T1hJJLt6uEz646Q32pD9rmQdCXXTTMJ493MiY7l4HbcLPTkfOzWZHvIifFaLB9gGqV vMMVz288aGgkZ4dDj85Bd6S0wJVE4n1IAGdyt9z1YK3mG0eG6h//HPSSLdxuF9t4DrXyWz iJoLcwdUfDld+SnPtWTcGFD5YuOUN1AlHrknkDX8KhylAUI/2csI7qV8XUk7GTx2Mn6zRa RigVpIt2EHPAwgP3dES4dQBzvyC0no6IwaKjblF7JXSfxddnY3hzkTYbAW8dt1PQrFGfdW BwwVDSpkQ8ju38WQZnpVP14d+oLlfmB31JeszjdNGKUiw5Fo4qgonobgkI2sFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=S8wuE1C2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=S8wuE1C2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B0A721DE4D X-Spam-Score: -1.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: R0zVKJJOd2R8 Hello, I did try to get guix running on the pbp earlier, with the images, first trying to cross-build them myself, then with the cuirass built ones. I'm not sure I got anything working at all (no console output, serial console problem). I now got some time to try again, and chose a different path, seeing that Janneke go it to work, I tried to replicate what he's done, and it worked, I've now got guixrunning on my pbp, yay ! Some of the steps were different in my attempt, but that's not really important, I could have done the whole thing on the pbp itself too. I chose that because the pbp is slower (CPU and storage-wise) than the Odroid N2. So, what I did is the following: on an Odroid N2 with the guix binary tarball installed over Armbian on the eMMC with the help from guix-install.sh script. I put /gnu on an external USB3 SSD that is way bigger and also faster than the eMMC. I had to make the guix-daemon use a TMPDIR in there, as the system one was too small (2GB tmpfs): sudo mkdir /gnu/tmp sudo chmod 1777 /gnu/tmp sudo chmod 644 /etc/systemd/system/guix-daemon.service sudo vi /etc/systemd/system/guix-daemon.service # Add to "[Service]" section: # Environment=TMPDIR=/gnu/tmp sudo systemctl daemon-reload sudo systemctl restart guix-daemon then plugged an sdcard and did: SDCARD=/dev/mmcblk1 sudo parted -- ${SDCARD} mkpart p 0% -1 sudo parted -- ${SDCARD} set 1 boot on sudo mkfs.ext4 -F ${SDCARD}p1 sudo e2label ${SDCARD}p1 GUIXROOT blkid sudo mkdir /mnt/tmp sudo mount ${SDCARD}p1 /mnt/tmp git clone git://git.savannah.gnu.org/guix.git cd guix git checkout wip-pinebook-pro guix environment guix ./bootstrap ./configure --localstatedir=/var make -j 7 cp gnu/system/examples/pinebook-pro.tmpl ./config-pbp.scm vi config-pbp.scm # Set bootloader target to ${SDCARD} # Set filesystem / to uuid you got by the above blkid, or to label GUIXROOT sudo -E ./pre-inst-env guix system init config-pbp.scm /mnt/tmp --fallback I checked that he final section from Janneke's blog post was not needed anymore grep DEFAULT_FDT /gnu/store/*u-boot*pinebook*/libexec/.config grep FDT /mnt/tmp/boot/extlinux/extlinux.conf find /mnt/tmp/gnu/store/z1kmpmyvm3shh59fsnw5v7s41bdi2fs1-linux-libre-pinebook-pro-5.10.29/lib/dtbs/ -name rk3399-pinebook-pro.dtb cat /mnt/tmp/boot/extlinux/extlinux.conf sudo umount /mnt/tmp unplug the sdcard from the N2 and put it in the pinebook pro, turn it on, enjoy. Hope that report is helpful. Many thanks to Janneke, his blog post is very nice and simple to follow. And to the guix community for all the good work done ! Regards -- Vincent Legoll