[U-Boot] [PATCH] ARM: dts: uniphier: move aliases node up to make fdtgrep happy

Simon Glass sjg at chromium.org
Sun Apr 2 23:24:54 UTC 2017


Hi Masahiro,

On 27 February 2017 at 05:50, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> Hi Simon,
>
>
> 2016-04-19 2:48 GMT+09:00 Simon Glass <sjg at chromium.org>:
>> HI Masahiro,
>>
>> On 18 April 2016 at 00:50, Masahiro Yamada
>> <yamada.masahiro at socionext.com> wrote:
>>>
>>> Hi Simon,
>>>
>>> No news about fdtgrep?
>>>
>>> I will apply this patch in a few days, though I am not happy about it.
>>
>> No sorry I have not got back to it. I recently did some buildman
>> fixes. I should get to it in the next few weeks but it will not be in
>> time for this release.
>>
>> Regards,
>> Simon
>
>
>
> Almost one year has passed since then.
>
>
> I still suffer from FDT_ERR_BADLAYOUT error of the fdtgrep
> when I try to sync DT files with Linux.
>
>
> Any progress on this?
>
>
> For example,
> http://patchwork.ozlabs.org/patch/732708/
>
> causes the following error.
>
>   OBJCOPY spl/u-boot-spl-nodtb.bin
>   FDTGREP spl/u-boot-spl.dtb
> Error at 'fdt_find_regions': FDT_ERR_BADLAYOUT
> /aliases node must come before all other nodes
>
>
> This seems unrelated to my patch.
> I believe the problem is on the side of the fdtgrep.

Yes it cannot handle having the /aliases node last. I think I have
figured out how to implement this so have sent a patch:

http://patchwork.ozlabs.org/patch/746216/

Regards,
Simon


More information about the U-Boot mailing list