On Mon, May 20, 2024 at 07:20:12PM +0200, Szőke Benjamin wrote: > So, in Yocto project build system point of view the best, if any Machine > specific settings is stored in the device tree files of the target machine > in driver levels/config, because it will be deterministic in 100% sure and > it will be nicely separated from the SW meta layers which may not contains > any machine specific hacking with udev and so on. Given that with Yocto you're building a full system image it's not super obvious to me that it is particularly harder to ship udev rules in the image as opposed to modifying the DT. It's a little more annoying but not drastically so and it's not creating a burden on the ABI for something that's mainly used within a vertically integrated software stack. > DT binding would need to be documented later in a separated patch as a > guideline mentioned it in Linux repo. No, that needs to happen along with the code change.
Attachment:
signature.asc
Description: PGP signature