unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Roman Scherer <roman.scherer@burningswell.com>,
	Akira Kyle <akira@akirakyle.com>,
	guix-devel@gnu.org
Subject: Re: Error booting aarch64 installation image
Date: Wed, 22 Feb 2023 12:56:23 +0200	[thread overview]
Message-ID: <Y/X012u8YA97owO3@3900XT> (raw)
In-Reply-To: <86356ze92m.fsf@gmail.com>

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

On Tue, Feb 21, 2023 at 10:06:41AM +0200, Max Brieiev wrote:
> Hi Roman,
> 
> Roman Scherer <roman.scherer@burningswell.com> writes:
> 
> > I think you need to use --image-type=efi-raw for this to work.
> 
> Unfortunately, this doesn't build and produces yet another errors.
> 
> > I actually installed my Guix system from another distro. I roughly
> > followed this guide here:
> >
> > https://guix.gnu.org/blog/2019/guix-on-an-arm-board/
> 
> Thank you! I spent all day yesterday playing with this idea.
> 
> And it actually works. For me the steps were like this:
> 
> 1. Launch Debian ARM image.
> 2. Install Guix on it as package manager
> 3. Attach an empty qcow image as a storage device (/dev/vdb for me)
> 4. Partition and format /dev/vdb
> 5. Mount root and boot efi partitions.
> 6. Edit file-system entries in lightweight-desktop.scm and save it as
> /mnt/etc/config.scm
> 7. Run:
>     guix system init /mnt/etc/config.scm /mnt
> 8. Reboot
> 
> And this works!
> 
> Now I've just discovered in guix-cookbook that there is a special
> linux-libre-arm64-generic kernel for ARM boards and that u-boot is
> usually used to boot them.
> 
> But in my case it works with grub and a default kernel.
> 
> Are there any advantages of switching to linux-libre-arm64-generic
> kernel?
> 

I believe it mostly comes down to kernel configs. The regular
linux-libre arm64 kernel uses the Guix kernel config. The
linux-libre-arm64-generic build uses the upstream defaults instead of a
configuration file.

-- 
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 --]

  reply	other threads:[~2023-02-22 10:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17  8:29 Building arm64 guix system image Max Brieiev
2023-02-17 17:36 ` Akira Kyle
2023-02-19 12:18   ` Max Brieiev
2023-02-19 12:51     ` Roman Scherer
2023-02-20  9:08       ` Error booting aarch64 installation image (was: Building arm64 guix system image) Max Brieiev
2023-02-20 10:03         ` Roman Scherer
2023-02-21  8:06           ` Error booting aarch64 installation image Max Brieiev
2023-02-22 10:56             ` Efraim Flashner [this message]
2023-02-19 20:01 ` Building arm64 guix system image Efraim Flashner
2023-02-20 10:31   ` Roman Scherer
2023-02-20 14:17     ` Efraim Flashner
2023-02-21  5:02       ` Andrew Patterson
2023-02-22 10:45         ` Efraim Flashner
2023-02-25 11:27       ` Roman Scherer
2023-02-23 18:41   ` Roman Scherer

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=Y/X012u8YA97owO3@3900XT \
    --to=efraim@flashner.co.il \
    --cc=akira@akirakyle.com \
    --cc=guix-devel@gnu.org \
    --cc=roman.scherer@burningswell.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).