On Tue, Nov 11, 2014 at 11:34:30AM -0300, Ezequiel Garcia wrote: > On 11/11/2014 11:31 AM, Thomas Petazzoni wrote: > > 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? > > > > Actually... it's a copy-paste of a something I wrote as > Documentation/boards/mvebu.txt, but never sent as a patch. s/txt/rst/ please. The docs are in restructured text format. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox