Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| comparing_device_trees_with_dtx_diff [2018/11/17 16:13] – [Comparing two .dts files already in the kernel source tree (Part one)] rpjday | comparing_device_trees_with_dtx_diff [2018/11/17 18:33] (current) – [Comparing two .dts files already in the kernel source tree (Part deux)] rpjday | ||
|---|---|---|---|
| Line 89: | Line 89: | ||
| In short, as long as you're still inside the relevant kernel source tree, comparisons will work -- you just need to make sure the '' | In short, as long as you're still inside the relevant kernel source tree, comparisons will work -- you just need to make sure the '' | ||
| + | |||
| + | ===== Comparing two device tree files out of tree -- apparent bug ===== | ||
| + | |||
| + | What doesn' | ||
| + | |||
| + | < | ||
| + | $ cp imx6q{, | ||
| + | $ cd /tmp | ||
| + | $ dtx_diff -s ~/k/git imx6q{, | ||
| + | imx6qp-sabresd.dts: | ||
| + | # | ||
| + | ^~~~~~~~~~~~~ | ||
| + | imx6q-sabresd.dts: | ||
| + | # | ||
| + | ^~~~~~~~~~~~ | ||
| + | compilation terminated. | ||
| + | compilation terminated. | ||
| + | Error: imx6qp-sabresd.dts: | ||
| + | |||
| + | FATAL ERROR: FATAL ERROR: Unable to parse input tree | ||
| + | Unable to parse input tree | ||
| + | |||
| + | Possible hints to resolve the above error: | ||
| + | |||
| + | (hints might not fix the problem) | ||
| + | Possible hints to resolve the above error: | ||
| + | (hints might not fix the problem) | ||
| + | |||
| + | |||
| + | No hints available. | ||
| + | No hints available. | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | I have no idea why this fails -- obviously, even when telling '' | ||