On 05.11.2021 15:43, Bertrand Marquis wrote: >> On 4 Nov 2021, at 06:19, Vikram Garhwal <fnu.vik...@xilinx.com> wrote: >> >> Update libfdt to v1.6.1 of libfdt taken from git://github.com/dgibson/dtc. >> This update is done to support device tree overlays. >> >> A few minor changes are done to make it compatible with Xen: >> fdt_overlay.c: overlay_fixup_phandle() >> Replace strtoul() simple_strtoul() as strtoul() is not available in Xen >> lib >> and included lib.h. >> Change char *endptr to const char *endptr. >> >> libfdt_env.h: >> Changed path for config.h and stdbool.h. Remaining Xen changes to >> libfdt_env.h carried over from existing libfdt (v1.4.0) > > I can confirm that you updated all sources to version 1.6.1 and the changes > are actually limited to what you said here. > > But you forgot to update the version.lds file to sync it (which was done on > the > previous update to 1.4.0). Could also update version.lds ? > > I can also confirm this is compiling for arm32, arm64 and x86.
Since you mention it explicitly, I'm curious: x86? Do you have a custom patch in place to enable device tree (and hence libfdt building) there? Jan