Accepting request 686174 from Base:System
OBS-URL: https://build.opensuse.org/request/show/686174 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dtc?expand=0&rev=30
This commit is contained in:
commit
8ca560a75b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:603d6f4f5f34921b368e6febe6690c89022d098edda77187a758b8eeeeff53ea
|
|
||||||
size 191568
|
|
3
dtc-1.5.0.tar.gz
Normal file
3
dtc-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d64835db0272df0321f27418280cbb8ab19c0d392a9e5caf256b872ff1b0e77f
|
||||||
|
size 195170
|
14
dtc.changes
14
dtc.changes
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 15 07:51:26 UTC 2019 - josef.moellers@suse.com
|
||||||
|
|
||||||
|
- Upgrade to version 1.5.0:
|
||||||
|
* Added i2c-bus and spi-bus support
|
||||||
|
* New "-T" option: "Annotate output .dts with input source file
|
||||||
|
and line"
|
||||||
|
* Added YAML output format
|
||||||
|
* Record source positions
|
||||||
|
* Use inttypes.h macros for printing.
|
||||||
|
* Fix some minor bugs which may lead to SIGSEGV.
|
||||||
|
* Adjusted source URL to working path
|
||||||
|
[bug#1128943, use-tx-as-the-type-specifier-instead-of-zx.patch]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 13 10:55:22 UTC 2018 - josef.moellers@suse.com
|
Thu Dec 13 10:55:22 UTC 2018 - josef.moellers@suse.com
|
||||||
|
|
||||||
|
8
dtc.spec
8
dtc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dtc
|
# spec file for package dtc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,16 +18,15 @@
|
|||||||
|
|
||||||
%define sover 1
|
%define sover 1
|
||||||
Name: dtc
|
Name: dtc
|
||||||
Version: 1.4.7
|
Version: 1.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Device-tree compiler
|
Summary: Device-tree compiler
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Url: https://github.com/dgibson/dtc
|
Url: https://github.com/dgibson/dtc
|
||||||
Source0: https://github.com/dgibson/dtc/archive/v%{version}.tar.gz#/dtc-%{version}.tar.gz
|
Source0: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch3: dtc-license.patch
|
Patch3: dtc-license.patch
|
||||||
Patch4: use-tx-as-the-type-specifier-instead-of-zx.patch
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
@ -63,7 +62,6 @@ This package provides development files for libfdt
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch3
|
%patch3
|
||||||
%patch4 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
Index: dtc-1.4.7/fdtdump.c
|
|
||||||
===================================================================
|
|
||||||
--- dtc-1.4.7.orig/fdtdump.c
|
|
||||||
+++ dtc-1.4.7/fdtdump.c
|
|
||||||
@@ -100,7 +100,7 @@ static void dump_blob(void *blob, bool d
|
|
||||||
p = p_struct;
|
|
||||||
while ((tag = fdt32_to_cpu(GET_CELL(p))) != FDT_END) {
|
|
||||||
|
|
||||||
- dumpf("%04zx: tag: 0x%08"PRIx32" (%s)\n",
|
|
||||||
+ dumpf("%04tx: tag: 0x%08"PRIx32" (%s)\n",
|
|
||||||
(uintptr_t)p - blob_off - 4, tag, tagname(tag));
|
|
||||||
|
|
||||||
if (tag == FDT_BEGIN_NODE) {
|
|
||||||
@@ -140,8 +140,8 @@ static void dump_blob(void *blob, bool d
|
|
||||||
|
|
||||||
p = PALIGN(p + sz, 4);
|
|
||||||
|
|
||||||
- dumpf("%04zx: string: %s\n", (uintptr_t)s - blob_off, s);
|
|
||||||
- dumpf("%04zx: value\n", (uintptr_t)t - blob_off);
|
|
||||||
+ dumpf("%04tx: string: %s\n", (uintptr_t)s - blob_off, s);
|
|
||||||
+ dumpf("%04tx: value\n", (uintptr_t)t - blob_off);
|
|
||||||
printf("%*s%s", depth * shift, "", s);
|
|
||||||
utilfdt_print_data(t, sz);
|
|
||||||
printf(";\n");
|
|
||||||
@@ -229,14 +229,14 @@ int main(int argc, char *argv[])
|
|
||||||
if (valid_header(p, this_len))
|
|
||||||
break;
|
|
||||||
if (debug)
|
|
||||||
- printf("%s: skipping fdt magic at offset %#zx\n",
|
|
||||||
+ printf("%s: skipping fdt magic at offset %#tx\n",
|
|
||||||
file, p - buf);
|
|
||||||
}
|
|
||||||
++p;
|
|
||||||
}
|
|
||||||
if (!p || endp - p < sizeof(struct fdt_header))
|
|
||||||
die("%s: could not locate fdt magic\n", file);
|
|
||||||
- printf("%s: found fdt at offset %#zx\n", file, p - buf);
|
|
||||||
+ printf("%s: found fdt at offset %#tx\n", file, p - buf);
|
|
||||||
buf = p;
|
|
||||||
} else if (!valid_header(buf, len))
|
|
||||||
die("%s: header is not valid\n", file);
|
|
Loading…
x
Reference in New Issue
Block a user