[PATCH v3 0/4] mvebu: Add network support for Armada 370/XP
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Nov 11 06:31:11 PST 2014
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
More information about the barebox
mailing list