Page MenuHomeFreeBSD

FDT overlays support for ubdlr
ClosedPublic

Authored by gonzo on Jul 24 2015, 4:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 5:14 PM
Unknown Object (File)
Wed, Apr 17, 11:24 AM
Unknown Object (File)
Tue, Mar 26, 10:37 PM
Unknown Object (File)
Feb 23 2024, 4:31 PM
Unknown Object (File)
Feb 9 2024, 10:47 PM
Unknown Object (File)
Feb 1 2024, 8:00 PM
Unknown Object (File)
Feb 1 2024, 8:00 PM
Unknown Object (File)
Jan 30 2024, 2:13 PM

Details

Summary

Add support for DTB overlays to ubldr:

  • Add handler for fdt_overlays variable to ubldr.

"fdt_overlays" is coma-separated list of overlay files. ubldr would try to load files one by one from /boot/dtb/ and right before final DTB fixup it would try to apply them to current FDT blob. Variable can be either u-boot env variable or loader env variable.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

gonzo retitled this revision from to FDT overlays support for ubdlr.
gonzo updated this object.
gonzo edited the test plan for this revision. (Show Details)
gonzo added reviewers: andrew, ian.
gonzo set the repository for this revision to rS FreeBSD src repository - subversion.
gonzo added a subscriber: ARM.

Are these changes from upstream dtc?

In D3180#63461, @imp wrote:

Are these changes from upstream dtc?

Not from official tree as far as I understand. I merged this patch:
https://github.com/RobertCNelson/dtc/commit/dd6a0533e846e8d5e690a618fa35cc15a6103efb

In D3180#63462, @gonzo wrote:
In D3180#63461, @imp wrote:

Are these changes from upstream dtc?

Not from official tree as far as I understand. I merged this patch:
https://github.com/RobertCNelson/dtc/commit/dd6a0533e846e8d5e690a618fa35cc15a6103efb

We need to be careful integrating it. We don't want to create a permanent fork...

This is really cool and needful stuff, though, so I'm torn.

Even if the overlay isn't standard it would be nice to commit the ubldr support.
And maybe provide a ports/pkg for the non-standard dtc ?

gonzo updated this object.
gonzo edited edge metadata.

Remove dtc patch as non-standard, leave only ubldr part. It still can be used with vendor-provided .dtb/.dtbo files

This revision was automatically updated to reflect the committed changes.