mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org, Ezequiel Garcia <ezequiel@collabora.com>
Subject: Re: barebox: plathome-openblocks-a6/kwbimage.cfg is missed
Date: Fri, 11 Jan 2019 09:23:11 +0100	[thread overview]
Message-ID: <20190111082311.pvjibjdkpfvvb2k4@pengutronix.de> (raw)
In-Reply-To: <20190111104541.7dec78587e650eb199e81cf1@gmail.com>

[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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2019-01-11  8:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-11  7:45 Antony Pavlov
2019-01-11  8:23 ` Uwe Kleine-König [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190111082311.pvjibjdkpfvvb2k4@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=ezequiel@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox