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 UGXUAhKM7F9JdAAA0tVLHw (envelope-from ) for ; Wed, 30 Dec 2020 14:17:54 +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 CP09OhGM7F8PHQAAB5/wlQ (envelope-from ) for ; Wed, 30 Dec 2020 14:17:53 +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 674B994030E for ; Wed, 30 Dec 2020 14:17:53 +0000 (UTC) Received: from localhost ([::1]:42706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kucIS-0007Mg-Aa for larch@yhetil.org; Wed, 30 Dec 2020 09:17:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku6ko-0003Kt-Ki for bug-guix@gnu.org; Mon, 28 Dec 2020 23:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku6ko-0002T2-DE for bug-guix@gnu.org; Mon, 28 Dec 2020 23:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ku6ko-0002f6-Az for bug-guix@gnu.org; Mon, 28 Dec 2020 23:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45519: MLO failed to load u-boot.img on beaglebone black(AM335x) Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 29 Dec 2020 04:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45519 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45519@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160921657510164 (code B ref -1); Tue, 29 Dec 2020 04:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Dec 2020 04:36:15 +0000 Received: from localhost ([127.0.0.1]:37386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6k2-0002ds-Kp for submit@debbugs.gnu.org; Mon, 28 Dec 2020 23:36:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:47432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6jy-0002dg-N7 for submit@debbugs.gnu.org; Mon, 28 Dec 2020 23:36:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku6jy-0003AG-Gc for bug-guix@gnu.org; Mon, 28 Dec 2020 23:36:10 -0500 Received: from cyberdimension.org ([80.67.179.20]:55680 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ku6jt-0001zy-R2 for bug-guix@gnu.org; Mon, 28 Dec 2020 23:36:10 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 7d651eb9 for ; Tue, 29 Dec 2020 04:29:38 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 4113a80c for ; Tue, 29 Dec 2020 04:29:38 +0000 (UTC) Date: Tue, 29 Dec 2020 05:33:55 +0100 From: Denis 'GNUtoo' Carikli Message-ID: <20201229053355.30ce920b@primarylaptop.localdomain> In-Reply-To: <20201229044725.3856df42@primarylaptop.localdomain> References: <20201229044725.3856df42@primarylaptop.localdomain> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Ovq1qEpK.46KTwqMgZHoD7o"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 30 Dec 2020 09:17:41 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 674B994030E X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: xthuKJvOv9V/ --Sig_/Ovq1qEpK.46KTwqMgZHoD7o Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 29 Dec 2020 04:47:25 +0100 Denis 'GNUtoo' Carikli wrote: > > "/libexec/MLO")) (u-boot (string-append bootloader > > "/libexec/u-boot.img"))) (write-file-on-device mlo (* 256 512) > > image (* 256 512)) > > (write-file-on-device u-boot (* 1024 512) > > image (* 768 512))))) Ah my bad, theses are in bytes (write-file-on-device uses seek which looks like lseek).=20 So if u-boot.img is 600k, that's over the 512k. MLO[1] is about 108k (108740 bytes), so that's under 128KiB. So we could move u-boot.img at 256KiB instead of 384KiB. This way we'll still have some margin for MLO but and increase the space for u-boot.img to 768k. References: ----------- [1]/gnu/store/83rpk8q9bww0phl6z6zgpf06qhqs8cw6-u-boot-am335x-boneblack-2020= .10/libexec/MLO Denis. --Sig_/Ovq1qEpK.46KTwqMgZHoD7o Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAl/qsbMACgkQX138wUF3 4mN9rw/+LfXb/idYeqHkKAN0ntPUmJhtAkwHD6GkM9+iTkUguDr5RWDxeLcdmZpW 6rLrIVO52Tgd883ZzCjeN39WIkmglsKT+KKWfBGdrAeKCUTI/7KwJ//Op8KOXp/8 pCyCzUNq2kA4kpti+qi9C+3LVp6OeLb5DI0ZOgx5MIP5V88/0tk34S/Tkt2Nstz7 Qt4eACqpjUUoqFj+jQ+cqKKwL5hKDcE/BRkxrCNF6J6CzZraxNMuf49cANKdipJx kOmqj0rvFeYRNDLJTE4cb/TzFTt5M4eaU9Oss14xg/yXDxSbDgNrW7ZENT6cIa3+ 2iAAWZVEDsHx2pcC33z72sGyTXQEOfJb4PHoqLeG9NdhzieqXDVkEI+GGQG6v4vA MY+r44tGeXkcDh7LKk472PIwEfuuuIvEuSwYs4lR7b6flfnTGIIu7wHeyB1iBFfS oUQEKSOf1gkHu9QacnD/16HBUJH0O+CFlvGBTPizMhrhVIKO+6pFIWJhoVbfkA5l QxGQsmBRcvQWn2DN6rEtVjGfbd4xpBm/UgXy6vtBu25VUXwHcID6xbk7ehseDKWG LfaYk1wmpEG9s/RZDq5vnWtCpX6aR42vD1hi7zhdtapgNSyzmcQRY2q4ZtI3rJ3O ZcrRkrKBjhNt583TkRKLMUav7hN+yDz5nd+j7jlZVmx0zOY7fRs= =73IM -----END PGP SIGNATURE----- --Sig_/Ovq1qEpK.46KTwqMgZHoD7o--