Permalink
Commits on Jan 16, 2018
  1. tools: Update python "help" tests to cope with "more" oddities

    trini committed Jan 16, 2018
    In some cases when "more" is told to page a given file it will prepend
    the output with:
    ::::::::::::::
    /PATH/TO/THE/FILE
    ::::::::::::::
    
    And when this happens the output will not match the expected length.
    Further, if we use a different pager we will instead fail the coverage
    tests as we will not have 100% coverage.  Update the help test to remove
    the string in question.
    
    Reviewed-by: Simon Glass <sjg@chromium.org>
    Signed-off-by: Tom Rini <trini@konsulko.com>
  2. Merge git://git.denx.de/u-boot-dm

    trini committed Jan 16, 2018
  3. i2c: mxc_i2c: Use or operation

    MrVan committed with hsdenx Dec 29, 2017
    The operation should be OR, not BIT OR.
    
    Signed-off-by: Peng Fan <peng.fan@nxp.com>
    Cc: Heiko Schocher <hs@denx.de>
    Cc: Stefano Babic <sbabic@denx.de>
  4. imx: mx7ulp: modify lpi2c seq number

    MrVan committed with hsdenx Jan 2, 2018
    Modify the lpi2c alias seq number to align with device.
    Then no need to add 4 to get the device index.
    
    Signed-off-by: Peng Fan <peng.fan@nxp.com>
  5. i2c: lpi2c: do not add 4 for bus seq

    MrVan committed with hsdenx Jan 2, 2018
    The number 4 is dedicated on i.MX7ULP, but lpi2c will be reused on i.MX8,
    4 is not valid. The seq number could be configured by alias node.
    
    The following patch will use i2c4 as the begin for i.MX7ULP.
    
    Signed-off-by: Peng Fan <peng.fan@nxp.com>
  6. test: Set the DTC environment variable

    sglass68 committed Dec 24, 2017
    Set this to our own device-tree compiler since we know it is new enough to
    run the tests.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  7. dtoc: Allow DTC environment variable to provide path to dtc

    sglass68 committed Dec 24, 2017
    The system device-tree compiler may not be new enough to run the tests we
    use in U-Boot (e.g. with binman). Allow use of a DTC environment variable
    to point to the correct dtc. If not defined, the dtc on the default PATH
    is used.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  8. armv8: secure firmware: fix incorrect unit address in node name

    Andre-ARM committed with sglass68 Dec 4, 2017
    The DT spec demands a unit-address in a node name to match the "reg"
    property in that node. Newer dtc versions will throw warnings if this is
    not the case.
    Remove the unit address from the config node name when U-Boot deals with
    secure firmware FIT images.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  9. tools: fix incorrect usage of DT node unit address

    Andre-ARM committed with sglass68 Dec 4, 2017
    The DT spec demands a unit-address in a node name to match the "reg"
    property in that node. Newer dtc versions will throw warnings if this is
    not the case.
    Correct the generated unit names when U-Boot's mkimage creates a FIT
    image.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  10. sunxi: arm64: correct usage of DT node address in FIT generation

    Andre-ARM committed with sglass68 Dec 4, 2017
    The DT spec demands a unit-address in a node name to match the "reg"
    property in that node. Newer dtc versions will throw warnings if this is
    not the case.
    Adjust the FIT build script for 64-bit Allwinner boards to remove the
    bogus addresses from the node names and avoid the warnings.
    This avoids a warning with recent versions of the dtc tool.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  11. fix incorrect usage of DT node unit address in comments

    Andre-ARM committed with sglass68 Dec 4, 2017
    The DT spec demands a unit-address in a node name to match the "reg"
    property in that node. Newer dtc versions will throw warnings if this is
    not the case.
    Fix all occurences in the tree where node names were mentioned in
    comments, to not give bad examples to the reader.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  12. doc: fix incorrect usage of DT node unit address

    Andre-ARM committed with sglass68 Dec 4, 2017
    The DT spec demands a unit-address in a node name to match the "reg"
    property in that node. Newer dtc versions will throw warnings if this is
    not the case.
    Fix all occurences in various documentation files where this was not
    observed, to not give bad examples to the reader.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  13. doc: FIT image: fix incorrect examples of DT node unit address

    Andre-ARM committed with sglass68 Dec 4, 2017
    The DT spec demands a unit-address of a node name to match the "reg"
    property in that node. Newer dtc versions will throw warnings if this is
    not the case.
    Fix all occurences in the FIT image example files where this was not
    observed, to not give bad examples to the reader.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  14. doc: FIT image: fix incorrect description of DT node unit address

    Andre-ARM committed with sglass68 Dec 4, 2017
    The DT spec demands a unit-address in a node name to match the "reg"
    property in that node. Newer dtc versions will throw warnings if this is
    not the case.
    Fix all occurences in the FIT image documentation files where this was not
    observed, to not give bad examples to the reader.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  15. binman: Run code coverage tests

    sglass68 committed Nov 27, 2017
    Binman has 100% test coverage for the code as it is at present. To
    encourage it to stay that way, run the code-coverage test as part of the
    normal U-Boot tests.
    
    This is RFC because it requires the Python code coverage tools to be
    available.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  16. travis.yml: Run tests for tools

    sglass68 committed Nov 27, 2017
    Run tests for the Python tools used by U-Boot.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  17. test: Run dtoc tests

    sglass68 committed Nov 27, 2017
    Update the test script to run the dtoc tests also.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  18. test: Run buildman tests

    sglass68 committed Nov 27, 2017
    Update the test script to run the buildman tests also.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  19. test: Run patman tests

    sglass68 committed Nov 27, 2017
    Update the test script to run the patman tests also.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  20. test: Run binman tests

    sglass68 committed Nov 27, 2017
    Update the test script to run the binman tests also.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
Commits on Jan 15, 2018
  1. db410c: on aarch64 the fdtfile is in per-vendor subdirectory

    robclark committed with trini Jan 10, 2018
    Signed-off-by: Rob Clark <robdclark@gmail.com>
  2. db410c: add reserved-memory node to dts

    robclark committed with trini Jan 10, 2018
    If lk lights up display and populates simple-framebuffer node, it will
    also setup a reserved-memory node (needed by simplefb on linux).  But
    it isn't clever enough to cope when the reserved-memory node is not
    present.
    
    Signed-off-by: Rob Clark <robdclark@gmail.com>
  3. db410c: use the device tree parsed by the lk loader.

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    We dont need to keep copies of the properties that we are going to
    fixup since we will be using the dtb provided by the firmware.
    
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  4. fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

    robclark committed with trini Jan 10, 2018
    Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by
    u-boot build.  This allows the board to patch the fdt, etc.
    
    In the specific case of dragonboard 410c, we pass the u-boot generated
    fdt to the previous stage of bootloader (by embedding it in the
    u-boot.img that is loaded by lk/aboot), which patches the fdt and passes
    it back to u-boot.
    
    Signed-off-by: Rob Clark <robdclark@gmail.com>
    [trini: Update board_fdt_blob_setup #if check]
    Signed-off-by: Tom Rini <trini@konsulko.com>
  5. db410c: replace reset driver with psci

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    this should be the norm for armv8 platforms.
    
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  6. db410c: update wlan and bt mac addresses from firmware

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    The firmware that runs before u-boot modifies u-boot's device tree
    adding the local-mac-address and local-bd-address properties for the
    compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan".
    
    This commit reads that firmware, retrieves the properties and fixups
    the device tree that is passed to the kernel before booting.
    
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  7. db410c: configs: increase gunzip buffer size for the kernel

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    the kernel fails to boot when it goes over the limit.
    
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  8. db820c: stop autoboot when vol- pressed

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  9. db820c: enable pmic gpios for pm8994

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  10. db820c: add qualcomm dragonboard 820C support

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    This commit adds support for 96Boards Dragonboard820C.
    
    The board is based on APQ8086 Qualcomm Soc, complying with the
    96Boards specification.
    
    Features
     - 4x Kyro CPU (64 bit) up to 2.15GHz
     - USB2.0
     - USB3.0
     - ISP
     - Qualcomm Hexagon DSP
     - SD 3.0 (UHS-I)
     - UFS 2.0
     - Qualcomm Adreno 530 GPU
     - GPS
     - BT 4.2
     - Wi-Fi 2.4GHz, 5GHz (802.11ac)
     - PCIe 2.0
     - MIPI-CSI, MIPI-DSI
     - I2S
    
    U-Boot boots chained from LK (LK implements the fastboot protocol) in
    64-bit mode.
    
    For detailed build instructions see readme.txt in the board directory.
    
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  11. arm: mach-snapdragon: refactor clock driver

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    In preparation to add support for the Dragonboard820c (APQ8096),
    refactor the current Snapdragon clock driver.
    
    No new functionality has been added.
    
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  12. env: enable accessing the environment in an EXT4 partition

    Jorge Ramirez-Ortiz committed with trini Jan 10, 2018
    For example to store the environment in a file named "/uboot.env" in MMC
    "0", where partition "1" contains the EXT4 filesystem, the following
    configs should be added to the board's default config:
    
      CONFIG_ENV_IS_IN_EXT4=y
      CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1"
      CONFIG_ENV_EXT4_FILE="/uboot.env"
      CONFIG_ENV_EXT4_INTERFACE="mmc"
    
    Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
    [trini: Fix some line over 80 chars issues]
    Signed-off-by: Tom Rini <trini@konsulko.com>