From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUeN9-0006Co-7K for guix-patches@gnu.org; Sun, 17 Jun 2018 16:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUeN8-0001bD-5y for guix-patches@gnu.org; Sun, 17 Jun 2018 16:34:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUeN8-0001b0-1f for guix-patches@gnu.org; Sun, 17 Jun 2018 16:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUeN7-0003Wf-PC for guix-patches@gnu.org; Sun, 17 Jun 2018 16:34:01 -0400 Subject: [bug#31416] [PATCH 3/4] bootloader: Add make-u-boot-bootloader. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180511143515.23435-1-dannym@scratchpost.org> <20180511143652.26935-1-dannym@scratchpost.org> <20180511143652.26935-3-dannym@scratchpost.org> <87603rnbi5.fsf@gnu.org> <20180513125925.66a91367@scratchpost.org> <87in7qbppv.fsf@gnu.org> <20180514182953.3d4c4f3c@scratchpost.org> <87r2l8wmjk.fsf@gnu.org> <20180617022855.671a3ef6@scratchpost.org> Date: Sun, 17 Jun 2018 22:33:05 +0200 In-Reply-To: <20180617022855.671a3ef6@scratchpost.org> (Danny Milosavljevic's message of "Sun, 17 Jun 2018 02:28:55 +0200") Message-ID: <87in6hkvb2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 31416@debbugs.gnu.org Hello Danny, Danny Milosavljevic skribis: > I've researched a little in the mean time and found out that other projec= ts > DO have automated u-boot installation, for example: > > https://github.com/buildroot/buildroot/blob/master/board/olimex/a20_olinu= xino/genimage.cfg > > So we could leave this stuff mostly to them - although it would mean > we'd only support boards they support. Instead of using these .cfg files as-is, how about =E2=80=9Cimporting=E2=80= =9D them? That structure (or whatever) we discussed could contain essentially the relevant part of those .cfg files (the partitioning info founds in those files seems less relevant to me, or at least it seems like a separate issue.) WDYT? IOW, we could definitely take Buildroot as an inspiration (it=E2=80=99s pro= bably one of the best tools in this area), but maybe not reuse the actual files. Thanks, Ludo=E2=80=99.