From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from down.free-electrons.com ([37.187.137.238] helo=mail.free-electrons.com) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XoCU8-0002hC-L0 for barebox@lists.infradead.org; Tue, 11 Nov 2014 14:31:57 +0000 Date: Tue, 11 Nov 2014 15:31:11 +0100 From: Thomas Petazzoni Message-ID: <20141111153111.5c275a43@free-electrons.com> In-Reply-To: <54621C64.5070004@free-electrons.com> References: <1415544978-22392-1-git-send-email-ezequiel.garcia@free-electrons.com> <20141110080657.GA18558@pengutronix.de> <5460FFB0.9080205@free-electrons.com> <20141110184345.GC27002@pengutronix.de> <546113A7.30500@gmail.com> <20141111090649.GE27002@pengutronix.de> <54621C64.5070004@free-electrons.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v3 0/4] mvebu: Add network support for Armada 370/XP To: Ezequiel Garcia Cc: barebox@lists.infradead.org, Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Dear Ezequiel Garcia, On Tue, 11 Nov 2014 11:25:40 -0300, Ezequiel Garcia wrote: > Fix the produced kwbimage.cfg to boot from UART (actually, I think it's not needed): > > diff --git a/arch/arm/boards/plathome-openblocks-ax3/kwbimage.cfg b/arch/arm/boards/plathome-openblocks-ax3/kwbimage.cfg > index 219c2ec..fd6c0df 100644 > --- a/arch/arm/boards/plathome-openblocks-ax3/kwbimage.cfg > +++ b/arch/arm/boards/plathome-openblocks-ax3/kwbimage.cfg > @@ -1,5 +1,5 @@ > VERSION 1 > -BOOT_FROM spi > +BOOT_FROM uart > DESTADDR 00600000 > EXECADDR 006b0000 > NAND_BLKSZ 00000000 This is indeed not needed. The Barebox build system calls kwbimage twice: once to generate an image that uses the BOOT_FROM media as the boot media, and once to generate an image that can boot from the UART. The former has a .kwb extension, the latter a .kwbuart extension. Other than that, I think your tutorial is good. Is there a good place in Barebox to put some documentation such as this? Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox