Page MenuHomeFreeBSD

Add dtb overlays support
ClosedPublic

Authored by manu on Mar 21 2018, 10:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 4, 10:40 PM
Unknown Object (File)
May 12 2024, 9:50 PM
Unknown Object (File)
May 9 2024, 7:48 PM
Unknown Object (File)
May 9 2024, 1:55 PM
Unknown Object (File)
May 8 2024, 12:21 AM
Unknown Object (File)
May 1 2024, 1:37 AM
Unknown Object (File)
Mar 18 2024, 5:43 AM
Unknown Object (File)
Jan 7 2024, 6:11 AM

Details

Reviewers
kevans
Group Reviewers
ARM
arm64
Commits
rS331499: Add dtb overlays support
Summary

DTB Overlays are useful to change/add nodes to a dtb without the need to modify it.
Add support for building dtbo during buildkernel.
Add a dtbo for sun8i-h3-sid which add the SID node missing in upstream dts.
The goal of DTBO present in the FreeBSD source tree is to fill a gap in time when we submit changes upstream (Linux). Instead of waiting 2 to 4 months we can add a DTBO in tree in the meantime.
This is not for adding DTBO for capes/hat/addon boards, those will be better to put in a ports.
This is also not for enabling a i2c/spi/pwm controller on certain pins, each user have a different use case for those (which pins to use etc ...) and we cannot have all possible configuration.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kevans added a subscriber: kevans.

This seems to hit all of the things I care about, at least: installed to /boot/dtb/overlays with /compatible specified on the overlay to make sure we're not producing .dtbo's that can easily be applied to the wrong board.

This revision is now accepted and ready to land.Mar 22 2018, 7:07 PM
This revision was automatically updated to reflect the committed changes.