From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OOH6IhHcpl4XXwAA0tVLHw (envelope-from ) for ; Mon, 27 Apr 2020 13:20:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MPlnABncpl4dMwAAB5/wlQ (envelope-from ) for ; Mon, 27 Apr 2020 13:20:25 +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 2F6F89421E9 for ; Mon, 27 Apr 2020 13:20:24 +0000 (UTC) Received: from localhost ([::1]:45082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT3gM-00011s-AR for larch@yhetil.org; Mon, 27 Apr 2020 09:20:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44292) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT3g2-00011U-Nd for help-guix@gnu.org; Mon, 27 Apr 2020 09:20:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT3g1-0000Sc-Uv for help-guix@gnu.org; Mon, 27 Apr 2020 09:20:02 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:55944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jT3g1-0000Hw-ER for help-guix@gnu.org; Mon, 27 Apr 2020 09:20:01 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id CD634C0B12; Mon, 27 Apr 2020 13:19:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo04-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5fm43KtAPNDQ; Mon, 27 Apr 2020 13:19:59 +0000 (UTC) Received: from laptop (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 217FAC0A5A; Mon, 27 Apr 2020 13:19:57 +0000 (UTC) From: Simon South To: Vagrant Cascadian Subject: Re: Building installation image for ROCK64 References: <87sgh9iz1v.fsf@simonsouth.net> <877dyl7mn0.fsf@yucca> <87o8reb9ob.fsf@simonsouth.net> <87zhayyy1d.fsf@ponder> Date: Mon, 27 Apr 2020 09:19:12 -0400 In-Reply-To: <87zhayyy1d.fsf@ponder> (Vagrant Cascadian's message of "Sun, 26 Apr 2020 10:09:02 -0700") Message-ID: <87ees99icv.fsf@simonsouth.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 09:19:59 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Received-From: 64.68.200.34 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: -1.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Scan-Result: default: False [-1.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.55587032447001]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.19), country: US(-0.00), ip: 209.51.188.17(-0.56)]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[simon@simonsouth.net,help-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[simonsouth.net:email]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[simonsouth.net]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: C9mdu6Et/iFY Vagrant Cascadian writes: > With your current layout, parts of the bootloader may be written to the > same offsets as files in your first partition... Yes, my mistake. Thanks for pointing that out. > You really want to have the loader1 (start sector 64, 2.5MB size) and > loader2 (start sector 16384, 4MB size) partitions... I'm not sure how literally you meant this to be interpreted, but after a bit of experimentation it seems the most sensible arrangement for now is just to have a single partition starting at sector 32,768 for the root filesystem. This is because - If real partitions are created for the bootloader stages and the trusted firmware, U-Boot will fail to start the OS (with "Unrecognized filesystem type") when it scans for bootable partitions. (It probably ought to just skip over partitions without a recognizable filesystem, but it doesn't seem to behave that way.) - It seems Guix System does not yet support having /boot on a separate partition and will fail at startup if the store isn't available on the same filesystem as extlinux.conf. Consequently reserving 112 MB for a separate boot partition accomplishes nothing. At least this way the root filesystem is safe from being overwritten by the bootloader, and as Guix's support for multiple partitions improves over time it'll be possible to more closely follow Rockchip's conventions. > It would be nice to eventually be able to create installer images for > aarch64/armhf... Yes, absolutely. In the meantime just making available a minimal-but-complete image for writing to a microSD card would be a big help to people looking to get started quickly with Guix on the ROCK64. -- Simon South simon@simonsouth.net