Re: [PATCH 2/8] scripts/dtc: Update to upstream version v1.5.0
On 8/19/19 4:09 PM, Roland Hieber wrote: > On Mon, Aug 19, 2019 at 03:56:56PM +0200, Sascha Hauer wrote: >> On Mon, Aug 19, 2019 at 03:52:40PM +0200, Roland Hieber wrote: >>> On Mon, Aug 19, 2019 at 03:38:41PM +0200, Sascha Hauer wrote: This adds the following commits from upstream: d37f6b2 Bump version to v1.5.0 a4b1a30 pylibfdt:tests: Extend the way how to find a Python module >>> >>> I'm sorry if this will probably mean a lot of work for you, but sadly >>> those SHA1 hashes are too short to be unique :-( >>> >>> linux (master) $ git show d37f6b2 >>> fatal: ambiguous argument 'd37f6b2': unknown revision or path not in >>> the working tree. >>> Use '--' to separate paths from revisions, like this: >>> 'git [...] -- [...]' >> >> These are dtc commits, not Linux kernel commits. > > OK, that explains it. Then the comment should probably mention where > upstream lives :-) FYI: Sent out <20190923121018.31574-5-a.fat...@pengutronix.de> today, which does just that. Cheers Ahmad > > - Roland > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 2/8] scripts/dtc: Update to upstream version v1.5.0
On Mon, Aug 19, 2019 at 03:56:56PM +0200, Sascha Hauer wrote: > On Mon, Aug 19, 2019 at 03:52:40PM +0200, Roland Hieber wrote: > > On Mon, Aug 19, 2019 at 03:38:41PM +0200, Sascha Hauer wrote: > > > This adds the following commits from upstream: > > > > > > d37f6b2 Bump version to v1.5.0 > > > a4b1a30 pylibfdt:tests: Extend the way how to find a Python module > > > > I'm sorry if this will probably mean a lot of work for you, but sadly > > those SHA1 hashes are too short to be unique :-( > > > > linux (master) $ git show d37f6b2 > > fatal: ambiguous argument 'd37f6b2': unknown revision or path not in > > the working tree. > > Use '--' to separate paths from revisions, like this: > > 'git [...] -- [...]' > > These are dtc commits, not Linux kernel commits. OK, that explains it. Then the comment should probably mention where upstream lives :-) - Roland -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 2/8] scripts/dtc: Update to upstream version v1.5.0
On Mon, Aug 19, 2019 at 03:52:40PM +0200, Roland Hieber wrote: > On Mon, Aug 19, 2019 at 03:38:41PM +0200, Sascha Hauer wrote: > > This adds the following commits from upstream: > > > > d37f6b2 Bump version to v1.5.0 > > a4b1a30 pylibfdt:tests: Extend the way how to find a Python module > > I'm sorry if this will probably mean a lot of work for you, but sadly > those SHA1 hashes are too short to be unique :-( > > linux (master) $ git show d37f6b2 > fatal: ambiguous argument 'd37f6b2': unknown revision or path not in the > working tree. > Use '--' to separate paths from revisions, like this: > 'git [...] -- [...]' These are dtc commits, not Linux kernel commits. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 2/8] scripts/dtc: Update to upstream version v1.5.0
On Mon, Aug 19, 2019 at 03:38:41PM +0200, Sascha Hauer wrote: > This adds the following commits from upstream: > > d37f6b2 Bump version to v1.5.0 > a4b1a30 pylibfdt:tests: Extend the way how to find a Python module I'm sorry if this will probably mean a lot of work for you, but sadly those SHA1 hashes are too short to be unique :-( linux (master) $ git show d37f6b2 fatal: ambiguous argument 'd37f6b2': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' linux (master) $ git show a4b1a30 fatal: ambiguous argument 'a4b1a30': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' - Roland > 625dd8a pylibfdt: Change how passing tests are recognized > 3646316 pylibfdt: Test fdt.setprop take bytes on Python 3, add error handling > cb0f454 pylibfdt: check_err accepts only integer as a first argument. > 4b68c6b pylibfdt: Proper handling of bytes/unicode strings and octal literals > 78e113e Use PRIxPTR for printing uintptr_t values > ea7a8f6 libfdt: Fix FDT_ERR_NOTFOUND typos in documentation > 5aafd7c libfdt: Fix fdt_getprop_by_offset() parameter name in documentation > 7cbc550 checks: Add unit address check if node is enabled > f267e67 checks: Fix crash with multiple source annotations > 3616b9a checks: Use source position information for check failures > 2bdbd07 checks: Make each message output atomic > a1eff70 util: Add xa{v}sprintf_append functions > 82a52ce libfdt: Add a test for fdt_getprop_by_offset() > 607b858 PEP8 / Flake8 cleanups for setup.py > f9c0a42 Remove broken objdir / srcdir support > 5182b5e pylibfdt: Use common PREFIX variable > d45bf1f Refine make tests_clean target > 99284c4 Refine pylibfdt_clean target > a4629cf Refine libfdt_clean target > 08380fc tests: Use modern octal literals for Python > 8113c00 pylibfdt: Allow switch to Python 3 via environment variable PYTHON > 11738cf libfdt: Don't use memcpy to handle unaligned reads on ARM > 86a288a checks: Restructure check_msg to decrease indentation > 5667e7e annotations: add the annotation functionality > 8e20ccf annotations: add positions > ca930e2 tests: Don't lose errors from make checkm > 43366bb tests: Property count valgrind errors in wrapped tests > 5062516 srcpos: Remove srcpos_empty > a3143fa Revert "annotations: add positions" > 403cc79 checks: Update SPI bus check for 'spi-slave' > baa1d2c annotations: add positions > ff2ad38 Merge remote-tracking branch 'origin/pr/18' > aa7254d libfdt: return correct value if #size-cells property is not present > 49903ae use ptrdiff_t modifier for printing pointer differences > da2b691 treesource: Fix dts output for phandles in middle of a sequence of > ints > 8f8b77a tests: Wrap check_align() calls with base_run_test() > 522d81d Fix dts output with a REF_PATH marker > e45198c Added test cases for target references > 0fcffda Merge nodes with local target label references > 1e4a092 pylibfdt: Don't have setup.py depend on where it's invoked from > ca399b1 pylibfdt: Eliminate run_setup make function > 98972f1 pylibfdt: Improved version extraction > 7ba2be6 pylibfdt: Don't silence setup.py when V=1 > 7691f9d pylibfdt: Make SETUP make variable > 855b996 pylibfdt: Simpler CFLAGS handling > 47cafbe pylibfdt: Link extension module with libfdt rather than rebuilding > dd695d6 pylibfdt: Correctly set build output directory > 5932752 pylibfdt: We don't need include files from the base directory > e84742a checks: fix simple-bus compatible matching > 8c59a97 Fix missing labels when emitting dts format > d448f9a Revert dts output formatting changes of spaces around brackets > c86da84 Add support for YAML encoded output > 361b5e7 Make type_marker_length helper public > bfbfab0 pylibfdt: Add a means to add and delete notes > 9005f41 pylibfdt: Allow delprop() to return errors > b94c056 Make valgrind optional > fd06c54 tests: Better testing of dtc -I fs mode > c3f50c9 tests: Allow dtbs_equal_unordered to ignore mem reserves > 0ac9fde dtc: trivial '-I fs -O dts' test > 0fd1c8c pylibfdt: fdt_get_mem_rsv returns 2 uint64_t values > 04853ca pylibfdt: Don't incorrectly / unnecessarily override uint64_t typemap > 9619c86 Kill bogus TYPE_BLOB marker type > ac68ff9 parser: add TYPE_STRING marker to path references > 90a190e checks: add SPI bus checks > 53a1bd5 checks: add I2C bus checks > > Signed-off-by: Sascha Hauer > --- > scripts/dtc/Makefile | 49 +-- > scripts/dtc/Makefile.dtc | 4 + > scripts/dtc/checks.c | 255 +- > scripts/dtc/data.c | 2 +- > scripts/dtc/dtc-lexer.l| 4 +- > scripts/dtc/dtc-parser.y | 53 ++- > scripts/dtc/dtc.c | 22 +- > scripts/dtc/dtc.h | 18 +- > scripts/dtc/fdtget.c | 383