Re: barebox: plathome-openblocks-a6/kwbimage.cfg is missed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[fixed e-mail address of Ezequiel, added Sebastian to Cc:]

Hello,

On Fri, Jan 11, 2019 at 10:45:41AM +0300, Antony Pavlov wrote:
> Hi!
> 
> It looks like the file arch/arm/boards/plathome-openblocks-a6/kwbimage.cfg is missed.
> 
> Here is my build log quotes:
> 
>   git clone git://git.pengutronix.de/git/barebox.git
>   cd barebox
>   git describe
>   v2018.12.0-140-g64fc4ac1b
> 
>   touch arch/arm/boards/globalscale-mirabox/binary.0
>   touch arch/arm/boards/lenovo-ix4-300d/binary.0
>   touch arch/arm/boards/marvell-armada-xp-gp/binary.0
>   touch arch/arm/boards/netgear-rn104/binary.0
>   touch arch/arm/boards/plathome-openblocks-ax3/binary.0
> 
>   CROSS_COMPILE=arm-linux-gnueabi- ./MAKEALL -a arm mvebu_defconfig
> 
>   ...
> 
>   Could not open input file /home/builduser/barebox/arch/arm/boards/plathome-openblocks-a6/kwbimage.cfg

That problem goes back to v2014.08.0-242-g906afb533186 ("ARM: mvebu: Add
Plat'home's Kirkwood Openblocks A6 board support")

I didn't find vendor U-Boot sources for that machine, also mainline
U-Boot doesn't seem to support it.

According to the dts/src/arm/kirkwood-openblocks_a6.dts
that device has an "uboot" partition in NAND. So I suggest:

diff --git a/arch/arm/boards/plathome-openblocks-a6/kwbimage.cfg b/arch/arm/boards/plathome-openblocks-a6/kwbimage.cfg
new file mode 100644
index 000000000000..ba3011736fb7
--- /dev/null
+++ b/arch/arm/boards/plathome-openblocks-a6/kwbimage.cfg
@@ -0,0 +1,3 @@
+VERSION 1
+BOOT_FROM nand
+BINARY ./binary.0 0000005b 00000068

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux