From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:41092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gt0LI-0001UR-NA for guix-patches@gnu.org; Sun, 10 Feb 2019 20:25:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gt0LG-0001Dz-BG for guix-patches@gnu.org; Sun, 10 Feb 2019 20:25:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43691) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gt0LG-0001DZ-6T for guix-patches@gnu.org; Sun, 10 Feb 2019 20:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gt0LF-0005Zv-TO for guix-patches@gnu.org; Sun, 10 Feb 2019 20:25:01 -0500 Subject: [bug#34356] [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. Resent-Message-ID: From: Vagrant Cascadian In-Reply-To: <20190210195954.107d21a0@scratchpost.org> References: <87y36s1r5h.fsf@ponder> <20190210195954.107d21a0@scratchpost.org> Date: Sun, 10 Feb 2019 17:23:28 -0800 Message-ID: <87k1i73ypb.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 34356@debbugs.gnu.org --=-=-= Content-Type: text/plain On 2019-02-10, Danny Milosavljevic wrote: > On Wed, 06 Feb 2019 14:35:54 -0800 > Vagrant Cascadian wrote: >> (define-public u-boot-novena > [...] >> + ;; Patch configuration to disable loading u-boot.img from FAT partition, >> + ;; allowing it to be installed at a device offset. > > Hmm, why? > > https://www.kosagi.com/w/index.php?title=U-boot-novena specifies that it > loads u-boot.img from the first partition. Is it incorrect? It's not incorrect, per se, but this was a simple way to get the install-os functionality to work without significant refactoring. I just recenty booted and refreshed the guixsd installation on the novena I had, and was reminded that installation of the bootloader required manual intervention from the user, and could potentially result in an unbootable system of the SPL/u-boot.img were sufficiently out os sync. The more complicated way would be to make novena-installation-os and/or embedded-installation-os smart enough to drop "u-boot.img" in the correct place, on the first FAT or EXT* partition of the microSD. That is certainly currently over my head to attempt that at the moment. I think we had touched on this in the bugs where I introduced u-boot-novena in #31404. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXGDOkQAKCRDcUY/If5cW qt6pAQC5qzA62DU5zb7Hbhm23Y6wBqwAD7vqlTctvjpiidrr/QEAq4ottfPRqP92 4B+Rg9t7mBiIUW/e2WU0KbswBLxUXg4= =YdON -----END PGP SIGNATURE----- --=-=-=--