From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YL3ZJmeQ7F8EGAAA0tVLHw (envelope-from ) for ; Wed, 30 Dec 2020 14:36:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kB+NImeQ7F+USgAAbx9fmQ (envelope-from ) for ; Wed, 30 Dec 2020 14:36:23 +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 3BD3E9401BC for ; Wed, 30 Dec 2020 14:36:23 +0000 (UTC) Received: from localhost ([::1]:49744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kucaM-00048R-5G for larch@yhetil.org; Wed, 30 Dec 2020 09:36:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuca4-00047t-3K for bug-guix@gnu.org; Wed, 30 Dec 2020 09:36:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuca2-0005D4-5P for bug-guix@gnu.org; Wed, 30 Dec 2020 09:36:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kuca2-0004H6-2a for bug-guix@gnu.org; Wed, 30 Dec 2020 09:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45517: Failed boot on arm32 with u-boot due to missing requirements with the distro boot protocol Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 30 Dec 2020 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45517 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Denis 'GNUtoo' Carikli Received: via spool by 45517-submit@debbugs.gnu.org id=B45517.160933896116430 (code B ref 45517); Wed, 30 Dec 2020 14:36:02 +0000 Received: (at 45517) by debbugs.gnu.org; 30 Dec 2020 14:36:01 +0000 Received: from localhost ([127.0.0.1]:48729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuca1-0004Gr-6h for submit@debbugs.gnu.org; Wed, 30 Dec 2020 09:36:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kucZy-0004GF-Jh for 45517@debbugs.gnu.org; Wed, 30 Dec 2020 09:35:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54964) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kucZs-000568-W5; Wed, 30 Dec 2020 09:35:53 -0500 Received: from [2a01:cb18:832e:5f00:1419:7f05:4215:aaad] (port=51488 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kucZp-0005DZ-R1; Wed, 30 Dec 2020 09:35:51 -0500 From: Mathieu Othacehe References: <20201229033439.60b2a9ff@primarylaptop.localdomain> Date: Wed, 30 Dec 2020 15:35:48 +0100 In-Reply-To: <20201229033439.60b2a9ff@primarylaptop.localdomain> (Denis Carikli's message of "Tue, 29 Dec 2020 03:34:39 +0100") Message-ID: <87sg7n5pkr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45517@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 3BD3E9401BC X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: D02z/6Pf82Il Hello Denis, > I then built it with: >> cp `guix system disk-image --target=arm-linux-gnueabihf lime2.scm` \ >> guix.img > > However when booting the image, u-boot doesn't find > /boot/extlinux/extlinux.conf. > > However running the following command in u-boot makes the board boot: >> sysboot mmc 0:2 any $scriptaddr /boot/extlinux/extlinux.conf > > When we look at the resulting image with fdisk -l we have: >> Device Boot Start End Sectors Size Id Type >> guix.img1 2048 83967 81920 40M ef EFI (FAT-12/16/32) >> guix.img2 83968 3301783 3217816 1.5G 83 Linux The default image type creates an EFI partition which is not desirable here. You should try again running this instead: --8<---------------cut here---------------start------------->8--- guix system disk-image -t arm32-raw lime2.scm --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu