[Skiboot] [PATCH] hdata: Add FDT output to hdata_to_dt

Stewart Smith stewart at linux.vnet.ibm.com
Mon Feb 6 18:34:10 AEDT 2017


Oliver O'Halloran <oohall at gmail.com> writes:
> Adds a new -d <filename> command line option to the hdata_to_dt utility
> to output a FDT blob. This lets us output the output DT in standard form
> that can be handled by the usual tools such as dtc.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
>  hdata/test/hdata_to_dt.c | 48 ++++++++++++++++++++++++++++++++++++++++++----
>  hdata/test/stubs.c       | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 94 insertions(+), 4 deletions(-)

Cool, thanks for looking into this!

I've also just sent out patches to use it in the test suite:
https://patchwork.ozlabs.org/patch/724370/
https://patchwork.ozlabs.org/patch/724369/

https://github.com/stewart-ibm/skiboot/tree/dtb-test

An ack there would be appreciated :)

Looking at it, I kind of figured that non-dtb/dts output isn't really
worth anything and just removed it (at least from hdata_to_dt).

So, this patch merged to master as of 420d62d8f545204ff615b3062b01babb8b98e11c


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list