* [PATCH kvmtool 0/2] Add libfdt library
@ 2022-05-26 15:30 Alexandru Elisei
2022-05-26 15:30 ` [PATCH kvmtool 2/2] INSTALL: Remove all mentions of libfdt Alexandru Elisei
2022-05-26 15:59 ` [PATCH kvmtool 0/2] Add libfdt library Andre Przywara
0 siblings, 2 replies; 4+ messages in thread
From: Alexandru Elisei @ 2022-05-26 15:30 UTC (permalink / raw)
To: will, julien.thierry.kdev, maz, andre.przywara, suzuki.poulose,
james.morse, vladimir.murzin, anup, linux-arm-kernel, kvmarm
I found it very difficult to cross-build kvmtool for all arches because for
some architectures I couldn't get libfdt to install: either dtc wasn't
compiling (x86 machine, Arch Linux, missing yaml.h include when building
for arm and powerpc), or libfdt was not being found by Makefile after
installing it (x86 machine, Debian 11, building for powerpc). It was
possible to compile only libfdt and teach Makefile where to look for it,
which is what I ended up doing, but in my opinion, that's not an ideal user
experience.
This is my attempt at making compilation easier by pulling in the libfdt
library and having kvmtool compile it when an architecture requires it. All
the user needs to do now is to find a suitable cross-compiler toolchain
with glibc included [1]*.
When making lkvm-static, the static version of libfdt is built (libfdt.a);
for all other make targets the shared library is built. This only happens
for those arches that require libfdt (arm, arm64, riscv, powerpc); libfdt
is not built for MIPS and x86.
I am pretty happy with how libfdt has been integrated with the kvmtool
build system. The only niggle is that the libfdt_clean target echoes the
commands to remove the build artifacts:
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- clean
Makefile:378: Skipping optional libraries: bfd zlib aio
CLEAN (libfdt)
rm -f libfdt/*.o libfdt/libfdt.a libfdt/libfdt-1.6.1.so
rm -f libfdt/libfdt.so.1
CLEAN
but I believe that's impossible to change without modifying the libfdt
Makefile, which I don't want to do to keep it as easy as possible to update
libfdt.
Made some quick measurement about how libfdt affects the build time when
building from a clean directory (incremental builds do not rebuild libfdt):
- On a rockpro64, on the little core (Cortex-A53), running
$ time taskset -c 0 make
with libfdt takes an average of 90.721s (averaged over 3 runs, standard
deviation 0.040s); without libfdt it takes 84.003s (averaged over 3 runs,
stddev of 0.105s). That's a 6.718s absolute increase, or a 7.997% relative
increase.
- On the same rockpro64, on the big core (Cortex-A72), running
$ time taskset -c 5 make
with libfdt takes an average of 45.078s (averaged over 3 runs, stddev of
0.060s); without libfdt it takes 41.836s (averaged over 3 runs, stddev of
0.065). That's a 3.242s absolute increase, or a 7.749% relative increase.
I believe that the ease of use more than justifies the increased
compilation time.
Testing
=======
On x86 host, compiled for x86, MIPS, arm, arm64, powerpc, riscv. Booted an
x86 VM.
On arm64 host, compiled for arm64 and arm. I tried to cross-compile for
other targets, but I couldn't find a cross-compiler toolchain for arm64
hosts that included a libc implementation. The arm cross-compiler was
downloaded from the developer.arm.com [2]. Ran kvm-unit-tests for arm64 and
arm (on the arm64 version of kvmtool), and also booted a kernel.
*only for x86 hosts.
[1] https://toolchains.bootlin.com/
[2] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads
Alexandru Elisei (2):
Add libfdt library
INSTALL: Remove all mentions of libfdt
INSTALL | 27 +-
Makefile | 53 +-
libfdt/.gitignore | 1 +
libfdt/Makefile.libfdt | 18 +
libfdt/TODO | 3 +
libfdt/fdt.c | 335 ++++++
libfdt/fdt.h | 66 ++
libfdt/fdt_addresses.c | 101 ++
libfdt/fdt_check.c | 93 ++
libfdt/fdt_empty_tree.c | 38 +
libfdt/fdt_overlay.c | 867 +++++++++++++++
libfdt/fdt_ro.c | 859 +++++++++++++++
libfdt/fdt_rw.c | 500 +++++++++
libfdt/fdt_strerror.c | 60 ++
libfdt/fdt_sw.c | 384 +++++++
libfdt/fdt_wip.c | 94 ++
libfdt/libfdt.h | 2147 ++++++++++++++++++++++++++++++++++++++
libfdt/libfdt_env.h | 96 ++
libfdt/libfdt_internal.h | 192 ++++
libfdt/meson.build | 55 +
libfdt/version.lds | 83 ++
21 files changed, 6033 insertions(+), 39 deletions(-)
create mode 100644 libfdt/.gitignore
create mode 100644 libfdt/Makefile.libfdt
create mode 100644 libfdt/TODO
create mode 100644 libfdt/fdt.c
create mode 100644 libfdt/fdt.h
create mode 100644 libfdt/fdt_addresses.c
create mode 100644 libfdt/fdt_check.c
create mode 100644 libfdt/fdt_empty_tree.c
create mode 100644 libfdt/fdt_overlay.c
create mode 100644 libfdt/fdt_ro.c
create mode 100644 libfdt/fdt_rw.c
create mode 100644 libfdt/fdt_strerror.c
create mode 100644 libfdt/fdt_sw.c
create mode 100644 libfdt/fdt_wip.c
create mode 100644 libfdt/libfdt.h
create mode 100644 libfdt/libfdt_env.h
create mode 100644 libfdt/libfdt_internal.h
create mode 100644 libfdt/meson.build
create mode 100644 libfdt/version.lds
--
2.36.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH kvmtool 2/2] INSTALL: Remove all mentions of libfdt
2022-05-26 15:30 [PATCH kvmtool 0/2] Add libfdt library Alexandru Elisei
@ 2022-05-26 15:30 ` Alexandru Elisei
2022-05-26 15:59 ` [PATCH kvmtool 0/2] Add libfdt library Andre Przywara
1 sibling, 0 replies; 4+ messages in thread
From: Alexandru Elisei @ 2022-05-26 15:30 UTC (permalink / raw)
To: will, julien.thierry.kdev, maz, andre.przywara, suzuki.poulose,
james.morse, vladimir.murzin, anup, linux-arm-kernel, kvmarm
kvmtool doesn't have a dependency on the external libfdt library anymore,
remove the instructions to compile and install it.
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
---
INSTALL | 27 +--------------------------
1 file changed, 1 insertion(+), 26 deletions(-)
diff --git a/INSTALL b/INSTALL
index 951b12339887..db51c0fa8db6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -26,11 +26,6 @@ For Fedora based systems:
For OpenSUSE based systems:
# zypper install glibc-devel-static
-Architectures which require device tree (PowerPC, ARM, ARM64, RISC-V) also
-require libfdt.
- deb: $ sudo apt-get install libfdt-dev
- Fedora: # yum install libfdt-devel
- OpenSUSE: # zypper install libfdt1-devel
Also see "Cross compiling" below.
Optional libraries
@@ -77,24 +72,4 @@ Missing libraries when cross-compiling
The cross-compiler will look for target libraries in its SYSROOT directory,
so you need to put the header and library files (.so) there.
While most cross compiler packages come with the target's glibc already
-installed, optional libraries (or libfdt) maybe not.
-On multiarch system you should be able to install those be appending
-the architecture name after the package (example for ARM64):
-$ sudo apt-get install libfdt-dev:arm64
-
-PowerPC, ARM/ARM64 and RISC-V require libfdt to be installed. If you cannot use
-precompiled mulitarch packages, you could either copy the required header and
-library files from an installed target system into the SYSROOT (you will need
-/usr/include/*fdt*.h and /usr/lib64/libfdt-v.v.v.so and its symlinks), or you
-can cross-compile the libfdt library yourself:
-
-$ git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git
-$ cd dtc
-$ export CC=${CROSS_COMPILE}gcc
-$ TRIPLET=$($CC -dumpmachine)
-$ SYSROOT=$($CC -print-sysroot)
-$ make libfdt
-$ sudo make DESTDIR=$SYSROOT PREFIX=/usr LIBDIR=/usr/lib/$TRIPLET install-lib install-includes
-
-This assumes a multiarch-enabled system, if there is no per-arch directory for
-libraries, replace the LIBDIR paths above with LIBDIR=/usr/lib or /usr/lib64.
+installed, optional libraries may not be present.
--
2.36.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH kvmtool 0/2] Add libfdt library
2022-05-26 15:30 [PATCH kvmtool 0/2] Add libfdt library Alexandru Elisei
2022-05-26 15:30 ` [PATCH kvmtool 2/2] INSTALL: Remove all mentions of libfdt Alexandru Elisei
@ 2022-05-26 15:59 ` Andre Przywara
2022-05-26 16:45 ` Alexandru Elisei
1 sibling, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2022-05-26 15:59 UTC (permalink / raw)
To: Alexandru Elisei
Cc: will, julien.thierry.kdev, maz, suzuki.poulose, james.morse,
vladimir.murzin, anup, linux-arm-kernel, kvmarm
On Thu, 26 May 2022 16:30:56 +0100
Alexandru Elisei <alexandru.elisei@arm.com> wrote:
Hi Alex,
> I found it very difficult to cross-build kvmtool for all arches because for
> some architectures I couldn't get libfdt to install: either dtc wasn't
> compiling (x86 machine, Arch Linux, missing yaml.h include when building
> for arm and powerpc), or libfdt was not being found by Makefile after
> installing it (x86 machine, Debian 11, building for powerpc). It was
> possible to compile only libfdt and teach Makefile where to look for it,
> which is what I ended up doing, but in my opinion, that's not an ideal user
> experience.
Meh. Nobody said that userland cross compilation would be a walk in the
park, and this approach (cross-compiling and putting in SYSROOT) is the
canonical approach. When using a multiarch capable distro, this is easy
enough.
But I see that this is some major pain point for an otherwise rather "low
maintenance" tool, and libfdt is designed to be embedded, so I guess this
is fine, with the caveat mentioned below.
> This is my attempt at making compilation easier by pulling in the libfdt
> library and having kvmtool compile it when an architecture requires it. All
> the user needs to do now is to find a suitable cross-compiler toolchain
> with glibc included [1]*.
>
> When making lkvm-static, the static version of libfdt is built (libfdt.a);
> for all other make targets the shared library is built.
So does that mean that the .so gets shipped with kvmtool? And it should be
installed as part of "make install"? I think that might bring up more
questions and problems, so do we want to leave the user some choice?
- The user brings their own libfdt. This should be the case for any clean
userland cross compilation, where you install target libraries in SYSROOT,
just for compilation, and have the .so file also on the actual target
system. This would also be best for native compilation. Current situation.
- The user decides to use the built-in libfdt, in which case that gets
always statically linked into the lkvm binary (which might still be
dynamically linked against libc), to avoid any conflict between the just
built version (.so), and the installed library on the target system.
Some projects choose this approach, where it gets decided at build time
which version to use ("system library" vs. built-in version). This is
either done automatically, because a system library is not found, or using
some user provided flag for configure/make.
If that sounds too involved, we could just always link in our libfdt copy
statically. And later revisit this when people complain.
Can you check by how much an otherwise dynamically linked kvmtool binary
grows when we link against libfdt.a?
Cheers,
Andre
> This only happens
> for those arches that require libfdt (arm, arm64, riscv, powerpc); libfdt
> is not built for MIPS and x86.
>
> I am pretty happy with how libfdt has been integrated with the kvmtool
> build system. The only niggle is that the libfdt_clean target echoes the
> commands to remove the build artifacts:
>
> $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- clean
> Makefile:378: Skipping optional libraries: bfd zlib aio
> CLEAN (libfdt)
> rm -f libfdt/*.o libfdt/libfdt.a libfdt/libfdt-1.6.1.so
> rm -f libfdt/libfdt.so.1
> CLEAN
>
> but I believe that's impossible to change without modifying the libfdt
> Makefile, which I don't want to do to keep it as easy as possible to update
> libfdt.
>
> Made some quick measurement about how libfdt affects the build time when
> building from a clean directory (incremental builds do not rebuild libfdt):
>
> - On a rockpro64, on the little core (Cortex-A53), running
>
> $ time taskset -c 0 make
>
> with libfdt takes an average of 90.721s (averaged over 3 runs, standard
> deviation 0.040s); without libfdt it takes 84.003s (averaged over 3 runs,
> stddev of 0.105s). That's a 6.718s absolute increase, or a 7.997% relative
> increase.
>
> - On the same rockpro64, on the big core (Cortex-A72), running
>
> $ time taskset -c 5 make
>
> with libfdt takes an average of 45.078s (averaged over 3 runs, stddev of
> 0.060s); without libfdt it takes 41.836s (averaged over 3 runs, stddev of
> 0.065). That's a 3.242s absolute increase, or a 7.749% relative increase.
>
> I believe that the ease of use more than justifies the increased
> compilation time.
>
> Testing
> =======
>
> On x86 host, compiled for x86, MIPS, arm, arm64, powerpc, riscv. Booted an
> x86 VM.
>
> On arm64 host, compiled for arm64 and arm. I tried to cross-compile for
> other targets, but I couldn't find a cross-compiler toolchain for arm64
> hosts that included a libc implementation. The arm cross-compiler was
> downloaded from the developer.arm.com [2]. Ran kvm-unit-tests for arm64 and
> arm (on the arm64 version of kvmtool), and also booted a kernel.
>
> *only for x86 hosts.
>
> [1] https://toolchains.bootlin.com/
> [2] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads
>
> Alexandru Elisei (2):
> Add libfdt library
> INSTALL: Remove all mentions of libfdt
>
> INSTALL | 27 +-
> Makefile | 53 +-
> libfdt/.gitignore | 1 +
> libfdt/Makefile.libfdt | 18 +
> libfdt/TODO | 3 +
> libfdt/fdt.c | 335 ++++++
> libfdt/fdt.h | 66 ++
> libfdt/fdt_addresses.c | 101 ++
> libfdt/fdt_check.c | 93 ++
> libfdt/fdt_empty_tree.c | 38 +
> libfdt/fdt_overlay.c | 867 +++++++++++++++
> libfdt/fdt_ro.c | 859 +++++++++++++++
> libfdt/fdt_rw.c | 500 +++++++++
> libfdt/fdt_strerror.c | 60 ++
> libfdt/fdt_sw.c | 384 +++++++
> libfdt/fdt_wip.c | 94 ++
> libfdt/libfdt.h | 2147 ++++++++++++++++++++++++++++++++++++++
> libfdt/libfdt_env.h | 96 ++
> libfdt/libfdt_internal.h | 192 ++++
> libfdt/meson.build | 55 +
> libfdt/version.lds | 83 ++
> 21 files changed, 6033 insertions(+), 39 deletions(-)
> create mode 100644 libfdt/.gitignore
> create mode 100644 libfdt/Makefile.libfdt
> create mode 100644 libfdt/TODO
> create mode 100644 libfdt/fdt.c
> create mode 100644 libfdt/fdt.h
> create mode 100644 libfdt/fdt_addresses.c
> create mode 100644 libfdt/fdt_check.c
> create mode 100644 libfdt/fdt_empty_tree.c
> create mode 100644 libfdt/fdt_overlay.c
> create mode 100644 libfdt/fdt_ro.c
> create mode 100644 libfdt/fdt_rw.c
> create mode 100644 libfdt/fdt_strerror.c
> create mode 100644 libfdt/fdt_sw.c
> create mode 100644 libfdt/fdt_wip.c
> create mode 100644 libfdt/libfdt.h
> create mode 100644 libfdt/libfdt_env.h
> create mode 100644 libfdt/libfdt_internal.h
> create mode 100644 libfdt/meson.build
> create mode 100644 libfdt/version.lds
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH kvmtool 0/2] Add libfdt library
2022-05-26 15:59 ` [PATCH kvmtool 0/2] Add libfdt library Andre Przywara
@ 2022-05-26 16:45 ` Alexandru Elisei
0 siblings, 0 replies; 4+ messages in thread
From: Alexandru Elisei @ 2022-05-26 16:45 UTC (permalink / raw)
To: Andre Przywara
Cc: will, julien.thierry.kdev, maz, suzuki.poulose, james.morse,
vladimir.murzin, anup, linux-arm-kernel, kvmarm
Hi,
On Thu, May 26, 2022 at 04:59:07PM +0100, Andre Przywara wrote:
> On Thu, 26 May 2022 16:30:56 +0100
> Alexandru Elisei <alexandru.elisei@arm.com> wrote:
>
> Hi Alex,
>
> > I found it very difficult to cross-build kvmtool for all arches because for
> > some architectures I couldn't get libfdt to install: either dtc wasn't
> > compiling (x86 machine, Arch Linux, missing yaml.h include when building
> > for arm and powerpc), or libfdt was not being found by Makefile after
> > installing it (x86 machine, Debian 11, building for powerpc). It was
> > possible to compile only libfdt and teach Makefile where to look for it,
> > which is what I ended up doing, but in my opinion, that's not an ideal user
> > experience.
>
> Meh. Nobody said that userland cross compilation would be a walk in the
> park, and this approach (cross-compiling and putting in SYSROOT) is the
> canonical approach. When using a multiarch capable distro, this is easy
> enough.
Except when it doesn't work. On debian 11 I was not able to make it work for
powerpc by following the instructions, while I was able to make it work for
aarch64 following the same instructions. That's the kind of thing that I would
like to avoid.
> But I see that this is some major pain point for an otherwise rather "low
> maintenance" tool, and libfdt is designed to be embedded, so I guess this
> is fine, with the caveat mentioned below.
>
> > This is my attempt at making compilation easier by pulling in the libfdt
> > library and having kvmtool compile it when an architecture requires it. All
> > the user needs to do now is to find a suitable cross-compiler toolchain
> > with glibc included [1]*.
> >
> > When making lkvm-static, the static version of libfdt is built (libfdt.a);
> > for all other make targets the shared library is built.
>
> So does that mean that the .so gets shipped with kvmtool? And it should be
Err.. I screwed up badly here, I just checked with ldd and lkvm was still
using the system proved libfdt.so, that's why it was still working.
Uninstalling the libfdt package broke lkvm.
> installed as part of "make install"? I think that might bring up more
> questions and problems, so do we want to leave the user some choice?
> - The user brings their own libfdt. This should be the case for any clean
> userland cross compilation, where you install target libraries in SYSROOT,
> just for compilation, and have the .so file also on the actual target
> system. This would also be best for native compilation. Current situation.
> - The user decides to use the built-in libfdt, in which case that gets
> always statically linked into the lkvm binary (which might still be
> dynamically linked against libc), to avoid any conflict between the just
> built version (.so), and the installed library on the target system.
>
> Some projects choose this approach, where it gets decided at build time
> which version to use ("system library" vs. built-in version). This is
> either done automatically, because a system library is not found, or using
> some user provided flag for configure/make.
>
> If that sounds too involved, we could just always link in our libfdt copy
> statically. And later revisit this when people complain.
I would prefer this approach, as it keeps things the Makefile simple and it
makes the build reproducible.
> Can you check by how much an otherwise dynamically linked kvmtool binary
> grows when we link against libfdt.a?
I wrote a patch to always link against libfdt.a, here are the results of
running make on a rockpro64 (I renamed the executables to tell which is
which).
Built from current master:
$ /usr/bin/ls -l lkvm-libfdt-dynamically-linked
-rwxr-xr-x 1 alex users 2127112 May 26 16:31 lkvm-libfdt-dynamically-linked
$ ldd lkvm-libfdt-dynamically-linked
linux-vdso.so.1 (0x0000ffffb52ae000)
libz.so.1 => /usr/lib/libz.so.1 (0x0000ffffb5140000)
libaio.so.1 => /usr/lib/libaio.so.1 (0x0000ffffb5120000)
libfdt.so.1 => /usr/lib/libfdt.so.1 (0x0000ffffb5100000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000ffffb4f50000)
/lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000ffffb5275000)
Built with Makefile modified to link against the static version:
$ /usr/bin/ls -l lkvm-libfdt-statically-linked
-rwxr-xr-x 1 alex users 2238920 May 26 16:32 lkvm-libfdt-statically-linked
$ ldd lkvm-libfdt-statically-linked
linux-vdso.so.1 (0x0000ffff99a6d000)
libz.so.1 => /usr/lib/libz.so.1 (0x0000ffff99900000)
libaio.so.1 => /usr/lib/libaio.so.1 (0x0000ffff998e0000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000ffff99730000)
/lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000ffff99a34000)
A difference of 109KB (111808 bytes to be more exact).
I'll send the changes to the Makefile in case people want to play with it.
Thanks,
Alex
>
> Cheers,
> Andre
>
> > This only happens
> > for those arches that require libfdt (arm, arm64, riscv, powerpc); libfdt
> > is not built for MIPS and x86.
> >
> > I am pretty happy with how libfdt has been integrated with the kvmtool
> > build system. The only niggle is that the libfdt_clean target echoes the
> > commands to remove the build artifacts:
> >
> > $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- clean
> > Makefile:378: Skipping optional libraries: bfd zlib aio
> > CLEAN (libfdt)
> > rm -f libfdt/*.o libfdt/libfdt.a libfdt/libfdt-1.6.1.so
> > rm -f libfdt/libfdt.so.1
> > CLEAN
> >
> > but I believe that's impossible to change without modifying the libfdt
> > Makefile, which I don't want to do to keep it as easy as possible to update
> > libfdt.
> >
> > Made some quick measurement about how libfdt affects the build time when
> > building from a clean directory (incremental builds do not rebuild libfdt):
> >
> > - On a rockpro64, on the little core (Cortex-A53), running
> >
> > $ time taskset -c 0 make
> >
> > with libfdt takes an average of 90.721s (averaged over 3 runs, standard
> > deviation 0.040s); without libfdt it takes 84.003s (averaged over 3 runs,
> > stddev of 0.105s). That's a 6.718s absolute increase, or a 7.997% relative
> > increase.
> >
> > - On the same rockpro64, on the big core (Cortex-A72), running
> >
> > $ time taskset -c 5 make
> >
> > with libfdt takes an average of 45.078s (averaged over 3 runs, stddev of
> > 0.060s); without libfdt it takes 41.836s (averaged over 3 runs, stddev of
> > 0.065). That's a 3.242s absolute increase, or a 7.749% relative increase.
> >
> > I believe that the ease of use more than justifies the increased
> > compilation time.
> >
> > Testing
> > =======
> >
> > On x86 host, compiled for x86, MIPS, arm, arm64, powerpc, riscv. Booted an
> > x86 VM.
> >
> > On arm64 host, compiled for arm64 and arm. I tried to cross-compile for
> > other targets, but I couldn't find a cross-compiler toolchain for arm64
> > hosts that included a libc implementation. The arm cross-compiler was
> > downloaded from the developer.arm.com [2]. Ran kvm-unit-tests for arm64 and
> > arm (on the arm64 version of kvmtool), and also booted a kernel.
> >
> > *only for x86 hosts.
> >
> > [1] https://toolchains.bootlin.com/
> > [2] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads
> >
> > Alexandru Elisei (2):
> > Add libfdt library
> > INSTALL: Remove all mentions of libfdt
> >
> > INSTALL | 27 +-
> > Makefile | 53 +-
> > libfdt/.gitignore | 1 +
> > libfdt/Makefile.libfdt | 18 +
> > libfdt/TODO | 3 +
> > libfdt/fdt.c | 335 ++++++
> > libfdt/fdt.h | 66 ++
> > libfdt/fdt_addresses.c | 101 ++
> > libfdt/fdt_check.c | 93 ++
> > libfdt/fdt_empty_tree.c | 38 +
> > libfdt/fdt_overlay.c | 867 +++++++++++++++
> > libfdt/fdt_ro.c | 859 +++++++++++++++
> > libfdt/fdt_rw.c | 500 +++++++++
> > libfdt/fdt_strerror.c | 60 ++
> > libfdt/fdt_sw.c | 384 +++++++
> > libfdt/fdt_wip.c | 94 ++
> > libfdt/libfdt.h | 2147 ++++++++++++++++++++++++++++++++++++++
> > libfdt/libfdt_env.h | 96 ++
> > libfdt/libfdt_internal.h | 192 ++++
> > libfdt/meson.build | 55 +
> > libfdt/version.lds | 83 ++
> > 21 files changed, 6033 insertions(+), 39 deletions(-)
> > create mode 100644 libfdt/.gitignore
> > create mode 100644 libfdt/Makefile.libfdt
> > create mode 100644 libfdt/TODO
> > create mode 100644 libfdt/fdt.c
> > create mode 100644 libfdt/fdt.h
> > create mode 100644 libfdt/fdt_addresses.c
> > create mode 100644 libfdt/fdt_check.c
> > create mode 100644 libfdt/fdt_empty_tree.c
> > create mode 100644 libfdt/fdt_overlay.c
> > create mode 100644 libfdt/fdt_ro.c
> > create mode 100644 libfdt/fdt_rw.c
> > create mode 100644 libfdt/fdt_strerror.c
> > create mode 100644 libfdt/fdt_sw.c
> > create mode 100644 libfdt/fdt_wip.c
> > create mode 100644 libfdt/libfdt.h
> > create mode 100644 libfdt/libfdt_env.h
> > create mode 100644 libfdt/libfdt_internal.h
> > create mode 100644 libfdt/meson.build
> > create mode 100644 libfdt/version.lds
> >
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-26 16:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26 15:30 [PATCH kvmtool 0/2] Add libfdt library Alexandru Elisei
2022-05-26 15:30 ` [PATCH kvmtool 2/2] INSTALL: Remove all mentions of libfdt Alexandru Elisei
2022-05-26 15:59 ` [PATCH kvmtool 0/2] Add libfdt library Andre Przywara
2022-05-26 16:45 ` Alexandru Elisei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox