Skip to content
Snippets Groups Projects
  1. Sep 27, 2018
  2. Aug 17, 2018
  3. Jul 30, 2018
  4. Jul 10, 2018
  5. Jun 18, 2018
  6. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  7. Feb 14, 2018
  8. Nov 30, 2017
  9. Nov 17, 2017
    • Masahiro Yamada's avatar
      pylibfdt: compile pylibfdt only when dtoc/binman is necessary · d6a0c78a
      Masahiro Yamada authored and Tom Rini's avatar Tom Rini committed
      
      Currently, pylibfdt is always compiled if swig is installed on your
      machine.  It is really annoying because most of targets (excepts
      x86, sunxi, rockchip) do not use dtoc or binman.
      
      "checkbinman" and "checkdtoc" are wrong.  It is odd that the final
      build stage checks if we have built necessary tools.  If your platform
      depends on dtoc/binman, you must be able to build pylibfdt.  If swig
      is not installed, it should fail immediately.
      
      I added PYLIBFDT, DTOC, BINMAN entries to Kconfig.  They should be
      property select:ed by platforms that need them.  Kbuild will descend
      into scripts/dtc/pylibfdt/ only when CONFIG_PYLIBFDT is enabled.
      
      Signed-off-by: Masahiro Yamada's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      d6a0c78a
  10. Oct 06, 2017
  11. Sep 24, 2017
  12. Aug 13, 2017
  13. Jul 10, 2017
  14. Jun 01, 2017
  15. May 10, 2017
    • Alex Deymo's avatar
      Allow boards to initialize the DT at runtime. · 82f766d1
      Alex Deymo authored and Tom Rini's avatar Tom Rini committed
      
      In some boards like the Raspberry Pi the initial bootloader will pass
      a DT to the kernel. When using U-Boot as such kernel, the board code in
      U-Boot should be able to provide U-Boot with this, already assembled
      device tree blob.
      
      This patch introduces a new config option CONFIG_OF_BOARD to use instead
      of CONFIG_OF_EMBED or CONFIG_OF_SEPARATE which will initialize the DT
      from a board-specific funtion instead of bundling one with U-Boot or as
      a separated file. This allows boards like the Raspberry Pi to reuse the
      device tree passed from the bootcode.bin and start.elf firmware
      files, including the run-time selected device tree overlays.
      
      Signed-off-by: default avatarAlex Deymo <deymo@google.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      82f766d1
  16. Apr 05, 2017
  17. Mar 29, 2017
    • Mario Six's avatar
      dm: Add callback to modify the device tree · 0db4cd25
      Mario Six authored and Stefan Roese's avatar Stefan Roese committed
      
      Certain boards come in different variations by way of utilizing daughter
      boards, for example. These boards might contain additional chips, which
      are added to the main board's busses, e.g. I2C.
      
      The device tree support for such boards would either, quite naturally,
      employ the overlay mechanism to add such chips to the tree, or would use
      one large default device tree, and delete the devices that are actually
      not present.
      
      Regardless of approach, even on the U-Boot level, a modification of the
      device tree is a prerequisite to have such modular families of boards
      supported properly.
      
      Therefore, we add an option to make the U-Boot device tree (the actual
      copy later used by the driver model) writeable, and add a callback
      method that allows boards to modify the device tree at an early stage,
      at which, hopefully, also the application of device tree overlays will
      be possible.
      
      Signed-off-by: Mario Six's avatarMario Six <mario.six@gdsys.cc>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      0db4cd25
  18. Mar 26, 2017
  19. Mar 23, 2017
    • Mario Six's avatar
      dm: Add callback to modify the device tree · 2a792753
      Mario Six authored and Stefan Roese's avatar Stefan Roese committed
      
      Certain boards come in different variations by way of utilizing daughter
      boards, for example. These boards might contain additional chips, which
      are added to the main board's busses, e.g. I2C.
      
      The device tree support for such boards would either, quite naturally,
      employ the overlay mechanism to add such chips to the tree, or would use
      one large default device tree, and delete the devices that are actually
      not present.
      
      Regardless of approach, even on the U-Boot level, a modification of the
      device tree is a prerequisite to have such modular families of boards
      supported properly.
      
      Therefore, we add an option to make the U-Boot device tree (the actual
      copy later used by the driver model) writeable, and add a callback
      method that allows boards to modify the device tree at an early stage,
      at which, hopefully, also the application of device tree overlays will
      be possible.
      
      Signed-off-by: Mario Six's avatarMario Six <mario.six@gdsys.cc>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      2a792753
  20. Jul 15, 2016
  21. May 23, 2016
    • Michal Simek's avatar
      spl: Setup default value for OF_LIST · c409bd01
      Michal Simek authored and Tom Rini's avatar Tom Rini committed
      
      OF_LIST can't remain empty that's why setup it up to default DTB.
      
      If it is empty u-boot.img is created without FDT partition:
      For example:
        ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a
      0x8000000 -e 0 -n "U-Boot 2016.05-rc3 ..." -E -b  -d u-boot-nodtb.bin u-boot.img
      Can't set 'timestamp' property for '' node (FDT_ERR_NOSPACE)
      FIT description: Firmware image with one or more FDT blobs
      Created:         Wed May  4 15:02:52 2016
       Image 0 (firmware@1)
        Description:  U-Boot 2016.05-rc3-00080-gff2e12ae22a8-dirty for zynqmp
      board
        Created:      Wed May  4 15:02:52 2016
        Type:         Firmware
        Compression:  uncompressed
        Data Size:    unavailable
        Architecture: ARM
        Load Address: 0x08000000
       Default Configuration: 'conf@1'
       Configuration 0 (conf@1)
        Description:  unavailable
        Kernel:       unavailable
      
      And then image like this doesn't contain description and link to FDT and
      can't boot.
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      c409bd01
  22. Mar 14, 2016
  23. Feb 25, 2016
  24. Jan 25, 2016
    • Masahiro Yamada's avatar
      Revert "devicetree: use wildcard to clean arch subdir" · be6b2b31
      Masahiro Yamada authored and Tom Rini's avatar Tom Rini committed
      
      This reverts commit 67871a59.
      
      Since that commit, out-of-tree cleaning emits lots of warnings.
      
      $ make O=foo clean
      make[1]: Entering directory `/home/masahiro/workspace/u-boot/foo'
      ../dts/../arch/arm/dts/Makefile:209: warning: overriding commands for target `dtbs'
      ../dts/../arch/arc/dts/Makefile:15: warning: ignoring old commands for target `dtbs'
      ../dts/../arch/microblaze/dts/Makefile:13: warning: overriding commands for target `dtbs'
      ../dts/../arch/arm/dts/Makefile:209: warning: ignoring old commands for target `dtbs'
      ../dts/../arch/mips/dts/Makefile:14: warning: overriding commands for target `dtbs'
      ../dts/../arch/microblaze/dts/Makefile:13: warning: ignoring old commands for target `dtbs'
      ../dts/../arch/nios2/dts/Makefile:13: warning: overriding commands for target `dtbs'
      ../dts/../arch/mips/dts/Makefile:14: warning: ignoring old commands for target `dtbs'
      ../dts/../arch/powerpc/dts/Makefile:13: warning: overriding commands for target `dtbs'
      ../dts/../arch/nios2/dts/Makefile:13: warning: ignoring old commands for target `dtbs'
      ../dts/../arch/sandbox/dts/Makefile:14: warning: overriding commands for target `dtbs'
      ../dts/../arch/powerpc/dts/Makefile:13: warning: ignoring old commands for target `dtbs'
      ../dts/../arch/x86/dts/Makefile:22: warning: overriding commands for target `dtbs'
      ../dts/../arch/sandbox/dts/Makefile:14: warning: ignoring old commands for target `dtbs'
      make[1]: Leaving directory `/home/masahiro/workspace/u-boot/foo'
      
      Signed-off-by: Masahiro Yamada's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      be6b2b31
  25. Jan 22, 2016
  26. Jan 16, 2016
  27. Oct 03, 2015
  28. Sep 17, 2015
  29. Aug 31, 2015
  30. Aug 18, 2015
  31. Jul 21, 2015
    • Simon Glass's avatar
      dm: Reduce SPL device tree size · fa78e0a3
      Simon Glass authored
      
      The SPL device tree size must be minimised to save memory. Only include
      properties that are needed by SPL - this is determined by the presence
      of the "u-boot,dm-pre-reloc" property. Also remove a predefined list of
      unused properties from the nodes that remain.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      fa78e0a3
  32. Apr 23, 2015
  33. Feb 24, 2015
  34. Oct 27, 2014
  35. Sep 25, 2014
  36. Jun 19, 2014
Loading