> but nothing came up on the right hand side
Hmmm... Sorry about that.

There are these 2 commands that the dtv-demo executes behind the
scenes to gather the necessary information.
One (or both) of them could be failing.
Here is a patch that logs those 2 complete commands with the actual arguments.

Try re-running dtv-demo with this patch applied.
Once you have these 2 logs (say cmdX and cmdY),
you can try manually running them by piping the output of the first
command to the second
i.e. cmdX | cmdY to identify and fix whatever is necessary on the system.

If you find that you are having issues running the pre-compiled dtc
binary within dtv-demo,
please feel free to replace it with any recent dtc binary on your
system which supports the -T cmd-line parameter.


@@ -115,11 +115,13 @@ def annotateDTS(trwIncludedFiles, dtsFile):
     # cpp ${cpp_flags} ${cpp_includes} ${dtx} | ${DTC} ${dtc_flags}
${dtc_include} -I dts
     cpp = 'cpp '
     cppFlags += '-nostdinc -undef -D__DTS__ -x assembler-with-cpp '
+    print(cpp + cppFlags + cppIncludes + ' ' + dtsFile)
     cppResult = subprocess.run(cpp + cppFlags + cppIncludes + ' ' + dtsFile,
                                stdout=PIPE, stderr=PIPE, shell=True)

     dtc = './dtc '
     dtcFlags = '-I dts -O dts -f -s -T -T -o - '
+    print(dtc + dtcFlags + dtcIncludes)
     dtcResult = subprocess.run(dtc + dtcFlags + dtcIncludes,
stdout=PIPE, stderr=PIPE, input=cppResult.stdout, shell=True)

     # Create a temporary file in the current working directory

I hope this helps...

regards
CVS
_______________________________________________
boot-architecture mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/boot-architecture

Reply via email to