[U-Boot] how to update libfdt
Simon Glass
sjg at chromium.org
Thu Jul 25 16:13:01 UTC 2019
Hi Matthias,
On Thu, 25 Jul 2019 at 03:44, Matthias Brugger <mbrugger at suse.com> wrote:
>
> Hi all,
>
> I realized that we have a bug in libfdt. This got fixes by upstream commit [1]:
> aa7254d ("libfdt: return correct value if #size-cells property is not present")
>
> which was added to the Linux kernel with commit:
> c2e7075ca830 ("scripts/dtc: Update to upstream version v1.4.7-57-gf267e674d145")
>
> Now my question is, how shall I integrate this fix into u-boot.
> Shall I just apply the necessary commits:
> aa7254d libfdt: return correct value if #size-cells property is not present
> c12b2b0 libfdt: fdt_address_cells() and fdt_size_cells()
Yes
>
> Or shall I sync the whole libfdt as done in the Linux kernel?
> In that case, to which version shall I update, just to v1.4.7-57-gf267e674d145
> or to the actual Linux kernel version v1.5.0-30-g702c1b6c0e73?
>
This is not possible as libfdt has increased its code size in a
release release. I have sent a series to fix that but it still needs
work.
> Regards,
> Matthias
>
> [1] https://github.com/dgibson/dtc.git
Regards,
Simon
More information about the U-Boot
mailing list