unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Florian Hoertlehner <hoertlehner@gmail.com>
Cc: 52267@debbugs.gnu.org
Subject: bug#52267: disk image installer for rock64 fails
Date: Sat, 4 Dec 2021 22:02:51 +0100	[thread overview]
Message-ID: <20211204210251.okkpd5a3npddhjo7@pelzflorian.localdomain> (raw)
In-Reply-To: <20211204113928.mysxp2572wjakvme@pelzflorian.localdomain>

On Sat, Dec 04, 2021 at 12:39:28PM +0100, pelzflorian (Florian Pelz) wrote:
> It failed until I added the
> 
> (service qemu-binfmt-service-type
>          (qemu-binfmt-configuration
>            (platforms (lookup-qemu-platforms "arm" "aarch64"))))
> 
> from the manual.
> 
> The version with --target worked and building is faster, although
> maybe building the whole image might still fail, which would be a bug.

My suggestion that you change your command to use --target rather than
--system fails.  Sorry it was the wrong suggestion, because I had not
tried before answering.  (On master it fails to cross-compile
meson-based packages; on core-updates-frozen it fails to cross-compile
dosfstools.)

Anyway, your previous command with --system was correct, but if you
are on GNU Guix System, you need to add the qemu-binfmt-service-type.

> (service qemu-binfmt-service-type
>          (qemu-binfmt-configuration
>            (platforms (lookup-qemu-platforms "arm" "aarch64"))))

You wrote to me in private and talk about rockpro.  If you have a
rockpro64 and not a rock64, I am not sure if the command works; at
least you would need to use rockpro64-installation-os instead of
rock64-installation-os.

But if your PC uses Guix on a foreign distribution such as Debian, you
need to add qemu binfmt support in another way.  For Debian it seems
to be documented at <https://wiki.debian.org/QemuUserEmulation>, but
you need to use aarch64 instead of armhf, and I have not tried.  It
depends on the distro.

Alternatively, you can install another distro on the rock64 /
rockpro64 and then install GNU Guix on it without a Guix System image.

If you know what you are doing, you can install GNU Guix System onto
an SSD connected to the rock64 via USB2 by the guix system init
command; this is what I did, but I have no automatic setup for the
bootloader.  The rock64 officially only boots from the SD card, I
think, and I always copy the relevant store files to the SD card
manually.

Regards,
Florian




  reply	other threads:[~2021-12-04 21:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04  0:03 bug#52267: disk image installer for rock64 fails Florian Hoertlehner
2021-12-04  2:41 ` pelzflorian (Florian Pelz)
2021-12-04 11:39   ` pelzflorian (Florian Pelz)
2021-12-04 21:02     ` pelzflorian (Florian Pelz) [this message]
     [not found] ` <handler.52267.B.16385762085695.ack@debbugs.gnu.org>
2021-12-04 17:02   ` bug#52267: Acknowledgement (disk image installer for rock64 fails) Florian Hoertlehner
2021-12-08 13:56     ` Florian Hoertlehner
2021-12-08 17:27       ` Maxime Devos
2021-12-08 18:26         ` Florian Hoertlehner
2021-12-08 19:20           ` Maxime Devos
2021-12-08 19:42             ` Florian Hoertlehner
     [not found]               ` <CADXXfWmam+VE=vnbqyJyhBQPGGK+E1QMsrzvtMdatou7t7vn4w@mail.gmail.com>
     [not found]                 ` <5f34f1895a26d5e4fbd51b409b18b64f79290861.camel@telenet.be>
2021-12-09  7:45                   ` Maxime Devos
2021-12-09  7:49                     ` Maxime Devos

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=20211204210251.okkpd5a3npddhjo7@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=52267@debbugs.gnu.org \
    --cc=hoertlehner@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).