All of lore.kernel.org
 help / color / mirror / Atom feed
* Is it a bug or it does not support device tree /delete-node/?
@ 2021-06-05  0:43 JH
  2021-06-05  8:45 ` [yocto] " Quentin Schulz
  0 siblings, 1 reply; 3+ messages in thread
From: JH @ 2021-06-05  0:43 UTC (permalink / raw)
  To: yocto; +Cc: openembedded-devel, Patches and discussions about the oe-core layer

Hi,

I am building following imx6ulz-kobs.dts file to a dtb in zeus:

$ cat imx6ulz-kobs.dts

#include "imx6ulz.dts"

/{
  model = "customized imx6ull";
  compatible = "fsl,imx6ull";
};

&gpmi {
    /delete-node/ fsl,use-minimum-ecc;
};

The building process was fine, but that fsl,use-minimum-ecc in dtb was
not deleted, is it a bug or it does not support  /delete-node/?

Thank you.

- jupiter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Is it a bug or it does not support device tree /delete-node/?
  2021-06-05  0:43 Is it a bug or it does not support device tree /delete-node/? JH
@ 2021-06-05  8:45 ` Quentin Schulz
  2021-06-06  2:41   ` JH
  0 siblings, 1 reply; 3+ messages in thread
From: Quentin Schulz @ 2021-06-05  8:45 UTC (permalink / raw)
  To: yocto, JH, yocto
  Cc: openembedded-devel, Patches and discussions about the oe-core layer

Hi,

On June 5, 2021 12:43:19 AM UTC, JH <jupiter.hce@gmail.com> wrote:
>Hi,
>
>I am building following imx6ulz-kobs.dts file to a dtb in zeus:
>
>$ cat imx6ulz-kobs.dts
>
>#include "imx6ulz.dts"
>
>/{
>  model = "customized imx6ull";
>  compatible = "fsl,imx6ull";
>};
>
>&gpmi {
>    /delete-node/ fsl,use-minimum-ecc;
>};
>
>The building process was fine, but that fsl,use-minimum-ecc in dtb was
>not deleted, is it a bug or it does not support  /delete-node/?
>

fsl,use-minimum-ecc is a property not a node, you need to use /delete-property/ instead, c.f. https://devicetree-specification.readthedocs.io/en/latest/chapter6-source-language.html?highlight=delete-property#node-and-property-definitions.

Cheers,
Quentin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Is it a bug or it does not support device tree /delete-node/?
  2021-06-05  8:45 ` [yocto] " Quentin Schulz
@ 2021-06-06  2:41   ` JH
  0 siblings, 0 replies; 3+ messages in thread
From: JH @ 2021-06-06  2:41 UTC (permalink / raw)
  To: Quentin Schulz
  Cc: yocto, openembedded-devel,
	Patches and discussions about the oe-core layer

Thanks Quentin, that did the trick.


On 6/5/21, Quentin Schulz <foss@0leil.net> wrote:
> Hi,
>
> On June 5, 2021 12:43:19 AM UTC, JH <jupiter.hce@gmail.com> wrote:
>>Hi,
>>
>>I am building following imx6ulz-kobs.dts file to a dtb in zeus:
>>
>>$ cat imx6ulz-kobs.dts
>>
>>#include "imx6ulz.dts"
>>
>>/{
>>  model = "customized imx6ull";
>>  compatible = "fsl,imx6ull";
>>};
>>
>>&gpmi {
>>    /delete-node/ fsl,use-minimum-ecc;
>>};
>>
>>The building process was fine, but that fsl,use-minimum-ecc in dtb was
>>not deleted, is it a bug or it does not support  /delete-node/?
>>
>
> fsl,use-minimum-ecc is a property not a node, you need to use
> /delete-property/ instead, c.f.
> https://devicetree-specification.readthedocs.io/en/latest/chapter6-source-language.html?highlight=delete-property#node-and-property-definitions.
>
> Cheers,
> Quentin
>


--
"A man can fail many times, but he isn't a failure until he begins to
blame somebody else."
-- John Burroughs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-06  2:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05  0:43 Is it a bug or it does not support device tree /delete-node/? JH
2021-06-05  8:45 ` [yocto] " Quentin Schulz
2021-06-06  2:41   ` JH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.