From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id INdKHbFJ71+ELQAA0tVLHw (envelope-from ) for ; Fri, 01 Jan 2021 16:11:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WGAaGbFJ719OEAAA1q6Kng (envelope-from ) for ; Fri, 01 Jan 2021 16:11:29 +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 DB3BF9404C8 for ; Fri, 1 Jan 2021 16:11:28 +0000 (UTC) Received: from localhost ([::1]:51076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvN1T-0001CG-LN for larch@yhetil.org; Fri, 01 Jan 2021 11:11:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvN14-0001Bw-Nu for guix-patches@gnu.org; Fri, 01 Jan 2021 11:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvN14-0005BV-GX for guix-patches@gnu.org; Fri, 01 Jan 2021 11:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kvN14-0006RL-96 for guix-patches@gnu.org; Fri, 01 Jan 2021 11:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45584] [PATCH 0/2] system: image: Fix root fs corruption from certain u-boot. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Jan 2021 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45584 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45584@debbugs.gnu.org X-Debbugs-Original-To: Caliph Nomble via Guix-patches via X-Debbugs-Original-Cc: vagrant@debian.org, dannym@scratchpost.org, Caliph Nomble , 45584@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160951744624721 (code B ref -1); Fri, 01 Jan 2021 16:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2021 16:10:46 +0000 Received: from localhost ([127.0.0.1]:34583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvN0o-0006Qa-Bt for submit@debbugs.gnu.org; Fri, 01 Jan 2021 11:10:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:45224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvN0n-0006QR-Ee for submit@debbugs.gnu.org; Fri, 01 Jan 2021 11:10:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvN0n-0001B8-9l for guix-patches@gnu.org; Fri, 01 Jan 2021 11:10:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58313) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvN0l-0005AD-TH; Fri, 01 Jan 2021 11:10:43 -0500 Received: from pop.92-184-97-149.mobile.abo.orange.fr ([92.184.97.149]:58778 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kvN0l-0005Lh-2W; Fri, 01 Jan 2021 11:10:43 -0500 From: Mathieu Othacehe References: Date: Fri, 01 Jan 2021 17:10:38 +0100 In-Reply-To: (Caliph Nomble via Guix-patches via's message of "Thu, 31 Dec 2020 23:34:01 +0000") Message-ID: <87zh1swsch.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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: vagrant@debian.org, calnomble@protonmail.com Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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 guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DB3BF9404C8 X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: tNiXUtW5+qEh Hello, > I chose a 9MB offset by adding the previous root offset of 1MB to the > additional 8MB offset required. I know at least u-boot-rockpro64-rk3399 doesn't > build to over 1MB in size, so it should be fine? Feel free to change the > specific offset used. This seems reasonable to me. We could also turn "arm32-disk-image" and "arm64-disk-image" into procedures and pass the root offset as argument to avoid multiplying image types. Danny, Vagrant, any opinion? Were you able to actually use the generated image on a pinebook-pro? I added support for this machine without being able to test it. Thanks, Mathieu