All of lore.kernel.org
 help / color / mirror / Atom feed
* mvebu/x530: Difference between spl/u-boot-spl.bin and spl/u-boot-spl-dtb.bin
@ 2021-10-06 12:38 Pali Rohár
  2021-10-07  8:09 ` Chris Packham
  0 siblings, 1 reply; 3+ messages in thread
From: Pali Rohár @ 2021-10-06 12:38 UTC (permalink / raw)
  To: Stefan Roese, u-boot, Marek Behún, Chris Packham

Hello!

I would like to ask, what is the difference between spl/u-boot-spl.bin
and spl/u-boot-spl-dtb.bin binaries?

Because there is board/alliedtelesis/x530/kwbimage.cfg file which
overrides global file arch/arm/mach-mvebu/kwbimage.cfg.in and the only
difference between these files is that board specific file uses
spl/u-boot-spl-dtb.bin instead of spl/u-boot-spl.bin.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mvebu/x530: Difference between spl/u-boot-spl.bin and spl/u-boot-spl-dtb.bin
  2021-10-06 12:38 mvebu/x530: Difference between spl/u-boot-spl.bin and spl/u-boot-spl-dtb.bin Pali Rohár
@ 2021-10-07  8:09 ` Chris Packham
  2021-10-07  8:23   ` Pali Rohár
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Packham @ 2021-10-07  8:09 UTC (permalink / raw)
  To: Pali Rohár; +Cc: Stefan Roese, u-boot, Marek Behún

On Thu, Oct 7, 2021 at 1:38 AM Pali Rohár <pali@kernel.org> wrote:
>
> Hello!
>
> I would like to ask, what is the difference between spl/u-boot-spl.bin
> and spl/u-boot-spl-dtb.bin binaries?

The latter has a dtb appended. But I can't recall the x530
specifically needing to be different to the other platforms... sure
enough all the a385 boards the time the x530 was added used
spl/u-boot-spl-dtb.bin.

> Because there is board/alliedtelesis/x530/kwbimage.cfg file which
> overrides global file arch/arm/mach-mvebu/kwbimage.cfg.in and the only
> difference between these files is that board specific file uses
> spl/u-boot-spl-dtb.bin instead of spl/u-boot-spl.bin.

I think the real source of the discrepancy is that the addition of the
x530 board was in flight at the same time as ca1a4c863232 ("mvebu:
select boot device at SoC level"). I don't know of any reason
specifically that the x530 needs to be different. If I get a chance
I'll try it without a custom kwbimage.cfg.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mvebu/x530: Difference between spl/u-boot-spl.bin and spl/u-boot-spl-dtb.bin
  2021-10-07  8:09 ` Chris Packham
@ 2021-10-07  8:23   ` Pali Rohár
  0 siblings, 0 replies; 3+ messages in thread
From: Pali Rohár @ 2021-10-07  8:23 UTC (permalink / raw)
  To: Chris Packham; +Cc: Stefan Roese, u-boot, Marek Behún

On Thursday 07 October 2021 21:09:40 Chris Packham wrote:
> On Thu, Oct 7, 2021 at 1:38 AM Pali Rohár <pali@kernel.org> wrote:
> >
> > Hello!
> >
> > I would like to ask, what is the difference between spl/u-boot-spl.bin
> > and spl/u-boot-spl-dtb.bin binaries?
> 
> The latter has a dtb appended. But I can't recall the x530
> specifically needing to be different to the other platforms... sure
> enough all the a385 boards the time the x530 was added used
> spl/u-boot-spl-dtb.bin.

I have checked that A385 Omnia board has these two files same. So seems
that both files for this board have DTB appended.

> > Because there is board/alliedtelesis/x530/kwbimage.cfg file which
> > overrides global file arch/arm/mach-mvebu/kwbimage.cfg.in and the only
> > difference between these files is that board specific file uses
> > spl/u-boot-spl-dtb.bin instead of spl/u-boot-spl.bin.
> 
> I think the real source of the discrepancy is that the addition of the
> x530 board was in flight at the same time as ca1a4c863232 ("mvebu:
> select boot device at SoC level"). I don't know of any reason
> specifically that the x530 needs to be different. If I get a chance
> I'll try it without a custom kwbimage.cfg.

Ok. If you have a time, please check if default kwbimage.cfg works. It
could simplify build.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-07  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 12:38 mvebu/x530: Difference between spl/u-boot-spl.bin and spl/u-boot-spl-dtb.bin Pali Rohár
2021-10-07  8:09 ` Chris Packham
2021-10-07  8:23   ` Pali Rohár

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.