diff options
author | Paul Barker <pbarker@konsulko.com> | 2020-12-19 18:51:09 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-01-11 17:43:06 +0000 |
commit | 88210ca58e31ed0a54532f35789110f8e6af7770 (patch) | |
tree | d066189c74679c35d038f00ab20b96234c5f7570 /meta-agl-bsp/conf/include/agl_m3-salvator-x-nogfx.inc | |
parent | a857b0b23a64a8cf209dc35c4773d22ab236162d (diff) |
raspberrypi: dtc: Prevent overlays from modifying phandle properties
The cma-overlay fragment included in vc4-fkms-v3d-overlay ends up with
a phandle property within the __overlay__ fragment due to the references
to this fragment from the __overrides__ section. So when this overlay
fragment is applied it was modifying the phandle of the target node,
breaking other references to this node in the base dtb and breaking the
resolution of symbols within the fdt.
The failure is seen in the create-combined-dtb recipe but the best place
to fix this is in libfdt itself. When applying an overlay fragment, if
both the target node and the overlay fragment contain phandle properties
we skip modification of the target node phandle. The included patch has
been submitted upstream for review.
Bug-AGL: SPEC-3702
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Change-Id: I0661de41162fa4f8eed8421878049b9027536b41
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25839
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/conf/include/agl_m3-salvator-x-nogfx.inc')
0 files changed, 0 insertions, 0 deletions