All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support
Date: Sun, 03 May 2015 11:16:07 +0200	[thread overview]
Message-ID: <5545E757.6020500@denx.de> (raw)
In-Reply-To: <CAPnjgZ0YPBHeRkcWFqPkwPUz1-=kZ86SMHHhbQdC=JKtratrtw@mail.gmail.com>

Hi Simon,

On 02.05.2015 22:59, Simon Glass wrote:
> On 24 April 2015 at 22:29, Stefan Roese <sr@denx.de> wrote:
>>
>> This patch series adds support for the Marvell Armada A38x SoC's. Specifically
>> the 88F6820 / 88F6828.
>>
>> Basic support for the DB-88F6820-GP evaluation board is added. Supporting the
>> following interfaces:
>> - UART
>> - SPI (including SPI NOR flash)
>> - I2C
>> - Ethernet (neta)
>>
>> One big part of this new SoC support is the move of the already exisiting
>> Armada XP support into the "mach-mvebu" directory. With this move its
>> easier to re-use this code for the A38x, which is pretty similar to the
>> AXP.
>
> When I try to build this I get an error - its wants a 'binard.0' file.
> It talks about extracting this from an 'existing image'. Is it not
> available as source code? If not, is there a README explaining where
> to get it?

This error should not occur. Sorry I've missing this.

The patch "arm: mvebu: Add Armada A38x DB-88F6820-GP board support" 
includes this file:

--------------------- board/Marvell/db-88f6820-gp/binary.0 
---------------------
new file mode 100644
index 0000000..57a4cbf
@@ -0,0 +1,16 @@
+--------
+WARNING:
+--------
+This file should contain the bin_hdr generated by the original Marvell
+U-Boot implementation. As this is currently not included in this
+U-Boot version, we have added this placeholder, so that the U-Boot
+image can be generated without errors.
+
+If you have a known to be working bin_hdr for your board, then you
+just need to replace this text file here with the binary header
+and recompile U-Boot.
+
+In a few weeks, mainline U-Boot will get support to generate the
+bin_hdr with the DDR training code itself. By implementing this code
+as SPL U-Boot. Then this file will not be needed any more and will
+get removed.

Which should at least enable building this image for now. Until I've 
submitted the missing patches to integrate the SPL code including the 
DDR setup code. I'm currently busy with the cleanup of this code. 
Hopefully this will follow later this week. But I really would like to 
have this basic A38x support added now.

> The build fails because of this. If this is the intended final state
> then I think you should define an environment variable to enable the
> binary build, so that we don't get buildman errors. For x86 (which has
> serious problems with binary blobs still) we use BUILD_ROM for this.
> It probably isn't a very good name for you, but you could create your
> own.

As explained above, the build should not fail. I'll take a look at it 
tomorrow and either send a follow up patch (when its already applied by 
then) or send v4 of this patchset.

Thanks,
Stefan

  reply	other threads:[~2015-05-03  9:16 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-25  4:29 [U-Boot] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 01/13] arm: armada-xp: Move SoC sources to mach-mvebu Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 02/13] arm: armada-xp: Move SoC headers to mach-mvebu/include/mach Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 03/13] arm: mvebu: Move mvebu-common into mach-mvebu Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 04/13] arm: mvebu: Change header macros from ARMADA_XP to MVEBU Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 05/13] arm: mvebu: Remove unreferenced define Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 06/13] arm: mvebu: Only define MV88F78X60 for Armada XP Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 07/13] arm: mvebu: Move CONFIG_SPL_LDSCRIPT to common header Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 08/13] arm: mvebu: Add basic Armada 38x support Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 09/13] arm: mvebu: Change network init code to allow a more flexible setup Stefan Roese
2015-05-04 22:50   ` Joe Hershberger
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 10/13] arm: mvebu: Remove coherency configuration Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 11/13] arm: mvebu: mv-common.h: Add CONFIG_PREBOOT Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 12/13] arm: mvebu: Add d-cache invalidate before enabling the d-cache Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 13/13] arm: mvebu: Add Armada A38x DB-88F6820-GP board support Stefan Roese
2015-05-02 20:59 ` [U-Boot] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support Simon Glass
2015-05-03  9:16   ` Stefan Roese [this message]
2015-05-03 17:20     ` Simon Glass
2015-05-04  7:50       ` Stefan Roese
2015-05-04 12:08         ` Simon Glass

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=5545E757.6020500@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.