Home
last modified time | relevance | path

Searched refs:libfdt (Results 1 – 25 of 35) sorted by relevance

12

/external/dtc/tests/
Dpylibfdt_tests.py57 import libfdt
58 from libfdt import FdtException, QUIET_NOTFOUND, QUIET_ALL
69 return 'pylibfdt error %d: %s' % (-err_code, libfdt.fdt_strerror(-err_code))
80 return libfdt.Fdt(open(fname).read())
113 self.assertEquals(type(libfdt), types.ModuleType)
118 fdt = libfdt.Fdt('a string')
119 self.assertEquals(e.exception.err, -libfdt.BADMAGIC)
127 self.assertEquals(e.exception.err, -libfdt.NOTFOUND)
129 -libfdt.NOTFOUND)
140 -libfdt.NOTFOUND)
[all …]
/external/u-boot/scripts/dtc/
Dupdate-dtc-source.sh62 cp ${DTC_UPSTREAM_PATH}/libfdt/${f} libfdt/${f}
63 git add libfdt/${f}
66 sed -i -- 's/#include <libfdt_env.h>/#include "libfdt_env.h"/g' ./libfdt/libfdt.h
67 sed -i -- 's/#include <fdt.h>/#include "fdt.h"/g' ./libfdt/libfdt.h
68 git add ./libfdt/libfdt.h
DMakefile13 HOSTCFLAGS_DTC := -I$(src) -I$(src)/libfdt
/external/dtc/
DREADME.license1 Licensing and contribution policy of dtc and libfdt
5 libfdt which comprises the files in the libfdt/ subdirectory. These
7 dtc does not incoporate or rely on libfdt for its operation, nor vice
17 libfdt, however, is GPL/BSD dual-licensed. That is, it may be used
20 given in the copyright banners of each of the libfdt source files.
24 I made the decision to license libfdt in this way because I want to
27 tools. Allowing libfdt to be used under the terms of the BSD license
30 This does mean that libfdt code could be "stolen" - say, included in a
32 back to the libfdt mainline. While I hope that doesn't happen, I
33 believe the goal of allowing libfdt to be widely used is more
[all …]
DREADME2 working with device tree source and binary files and also libfdt, a
22 >>> import libfdt
23 >>> fdt = libfdt.Fdt(open('test_tree1.dtb').read())
41 $ python -c "import libfdt; help(libfdt)"
61 To install both libfdt and pylibfdt you can use:
72 More work remains to support all of libfdt, including access to numeric
78 The following list is for discussion about dtc and libfdt implementation
DMakefile18 CPPFLAGS = -I libfdt -I .
127 all: $(BIN) libfdt
162 LIBFDT_objdir = libfdt
163 LIBFDT_srcdir = libfdt
164 LIBFDT_archive = $(LIBFDT_objdir)/libfdt.a
165 LIBFDT_lib = $(LIBFDT_objdir)/libfdt-$(DTC_VERSION).$(SHAREDLIB_EXT)
169 include $(LIBFDT_srcdir)/Makefile.libfdt
171 .PHONY: libfdt
172 libfdt: $(LIBFDT_archive) $(LIBFDT_lib) target
201 ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT)
DAndroid.bp12 static_libs: ["libfdt"],
/external/u-boot/tools/dtoc/
Dfdt.py12 import libfdt
28 (errnum, libfdt.fdt_strerror(errnum), msg))
219 offset = libfdt.fdt_first_subnode(self._fdt.GetFdt(), self.Offset())
228 offset = libfdt.fdt_next_subnode(self._fdt.GetFdt(), offset)
239 offset = libfdt.fdt_first_subnode(self._fdt.GetFdt(), self._offset)
242 offset = libfdt.fdt_next_subnode(self._fdt.GetFdt(), offset)
254 CheckErr(libfdt.fdt_delprop(self._fdt.GetFdt(), self.Offset(), prop_name),
275 self._fdt_obj = libfdt.Fdt(self._fdt)
327 CheckErr(libfdt.fdt_pack(self._fdt), 'pack')
328 fdt_len = libfdt.fdt_totalsize(self._fdt)
[all …]
/external/u-boot/scripts/dtc/pylibfdt/
DMakefile6 LIBFDT_srcdir = $(abspath $(srctree)/$(src)/../libfdt)
8 include $(LIBFDT_srcdir)/Makefile.libfdt
14 $(obj)/libfdt.i
31 clean-files += libfdt.i _libfdt.so libfdt.py libfdt_wrap.c
D.gitignore2 /libfdt.py
3 /libfdt.pyc
Dlibfdt.i_shipped8 %module libfdt
14 #include "libfdt.h"
21 # Error codes, corresponding to FDT_ERR_... in libfdt.h
70 This is used to check for errors returned by libfdt C functions.
73 val: Return value from a libfdt function
90 This is used to check for a NULL return value from certain libfdt C
94 val: Return value from a libfdt function
120 method xxx(args...) corresponds to a libfdt function fdt_xxx(fdt, args...).
385 %include "libfdt/fdt.h"
448 %include <../libfdt/libfdt.h>
/external/dtc/pylibfdt/
DMakefile.pylibfdt5 $(PYLIBFDT_srcdir)/libfdt.i
24 PYLIBFDT_cleanfiles = libfdt_wrap.c libfdt.py libfdt.pyc _libfdt.so
D.gitignore1 libfdt.py
2 libfdt.pyc
Dlibfdt.i53 %module libfdt
64 # Error codes, corresponding to FDT_ERR_... in libfdt.h
433 %include <../libfdt/libfdt.h>
/external/u-boot/lib/libfdt/
Dtest_libfdt.py9 import libfdt
14 print libfdt.fdt_path_offset(fdt, "/aliases")
DREADME1 The libfdt functionality was written by David Gibson. The original
4 URL: git://ozlabs.org/home/dgibson/git/libfdt.git
DMakefile25 ccflags-y := -I$(srctree)/scripts/dtc/libfdt
/external/u-boot/scripts/dtc/libfdt/
DMakefile.libfdt6 LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
7 LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
/external/dtc/libfdt/
DMakefile.libfdt6 LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
7 LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
DTODO3 - Complete libfdt.h documenting comments
DAndroid.bp2 name: "libfdt",
/external/u-boot/tools/
DMakefile71 LIBFDT_OBJS := $(addprefix libfdt/, $(patsubst %.c, %.o, $(LIBFDT_SRCS_SYNCED))) \
72 $(addprefix lib/libfdt/, $(patsubst %.c, %.o, $(LIBFDT_SRCS_UNSYNCED)))
248 -I$(srctree)/scripts/dtc/libfdt \
/external/u-boot/lib/
DMakefile15 obj-$(CONFIG_FIT) += libfdt/
62 obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/
/external/u-boot/doc/driver-model/
Dof-plat.txt270 tree data, since then libfdt would still be needed for those drivers and
290 The beginnings of a libfdt Python module are provided. So far this only
293 The 'swig' tool is needed to build the libfdt Python module. If this is not
309 - Move to using a full Python libfdt module
/external/u-boot/dts/
DKconfig249 is too large. This overhead includes libfdt code as well as the
256 the platform data directly in C structures, avoidin the libfdt
271 is too large. This overhead includes libfdt code as well as the
278 the platform data directly in C structures, avoidin the libfdt

12