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. I can send it now, if you agree to double-check it and perhaps extend it a bit :) -- Ezequiel García, Free Electrons Embedded Linux, Kernel and Android Engineering http://free-electrons.com _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox