Home
last modified time | relevance | path

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

123

/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
/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)
/external/u-boot/
DAndroid.bp60 "lib/libfdt/fdt_region.c",
61 "lib/libfdt/fdt_ro.c",
79 "tools/libfdt/fdt.c",
80 "tools/libfdt/fdt_addresses.c",
81 "tools/libfdt/fdt_empty_tree.c",
82 "tools/libfdt/fdt_overlay.c",
83 "tools/libfdt/fdt_rw.c",
84 "tools/libfdt/fdt_strerror.c",
85 "tools/libfdt/fdt_sw.c",
86 "tools/libfdt/fdt_wip.c",
[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
/external/arm-trusted-firmware/lib/libfdt/
Dlibfdt.mk7 LIBFDT_SRCS := $(addprefix lib/libfdt/libfdt/, \
17 INCLUDES += -Ilib/libfdt/libfdt
/external/u-boot/scripts/dtc/libfdt/
DMakefile.libfdt7 LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
8 LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
13 LIBFDT_LIB = libfdt-$(DTC_VERSION).$(SHAREDLIB_EXT)
/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/tools/dtoc/
Dfdt.py12 import libfdt
13 from libfdt import QUIET_NOTFOUND
30 (errnum, libfdt.fdt_strerror(errnum), msg))
209 (libfdt.NOSPACE,)) == -libfdt.NOSPACE:
306 if offset != -libfdt.FDT_ERR_NOTFOUND:
460 (libfdt.NOSPACE,))
461 if offset != -libfdt.NOSPACE:
505 self._fdt_obj = libfdt.Fdt(fd.read())
519 fdt._fdt_obj = libfdt.Fdt(bytes(data))
/external/u-boot/tools/binman/etype/
Dfdtmap.py80 global libfdt
84 import libfdt
124 fsw = libfdt.FdtSw()
/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
/external/dtc/libfdt/
DMakefile.libfdt6 LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
7 LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
/external/arm-trusted-firmware/plat/allwinner/common/
Dallwinner-common.mk15 include lib/libfdt/libfdt.mk
/external/arm-trusted-firmware/plat/rockchip/rk3368/
Dplatform.mk55 include lib/libfdt/libfdt.mk
/external/arm-trusted-firmware/plat/rpi/rpi4/
Dplatform.mk7 include lib/libfdt/libfdt.mk
/external/arm-trusted-firmware/plat/rockchip/rk3328/
Dplatform.mk59 include lib/libfdt/libfdt.mk
/external/arm-trusted-firmware/plat/rockchip/rk3288/
Dplatform.mk61 include lib/libfdt/libfdt.mk
/external/arm-trusted-firmware/plat/rockchip/px30/
Dplatform.mk66 include lib/libfdt/libfdt.mk
/external/u-boot/lib/
DKconfig462 This enables the FDT library (libfdt). It provides functions for
469 hex "Mask of conditions to assume for libfdt"
473 Use this to change the assumptions made by libfdt about the
475 are made, and libfdt is able to deal with malicious data. A value of
484 This enables the FDT library (libfdt) overlay support.
490 This enables the FDT library (libfdt). It provides functions for
497 hex "Mask of conditions to assume for libfdt"
501 Use this to change the assumptions made by libfdt in SPL about the
503 are made, and libfdt is able to deal with malicious data. A value of
511 This enables the FDT library (libfdt). It provides functions for
[all …]

123