sandbox: drivers/core/ofnode.c:118: ofnode_read_bool: Assertion `ofnode_valid(node)' failed.

Simon Glass sjg at chromium.org
Tue Jul 20 20:32:48 CEST 2021


Hi Heinrich,

On Sat, 10 Jul 2021 at 05:57, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Hello Simon,
>
> if I set DEBUG=1 in common.h I get:
>
> drivers/core/ofnode.c:118: ofnode_read_bool: Assertion
> `ofnode_valid(node)' failed.
> drivers/core/ofnode.c:133: ofnode_read_prop: Assertion
> `ofnode_valid(node)' failed.
> drivers/core/ofnode.c:192: ofnode_find_subnode: Assertion
> `ofnode_valid(node)' failed.
> drivers/core/ofnode.c:243: ofnode_first_subnode: Assertion
> `ofnode_valid(node)' failed.
>
> Why do we have assertions here if the sandbox makes them fail?

That indicates a bug.

However just adding that line of code cannot create such errors. Do
you mean that you ran sandbox and did something in particular?

Regards,
Simon


More information about the U-Boot mailing list