1. 30 3月, 2016 1 次提交
    • R
      scripts/dtc: Update to upstream version 53bf130b1cdd · b9937347
      Rob Herring 提交于
      Sync to upstream dtc commit 53bf130b1cdd ("libfdt: simplify
      fdt_node_check_compatible()"). This adds the following commits from
      upstream:
      
      53bf130 libfdt: simplify fdt_node_check_compatible()
      c9d9121 Warn on node name unit-address presence/absence mismatch
      2e53f9d Catch unsigned 32bit overflow when parsing flattened device tree offsets
      Signed-off-by: NRob Herring <robh@kernel.org>
      b9937347
  2. 12 2月, 2016 1 次提交
    • R
      scripts/dtc: Update to upstream commit b06e55c88b9b · 91feabc2
      Rob Herring 提交于
      Sync to upstream dtc commit b06e55c88b9b ("Prevent crash on modulo by
      zero"). This adds the following commits from upstream:
      
      b06e55c Prevent crash on modulo by zero
      b433450 Fix some bugs in processing of line directives
      d728ad5 Fix crash on nul character in string escape sequence
      1ab2205 Gracefully handle bad octal literals
      1937095 Prevent crash on division by zero
      d0b3ab0 libfdt: Fix undefined behaviour in fdt_offset_ptr()
      d4c7c25 libfdt: check for potential overrun in _fdt_splice()
      f58799b libfdt: Add some missing symbols to version.lds
      af9f26d Remove duplicated -Werror in dtc Makefile
      604e61e fdt: Add functions to retrieve strings
      8702bd1 fdt: Add a function to get the index of a string
      2218387 fdt: Add a function to count strings
      554fde2 libfdt: fix comment block of fdt_get_property_namelen()
      e5e6df7 fdtdump: Fix bug printing bytestrings with negative values
      067829e Remove redundant fdtdump test code
      897a429 Move fdt_path_offset alias tests to right tests section
      2d1417c Add simple .travis.yml
      f6dbc6c guess output file format
      5e78dff guess input file format based on file content or file name
      8b927bf tests: convert `echo -n` to `printf`
      64c46b0 Fix crash with poorly defined #size-cells
      
      Cc: Grant Likely <grant.likely@linaro.org>
      Tested-by: NFrank Rowand <frank.rowand@sonymobile.com>
      Reviewed-by: NFrank Rowand <frank.rowand@sonymobile.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      91feabc2
  3. 30 4月, 2015 1 次提交
  4. 21 1月, 2014 2 次提交
    • G
      scripts/dtc: Add a script to update to mainline dtc source · c8a3e6a8
      Grant Likely 提交于
      A very simple script that automates pulling in a newer version of DTC.
      Not particularly robust, but a whole lot better than doing it by hand
      every time.
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      c8a3e6a8
    • G
      scripts/dtc: Update to upstream version v1.4.0 · 73ab39b1
      Grant Likely 提交于
      Update to the latest version of dtc with the following notable
      enhancements and bug fixes:
      
      * fdtput: expand fdt if value does not fit
      * dtc/fdt{get, put}/convert-dtsv0-lexer: convert to new usage helpers
      * libfdt: Add fdt_next_subnode() to permit easy subnode iteration
      * utilfdt_read: pass back up the length of data read
      * util_version: new helper for displaying version info
      * die: constify format string arg
      * utilfdt_read_err: use xmalloc funcs
      * Export fdt_stringlist_contains()
      * dtc: Drop the '-S is deprecated' warning
      * dtc/libfdt: sparse fixes
      * dtc/libfdt: introduce fdt types for annotation by endian checkers
      * Fix util_is_printable_string
      * dtc: srcpos_verror() should print to stderr
      * libfdt: Added missing functions to shared library
      
      Shipped bison/flex generated files were built on an Ubuntu 13.10 system.
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      73ab39b1
  5. 04 1月, 2011 1 次提交
  6. 03 5月, 2009 1 次提交
    • D
      Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc · 9fffb55f
      David Gibson 提交于
      The powerpc kernel always requires an Open Firmware like device tree
      to supply device information.  On systems without OF, this comes from
      a flattened device tree blob.  This blob is usually generated by dtc,
      a tool which compiles a text description of the device tree into the
      flattened format used by the kernel.  Sometimes, the bootwrapper makes
      small changes to the pre-compiled device tree blob (e.g. filling in
      the size of RAM).  To do this it uses the libfdt library.
      
      Because these are only used on powerpc, the code for both these tools
      is included under arch/powerpc/boot (these were imported and are
      periodically updated from the upstream dtc tree).
      
      However, the microblaze architecture, currently being prepared for
      merging to mainline also uses dtc to produce device tree blobs.  A few
      other archs have also mentioned some interest in using dtc.
      Therefore, this patch moves dtc and libfdt from arch/powerpc into
      scripts, where it can be used by any architecture.
      
      The vast bulk of this patch is a literal move, the rest is adjusting
      the various Makefiles to use dtc and libfdt correctly from their new
      locations.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9fffb55f
  7. 20 8月, 2008 1 次提交
  8. 20 12月, 2007 1 次提交