On Fri, Dec 30, 2022 at 04:24:43PM +0100, Pali Rohár wrote:
> On Friday 30 December 2022 10:21:04 Tom Rini wrote:
> > > In this case it would be better to build u-boot-dts.bin only by binman
> > > (for all platforms) instead of cat-ing rules in Makefile.
> > 
> > This would also be an easier path forward perhaps for making sure that
> > the dtb is always 8 byte aligned?
> 
> Well, no. With DTB the problem is that it is not put to the correct
> offset as can be specified in linker script. So moving this code from
> Makefile to binman also moves this problem to another location.
> 8 byte alignment is just subset of the "correct offset" problem.

Right, the high level answer is binman is intended to be the tool to
assemble binaries, and has to deal with "make sure binary X is at offset
Y, which also has a linker symbol for run-time references".

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to