[U-Boot] [PATCH 014/126] fdt: Show the preprocessed .dts file on error
Bin Meng
bmeng.cn at gmail.com
Fri Oct 4 09:44:53 UTC 2019
Hi Simon,
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <sjg at chromium.org> wrote:
>
> When device-tree compilation fails it is sometimes tricky to see which
> line is broken, since the input file to dtc is a pre-processed version
> of the device tree.
>
> Add a line that points to the file that needs to be checked:
>
> Output is something like this:
>
> Error: arch/x86/dts/.chromebook_coral.dtb.pre.tmp:170.15-16 syntax error
This line already provides information that you need.
> FATAL ERROR: Unable to parse input tree
> Check /tmp/b/chromebook_coral/arch/x86/dts/.chromebook_coral.dtb.pre.tmp
I don't understand why we need another line that provides the same information.
> for errors
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> scripts/Makefile.lib | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
Regards,
Bin
More information about the U-Boot
mailing list