Re: [RFC PATCH v1] imagebuilder: Add a script to check the sanity of device tree

2025-09-07 Thread Ayan Kumar Halder
Hi, On 01/09/2025 14:51, Ayan Kumar Halder wrote: Hi Michal, On 01/09/2025 14:17, Orzel, Michal wrote: On 01/09/2025 14:31, Ayan Kumar Halder wrote: Xen gives a panic if certain nodes are not present in the device tree. In order to prevent this panic, scripts/dt_sanity.py is written so that

Re: [RFC PATCH v1] imagebuilder: Add a script to check the sanity of device tree

2025-09-03 Thread Andrew Cooper
On 01/09/2025 1:31 pm, Ayan Kumar Halder wrote: > diff --git a/scripts/dt_sanity.py b/scripts/dt_sanity.py > new file mode 100644 > index 000..171947f > --- /dev/null > +++ b/scripts/dt_sanity.py > @@ -0,0 +1,33 @@ Shebang > +import argparse > +from pydevicetree import Devicetree pydevicetre

[RFC PATCH v1] imagebuilder: Add a script to check the sanity of device tree

2025-09-02 Thread Ayan Kumar Halder
Xen gives a panic if certain nodes are not present in the device tree. In order to prevent this panic, scripts/dt_sanity.py is written so that it checks if the node/s are present. If the node/s are not present, the script gives an error. User is expected to run the script against the device tree b

Re: [RFC PATCH v1] imagebuilder: Add a script to check the sanity of device tree

2025-09-01 Thread Ayan Kumar Halder
Hi Michal, On 01/09/2025 14:17, Orzel, Michal wrote: On 01/09/2025 14:31, Ayan Kumar Halder wrote: Xen gives a panic if certain nodes are not present in the device tree. In order to prevent this panic, scripts/dt_sanity.py is written so that it checks if the node/s are present. If the node/s a

Re: [RFC PATCH v1] imagebuilder: Add a script to check the sanity of device tree

2025-09-01 Thread Orzel, Michal
On 01/09/2025 14:31, Ayan Kumar Halder wrote: > Xen gives a panic if certain nodes are not present in the device tree. In > order > to prevent this panic, scripts/dt_sanity.py is written so that it checks if > the > node/s are present. If the node/s are not present, the script gives an error.