unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Jesse Gibbons <jgibbons2357@gmail.com>
To: anon <anon@post.su>, help-guix@gnu.org
Subject: Re: guix system disk-image /etc/config.scm error: u-boot-allwinner-bootloader: unbound variable
Date: Sat, 01 Feb 2020 13:33:54 -0700	[thread overview]
Message-ID: <a03e70d272f3abd7cd489932e72222397908686b.camel@gmail.com> (raw)
In-Reply-To: <a66152585dc6eb30e1c6d7f8082db7f6a52a7683.camel@gmail.com>

On Sat, 2020-02-01 at 12:56 -0700, Jesse Gibbons wrote:
> Hi anon,
> On Fri, 2020-01-31 at 20:18 +0000, anon wrote:
> > Hi,
> > 	I installed guix on Armbian 19.11.6 on BananaPi M1. Command
> > 'guix pull' executing correctly, but when i try execute 'guix
> > system
> > disk-image /etc/config.scm' it end whith error:
> > 	/etc/config.scm:20:0: error: u-boot-allwinner-bootloader:
> > 	unbound variable
> > 	hint: Did you forget `(use-modules (#g549 #))'?
> > 
> > I cant find any information about this module, what is it?
> > Configuration file: https://pastebin.com/Tf5igU23
> > 
> > Thanks.
> > 
> In order to boot on ARM-based machines (i.e. banana pi), guix needs
> to
> use u-boot. u-boot-allwinner-bootloader should be in (gnu bootloader
> u-
> boot). 
> Since every ARM computer has different hardware, you may need to make
> a
> new bootloader and u-boot package for your banana pi M1. You can try
> greping the sources for "bananapi-m2-ultra" and making corresponding
> packages for bananapi-m1. I'm afraid I can't help you if that doesn't
> work though.
> I have been trying to make my banana pi m2u run the guix system for
> several weeks now without success because it isn't very well
> documented. The installer disk image I generated doesn't work when I
> dd
> it to the built-in emmc (bug report pending). If the disk image you
> are
> generating doesn't work, try using guix on armbian to bootstrap the
> system as described in the tutorial at <
> https://guix.gnu.org/blog/2019/guix-on-an-arm-board/> and make sure
> the
> bootloader and / refer to separate partitions.
> -Jesse
> 
Sorry, I should have looked at your pastebin.
If your guix is running on guile 3, @@ apparently doesn't work. You
could copy the related definitions from (gnu bootloader u-boot), or you
could roll back to before the guile 3 update, or you could make a
channel from the current guix source with a difference that exports u-
boot-allwinner-bootloader.

If you aren't on guile 3, I'm not sure what's causing your error.

Also, I'm looking at a list of boards U-Boot can be built for at its
current version. Bananapi-M1 is not listed. Here are all the banana pi
boards it lists:
- Bananapi
- bananapi_m1_plus
- bananapi_m2_berry
- bananapi_m2_plus_h3
- bananapi_m2_plus_h5
- Bananapi_M2_Ultra
- bananapi_m2_zero
- Bananapi_m2m
- bananapi_m64

-Jesse

      reply	other threads:[~2020-02-01 20:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31 20:18 guix system disk-image /etc/config.scm error: u-boot-allwinner-bootloader: unbound variable anon
2020-02-01 19:56 ` Jesse Gibbons
2020-02-01 20:33   ` Jesse Gibbons [this message]

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=a03e70d272f3abd7cd489932e72222397908686b.camel@gmail.com \
    --to=jgibbons2357@gmail.com \
    --cc=anon@post.su \
    --cc=help-guix@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.
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).