package/dtc: backport upstream fix solving Assertion Error with some .dts files
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 24 Nov 2018 09:04:03 +0000 (10:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 26 Nov 2018 16:26:13 +0000 (17:26 +0100)
commitea7c5aad0f2192429176d6f0b7f9612f7d970fcf
tree4fcfed9ab5103d9198b6dd0cdae071d479053f76
parentf2922d9765616652017a0346543656739d81bf0c
package/dtc: backport upstream fix solving Assertion Error with some .dts files

The build of U-Boot on Microchip (formerly Atmel) platforms currently
fails to build with an Assertion Error in dtc. This happens since we
bumped dtc from 1.4.4 to 1.4.7, as a regression was introduced in dtc
1.4.6, and fixed post-1.4.7. This commit backports the upstream commit
to resolve this Assertion Error.

The build error was:

dtc: livetree.c:438: propval_cell: Assertion `prop->val.len == sizeof(cell_t)' failed.
dtc: livetree.c:438: propval_cell: Assertion `prop->val.len == sizeof(cell_t)' failed.
Aborted (core dumped)

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/124434438
  (and numerous other similar build failures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dtc/0003-checks-fix-simple-bus-compatible-matching.patch [new file with mode: 0644]