Re: DTC Version and Reproducible Builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Sep 19, 2024 at 09:45:04PM +0000, Anthony Ortega wrote:
> David,
> 
> When I say DTC programs, I am referring to: convert-dtsv0, dtc,
> fdtdump, fdtget, fdtoverlay, fdtput

Ok.

> One other thing that wasn't immediately clear to me is if those
> tools are needed on the Linux side or just for U-Boot. In Buildroot
> it seems that U-Boot requires it when using Linux, which puts them
> in the Linux image. That could be another potential path forward.

I don't really understand the question.  They're userspace tools, so
whether you need them in any particular context depends on what you're
doing there.

> I'd be interested in seeing where the versioning logic was copied
> from. Since this seems to be the only package we are using that is
> doing this sort of versioning.

According to commit a657ce8f ("Add DTC release version information.")
it came from the Linux kernel... circa 2007.  The kernel's probably
doing something entirely different nowadays.

> Unfortunately, I don't think our system can be configured to use
> meson without a massive overhaul. In the short term I've applied a
> patch in our build that removes the line that grabs the commit tag
> during build.

That.. seems like a pretty serious limitation, given that more and
more packages are moving away from make.

But, in any case, I wasn't suggesting this as a practical workaround,
but more as a diagnostic.  If it works with meson we can look closer
at what it's doing and maybe duplicate it with make.

> 
> -Anthony
> 
> -----Original Message-----
> From: david@xxxxxxxxxxxxxxxxxxxxx <david@xxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, September 17, 2024 7:49 PM
> To: Anthony Ortega <anthony.ortega@xxxxxxxxxxxxxxxxx>
> Cc: devicetree-compiler@xxxxxxxxxxxxxxx
> Subject: Re: DTC Version and Reproducible Builds
> 
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> This e-mail message and any attachments are intended solely for the specified addressee(s) and may be confidential, proprietary, privileged, and/or U.S. export controlled. If you are not the intended recipient, you are hereby notified that any use, disclosure, distribution, copying, or storage of this message or its attachments is strictly prohibited. Please immediately notify the sender by return e-mail and delete this message and any attachments.
> 

-- 
David Gibson (he or they)	| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you, not the other way
				| around.
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux