Page MenuHomeFreeBSD

FDT overlays support for ubdlr
ClosedPublic

Authored by gonzo on Jul 24 2015, 4:54 AM.
Tags
None
Referenced Files
F103142970: D3180.id.diff
Thu, Nov 21, 1:44 PM
F103133426: D3180.id.diff
Thu, Nov 21, 10:55 AM
Unknown Object (File)
Wed, Nov 20, 4:56 PM
Unknown Object (File)
Mon, Nov 18, 7:51 PM
Unknown Object (File)
Sun, Nov 10, 6:16 PM
Unknown Object (File)
Thu, Nov 7, 8:25 PM
Unknown Object (File)
Tue, Nov 5, 12:18 PM
Unknown Object (File)
Thu, Oct 24, 9:49 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 Not Applicable
Unit
Tests Not Applicable

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.