1. 26 9月, 2017 8 次提交
  2. 24 9月, 2017 6 次提交
    • T
      tools/mkimage: Make the path to the dtc binary that mkimage calls configurable · 1f6049e2
      Tom Rini 提交于
      In some cases, such as FreeBSD, the path to an alternative dtc needs to
      be used.  Rather than override the one given in the Makefile on the
      command line, make this part of the build configuration.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      1f6049e2
    • T
      dtc: Switch to building and using our own dtc unless provided · 36dd5f1b
      Tom Rini 提交于
      This makes us act like the Linux Kernel does and allow for dtc to be
      provided externally but otherwise we use the version of dtc that is
      included in the sources.  This in turn means that we can drop the
      checkdtc logic.  We select DTC in the cases where we will need the dtc
      tool provided.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      36dd5f1b
    • T
      scripts/dtc: Update to upstream version v1.4.4-50-gfe50bd1ecc1d · 2d4c2259
      Tom Rini 提交于
      This adds the following commits from upstream:
      
      fe50bd1ecc1d fdtget: Split out cell list display into a new function
      62d812308d11 README: Add a note about test_tree1.dts
      5bed86aee9e8 pylibfdt: Add support for fdt_subnode_offset()
      46f31b65b3b3 pylibfdt: Add support for fdt_node_offset_by_phandle()
      a3ae43723687 pylibfdt: Add support for fdt_parent_offset()
      a198af80344c pylibfdt: Add support for fdt_get_phandle()
      b9eba92ea50f tests: Return a failure code when any tests fail
      155faf6cc209 pylibfdt: Use local pylibfdt module
      50e5cd07f325 pylibfdt: Add a test for use of uint32_t
      ab78860f09f5 pylibfdt: Add stdint include to fix uint32_t
      36f511fb1113 tests: Add stacked overlay tests on fdtoverlay
      1bb00655d3e5 fdt: Allow stacked overlays phandle references
      a33c2247ac8d Introduce fdt_setprop_placeholder() method
      0016f8c2aa32 dtc: change default phandles to ePAPR style instead of both
      e3b9a9588a35 tests: fdtoverlay unit test
      42409146f2db fdtoverlay: A tool that applies overlays
      aae22722fc8d manual: Document missing options
      13ce6e1c2fc4 dtc: fix sprintf() format string error, again
      d990b8013889 Makefile: Fix build on MSYS2 and Cygwin
      51f56dedf8ea Clean up shared library compile/link options
      21a2bc896e3d Suppress expected error message in fdtdump test
      2a42b14d0d03 dtc: check.c fix compile error
      a10cb3c818d3 Fix get_node_by_path string equality check
      548aea2c436a fdtdump: Discourage use of fdtdump
      c2258841a785 fdtdump: Fix over-zealous version check
      9067ee4be0e6 Fix a few whitespace and style nits
      e56f2b07be38 pylibfdt: Use setup.py to build the swig file
      896f1c133265 pylibfdt: Use Makefile constructs to implement NO_PYTHON
      90db6d9989ca pylibfdt: Allow setup.py to operate stand-alone
      e20d9658cd8f Add Coverity Scan support
      b04a2cf08862 pylibfdt: Fix code style in setup.py
      1c5170d3a466 pylibfdt: Rename libfdt.swig to libfdt.i
      580a9f6c2880 Add a libfdt function to write a property placeholder
      ab15256d8d02 pylibfdt: Use the call function to simplify the Makefile
      9f2e3a3a1f19 pylibfdt: Use the correct libfdt version in the module
      e91c652af215 pylibfdt: Enable installation of Python module
      8a892fd85d94 pylibfdt: Allow building to be disabled
      741cdff85d3e .travis.yml: Add builds with and without Python library prerequisites
      14c4171f4f9a pylibfdt: Use package_dir to set the package directory
      89a5062ab231 pylibfdt: Use environment to pass C flags and files
      4e0e0d049757 pylibfdt: Allow pkg-config to be supplied in the environment
      6afd7d9688f5 Correct typo: s/pylibgfdt/pylibfdt/
      756ffc4f52f6 Build pylibfdt as part of the normal build process
      8cb3896358e9 Adjust libfdt.h to work with swig
      b40aa8359aff Mention pylibfdt in the documentation
      12cfb740cc76 Add tests for pylibfdt
      50f250701631 Add an initial Python library for libfdt
      cdbb2b6c7a3a checks: Warn on node name unit-addresses with '0x' or leading 0s
      4c15d5da17cc checks: Add bus checks for simple-bus buses
      33c3985226d3 checks: Add bus checks for PCI buses
      Signed-off-by: NTom Rini <trini@konsulko.com>
      2d4c2259
    • T
      scripts/dtc: Update to upstream version v1.4.4 · d6fc90ce
      Tom Rini 提交于
      This adds the following commits from upstream:
      
      558cd81bdd43 dtc: Bump version to v1.4.4
      c17a811c62eb fdtput: Remove star from value_len documentation
      194d5caaefcb fdtget: Use @return to document the return value
      d922ecdd017b tests: Make realloc_fdt() really allocate *fdt
      921cc17fec29 libfdt: overlay: Check the value of the right variable
      9ffdf60bf463 dtc: Simplify asm_emit_string() implementation
      881012e44386 libfdt: Change names of sparse helper macros
      bad5b28049e5 Fix assorted sparse warnings
      672ac09ea04d Clean up gcc attributes
      49300f2ade6a dtc: Don't abuse struct fdt_reserve_entry
      Signed-off-by: NTom Rini <trini@konsulko.com>
      d6fc90ce
    • T
      scripts/dtc: Update to upstream version v1.4.3 · c0e032e0
      Tom Rini 提交于
      Using the update-dtc-source.sh script from Linux v4.14-rc1 import the
      portions of dtc that we require.  We bring in update-dtc-source.sh and
      scripts/dtc/Makefile from Linux v4.14-rc1.  Rework DTC_FLAGS handling to
      not require a test.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      c0e032e0
    • T
      Merge git://git.denx.de/u-boot-socfpga · 0929863a
      Tom Rini 提交于
      0929863a
  3. 23 9月, 2017 16 次提交
  4. 22 9月, 2017 10 次提交
    • T
      Travis-CI: Checkout only v1.4.3 of dtc · 91ebf300
      Tom Rini 提交于
      Our minimum DTC version is 1.4.3, so check that out.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      91ebf300
    • J
      net/tftp: fix build if CMD_BOOTEFI is not set · 64b8d7a6
      Jörg Krause 提交于
      Fixes:
      net/tftp.c:811: undefined reference to `efi_set_bootdev'
      Signed-off-by: NJörg Krause <joerg.krause@embedded.rocks>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      64b8d7a6
    • T
      Makefile: Update minimum dtc version to 1.4.3 · 2fa73e78
      Tom Rini 提交于
      With support for overlays and calling the -@ flag to dtc we need to have
      at least 1.4.3 available now.
      
      Cc: Simon Glass <sjg@chromium.org>
      Reported-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      2fa73e78
    • Y
      spl: Fix compiling warning on gunzip argument · 933f67aa
      York Sun 提交于
      common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’
      from incompatible pointer type [-Wincompatible-pointer-types]
             src, &length))
      Signed-off-by: NYork Sun <york.sun@nxp.com>
      Reported-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      CC: Jean-Jacques Hiblot <jjhiblot@ti.com>
      933f67aa
    • F
      arm: am33xx: Make pin multiplexing functions optional · 7cc238f2
      Felix Brack 提交于
      This patch provides default implementations of the two functions
      set_uart_mux_conf and set_mux_conf_regs. Hence boards not using
      them do not need to provide their distinct empty definitions.
      Signed-off-by: NFelix Brack <fb@ltec.ch>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      7cc238f2
    • P
      board: Add stm32h7 SoC, discovery and evaluation boards support · 246771b1
      Patrice Chotard 提交于
      This patch adds support for stm32h7 soc family, stm32h743
      discovery and evaluation boards.
      
      For more information about STM32H7 series, please visit:
      http://www.st.com/en/microcontrollers/stm32h7-series.htmlSigned-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      246771b1
    • P
      ARM: DTS: stm32: adapt stm32h7 dts files for U-boot · a1e384b4
      Patrice Chotard 提交于
      This patch adapts stm32h743 disco and eval dts files to match
      with U-boot requirements or add features wich are not yet
      upstreamed on kernel side :
      
      _ Add RCC clock driver node and update all clocks phandle
        accordingly.
      
        By default, on kernel side, all clocks was temporarly
        configured as a phandle to timer_clk waiting for a RCC
        clock driver to be available.
        On U-boot side, we now have a dedicated RCC clock driver, we
        can configured all clocks as phandle to this driver.
      
        All this binding update will be available soon in a kernel tag,
        as all the bindings have been acked by Rob Herring [1].
      
        [1] http://lkml.iu.edu/hypermail/linux/kernel/1704.0/00935.html
      
      _ Align STM32H7 serial compatible string with the one which will be
        available in next kernel tag. The bindings has been acked by
        Rob Herring [2].
        This compatible string will be usefull to add stm32h7 specific
        feature for this serial driver.
      
        [2] https://lkml.org/lkml/2017/7/17/739
      
      _ Add gpio compatible and aliases for stm32h743
      
      _ Add FMC sdram node with associated new bindings value to
        manage second bank (ie bank 1).
      
      _ Add missing HSI and CSI oscillators nodes needed
        by STM32H7 RCC clock driver.
      
        Clock sources could be:
      	_ HSE (High Speed External)
      	_ HSI (High Speed Internal)
      	_ CSI (Low Power Internal)
      
        These clocks can be used as clocksource in some configuration.
        By default, HSE is selected as clock source.
      
      _ Set HSE to 25Mhz for stm32h743i-disco and eval board
      
        By default, the external oscillator frequency is defined at
        25 Mhz in SoC stm32h743.dtsi file.
        It has been set at 125 Mhz in kernel DT temporarly waiting for
        RCC clock driver becomes available.
      
        As in U-boot we got a RCC clock driver, the real value of HSE
        clock can be used.
      
      _ Add "u-boot,dm-pre-reloc" for rcc, fmc, fixed-clock, pinctrl,
        pwrcfg and gpio nodes.
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      a1e384b4
    • P
      ARM: DTS: stm32: add stm32h743i-eval files · 5fbb2b25
      Patrice Chotard 提交于
      This file is imported from linux kernel v4.13
      
      Add device tree support for STM32H743 evaluation board.
      This board offers :
        _ STM32H743XIH6 microcontroller with 2 Mbytes of
          Flash memory and 1 Mbyte of RAM in TFBGA240+25 package
        _ 5.7” 640x480 TFT color LCD with touch screen
        _ Ethernet compliant with IEEE-802.3-2002
        _ USB OTG HS and FS
        _ I2 C compatible serial interface
        _ RTC with rechargeable backup battery
        _ SAI Audio DAC
        _ ST-MEMS digital microphones
        _ 8-Gbyte (or more) SDIO3.0 interface microSD™ card
        _ 8Mx32bit SDRAM, 1Mx16bit SRAM and 8Mx16bit NOR Flash
        _ 1-Gbit Twin Quad-SPI NOR Flash
        _ Potentiometer
        _ 4 colored user LEDs
        _ Reset, wakeup, tamper or key buttons
        _ Joystick with 4-direction control and selector
        _ Board connectors :
           Power jack
           3 USB with Micro-AB
           RS-232 communications
           Ethernet RJ45
           FD-CAN compliant connection
           Stereo headset jack including analog microphone input
           2 audio jacks for external speakers
           microSD™ card
           JTAG/SWD and ETM trace
         _ Expansion connectors:
           Extension connectors and memory connectors for daughterboard
           or wire-wrap board
         _ Flexible power-supply options: ST-LINK USB VBUS or external
           sources
         _ On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration
           capability: mass storage, virtual COM port and debug port
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      5fbb2b25
    • P
      ARM: DTS: stm32: add stm32h743i-disco files · d983a0f0
      Patrice Chotard 提交于
      All these files are imported from linux kernel v4.13
      
      Add device tree support for STM32H743 SoC and discovery
      board. This board offers :
        _ STM32H743XIH6 microcontroller with 2 Mbytes of
          Flash memory and 1 Mbyte of RAM in TFBGA240+25 package
        _ 5.7” 640x480 TFT color LCD with touch screen
        _ Ethernet compliant with IEEE-802.3-2002
        _ USB OTG HS
        _ I2 C compatible serial interface
        _ ST-MEMS digital microphones
        _ 8-Gbyte (or more) SDIO3.0 interface microSD™ card
        _ 8Mx32bit SDRAM
        _ 1-Gbit Twin Quad-SPI NOR Flash
        _ Reset, wakeup, or key buttons
        _ Joystick with 4-direction control and selector
        _ Board connectors :
      	1 USB with Micro-AB
      	Ethernet RJ45
      	Stereo headset jack including analog microphone input
      	microSD™ card
      	RCA connector
      	JTAG/SWD and ETM trace
         _ Expansion connectors:
      	Arduino Uno compatible Connectors
      	2 x PIO connectors (PMOD and PMOD+)
         _ On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration
           capability: mass storage, virtual COM port and debug port
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NVikas Manocha <vikas.manocha@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      d983a0f0
    • C
      dm: misc: add stm32 rcc driver · 4e280b91
      Christophe Kerello 提交于
      This patch adds the support of reset and clock control
      block (rcc) found on STM32 SoCs.
      This driver is similar to a MFD linux driver.
      
      This driver supports currently STM32H7 only.
      STM32F4 and STM32F7 will be migrated to this rcc MFD driver
      in the future to uniformize all STM32 SoCs already upstreamed.
      Signed-off-by: NChristophe Kerello <christophe.kerello@st.com>
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NVikas Manocha <vikas.manocha@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      4e280b91