History log of /seL4-camkes-master/projects/projects_libs/libfdtgen/fdtgen.c
Revision Date Author Comments
# 23bb3e91 17-Dec-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: fix string_buf overwriting

string_buf will be overwritten by recursive calls,
need to back up the string_buf before recursive calls
and free after that.


# f92793e0 14-Oct-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: reslove node deps when not present

resolve the dependency of the nodes in the path
when the dependency is not present


# 967c4d4b 14-Oct-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: fix keep_node_and_parents

1. reset string buffer when early exits
2. fix indent in various functions
3. resolve the dependency of the nodes on the path


# f8f1f4f2 09-Oct-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: construct fullpath while traversing

this eliminates expensive calls to fdt_get_path


# d794cf70 08-Oct-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: performance tune

1. add compile options
2. add early exit for trim_tree
3. optimise the procedure to resolve dependency


# 19f2bf6e 23-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: add keep and disable apis

this commit added the "keep and disable" apis, which could keep
the device nodes in-tree but disabled
this commit also improved the workflow to resolve dependency
removed the duplicated keep_node table


# 9d1dd4df 16-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: remove debugging functions

remove the helper functions which were used during development


# 9bab492b 11-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: remove arm_vm specific function

these functions are in arm_vm repo now


# 63117ade 11-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: move uthash into libutil

move uthash into libutil


# 3b1e96a5 11-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: replace magic number with constant

replace magic number with constant


# 2e7cc861 11-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: add appropriate error handling

this library can now return error when failing instead of halt


# da3cd5bc 11-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: remove redundant memcpy

we can fdt_open_into the new buffer


# 88e8fa26 11-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: add documentation

1. renamed struct fdtgen to fdtgen_context
2. added documentation to the interfaces


# 6f30ba39 10-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: multi arch support

support 32bit and 64bit memory and chosen node generation
this commit also fixed a small memory leak when free


# b3102ab2 10-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: implement OO style interfaces

removed all the usage of static variable to allow
concurrent access to this library


# 5131cf85 10-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: rename d_list to to_list

rename d_list to to_list


# f382e39a 10-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: resolve power-domains dependency

resolve power-domains dependency


# 2a3b570f 05-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: Add more interfaces

this commit added interfaces to generate memory and chosen nodes.
this commit also fixed the resolving of clocks property dependency.


# c21e76ec 04-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: remove incomplete lenp check

since clocks prop has variable length, need to think
about a way to check lenp based on prop type.


# c94b205c 04-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: fixup several things form review

1: add license tag for uthash.h
2: replace assert with ZF_LOGF
3: fix a small memory leak
4: restructure prop type check
5: fix fix print_d_node debug function


# a7f7b7c1 04-Sep-2019 Yu Hou <Yu.Hou@data61.csiro.au>

libfdtgen: initial release

this library can generate a sub-devicetree
using a root devicetree and a specification