-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show deleted nodes, props and labels as commented out in output .dts #62
Comments
I'm afraid I'm really not sure what you're asking for. |
@dgibson for example, command to generate full annotated final DTS file
Problem 1dtc put in comment only the latest merged source file for property, but left all source files for nodes. Example: A.dts
B.dts
C.dts
But I expected "B.dts" for "test" property too, like this:
Problem 2In current version not possible to trace where "/delete-node/" or "/delete-property/" was called. For example: A.dts
B.dts
C.dts
Final version:
When you analyze 10+ includes and reverse back DTB + overlay to DTS it's hard to trace which file cause a problem after updates. At the beginning I told to do like this when using annotations:
It will be much easy to find a problem with side-effect updates in DTS-files |
Sorry it's taken me so long to respond. I'd actually completely forgotten about the annotation feature, which is why I was confused. Reviewing properly now. |
Ok, let me know when you have somehting ready for review. |
Hi @dgibson , unfortunately solution without "was_deleted" is much worse and it doesn't cover all cases. It inserts and left nodes and properties, if dtc parse |
If you need it, you need to describe its sematics, and how it differs from |
Hi @dgibson sorry for long delay, I replaced Example Stage 1. Create node with sub_node and prop1
Stage 2. Delete node
Stage 3. Re-create node with prop1
Stage 4. Add sub-node with prop3
Stage 5. Delete sub-node
|
Hi, I'm bringing back to life "Device Tree Visualizer"
This project is helpful for our team to analyze complex projects where multiple DTS included and overlayed.
I made a few WORKAROUNDs inside my fork.
But I'm not expert in DT compiler and it's hard to imagine whole picture "how dtc works".
Is it possible to generate compatible DTS which highlight "deleted nodes/props" but when you pass special flag?
The text was updated successfully, but these errors were encountered: