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)
Sun, Nov 24, 1:23 AM
Unknown Object (File)
Sat, Nov 23, 5:14 PM
Unknown Object (File)
Fri, Nov 22, 4:54 PM
Unknown Object (File)
Fri, Nov 22, 12:16 PM
Unknown Object (File)
Thu, Nov 21, 1:44 PM
Unknown Object (File)
Thu, Nov 21, 10:55 AM
Unknown Object (File)
Wed, Nov 20, 4:56 PM
Unknown Object (File)
Mon, Nov 18, 7:51 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.