From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: Re: guix system disk-image /etc/config.scm error: u-boot-allwinner-bootloader: unbound variable Date: Sat, 01 Feb 2020 12:56:07 -0700 Message-ID: References: <1580501925.21798.2.camel@post.su> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38561) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixysI-0003tR-Kl for help-guix@gnu.org; Sat, 01 Feb 2020 14:56:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixysF-0000zn-TO for help-guix@gnu.org; Sat, 01 Feb 2020 14:56:14 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:35950) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixysF-0000yj-LI for help-guix@gnu.org; Sat, 01 Feb 2020 14:56:11 -0500 Received: by mail-pf1-x441.google.com with SMTP id 185so5298694pfv.3 for ; Sat, 01 Feb 2020 11:56:11 -0800 (PST) In-Reply-To: <1580501925.21798.2.camel@post.su> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: anon , help-guix@gnu.org 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