Skip to contentSkip to conversation

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

DISCUSSION Antony Pavlov 2 participants 2 messages Jan 11, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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

Signature · 7 lines
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

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

Hello,

Quoted 17 lines · Antony Pavlov

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

Quoted 5 lines

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:

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

Best regards
Uwe

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

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox