Permalink
Switch branches/tags
Commits on Jan 26, 2016
  1. NON-REDISTRIBUTABLE! Use libdram blob to initialize A64 DRAM controller

    ssvb committed Jan 26, 2016
    In order to compile this code, the 'libdram' blob needs to be
    placed into the top level directory in the U-Boot source tree.
    
    The file in question can be found in the "lichee_linux_310.tar.gz"
    tarball (linked from the pine64 wiki) at the following path:
    "lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram"
    $ sha256sum libdram
    e23855effc870b194ab0e9623760f1f184f0129f644e0df639329ec2dc838055 libdram
    
    Please note that linking proprietary code with the GPL licensed
    U-Boot sources creates non-redistributable binaries. The GPL license
    requires that full source code needs to be provided together with
    the binaries. It means that if you try to create, let's say, a
    binary SD card image with this code, and *distribute* it to other
    people, then these other people have the right to request full
    source code from *you* (including the 'libdram' sources too).
  2. EXPERIMENTAL: Pine64+ defconfig and dts

    ssvb committed Jan 26, 2016
    Provisional DTS/DTSI files have been just taken from
        https://github.com/apritzel/linux/tree/a64-wip-mripard-for-next
    and dumped here.
    
    Now "pine64_plus_defconfig" can be used to configure and compile
    U-Boot.
    
    But DRAM support is still missing.
    
    Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
  3. EXPERIMENTAL: Initial Allwinner A64 support

    ssvb committed Jan 26, 2016
    This is the first Allwinner SoC to get SPL support with the
    SPL address different from 0x0 (A80 is similar, but does not
    have SPL support yet). So some bizarre bugs may be still
    there (related to SRAM address space layout).
    
    Setup UART and basic clocks (A64 is very similar to A31 and H3,
    but a detailed comparison is yet to be done). Some clocks
    may be not quite right.
    
    No AXP803 PMIC setup yet, so set 816 MHz CPU clock frequency
    by default (it should be safe at the default 1.1V voltage from
    the uninitialized PMIC).
    
    Also add empty placeholder instead of the DRAM initialization.
    
    Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Commits on Jan 12, 2016
  1. Prepare v2016.01

    trini committed Jan 12, 2016
    Signed-off-by: Tom Rini <trini@konsulko.com>
Commits on Jan 11, 2016
  1. dm: test: usb: Update the USB tests so that they all pass

    sglass68 authored and trini committed Jan 7, 2016
    Due to a limitation removed in an earlier patch, USB tests were not seeing
    all the devices. Update the tests to pass now that all devices are visible.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  2. MAINTAINERS/mailmap: Update my email address

    Fabio Estevam authored and trini committed Jan 11, 2016
    Update my email address to the NXP account.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Commits on Jan 10, 2016
  1. cgtqmx6eval: README: Fix parameter of 'sf write' command

    otavio authored and sbabic committed Jan 7, 2016
    'sf command' should receive the length in sector boundaries, so fix it
    accordingly.
    
    Also, show the steps to set the server and board IP addresses for
    making the steps clearer.
    
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
    Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
  2. mx6cuboxi: Remove obsolete comment

    Fabio Estevam authored and sbabic committed Jan 6, 2016
    We currently support various versions of Solidrun mx6 boards, so
    remove the obsolete comment.
    
    Reported-by: Jon Nettleton <jon.nettleton@gmail.com>
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Reviewed-by: Stefano Babic <sbabic@denx.de>
  3. mx6cuboxi: Fix the reset delay for the AR8035 PHY

    Fabio Estevam authored and sbabic committed Jan 4, 2016
    Since commit 59370f3 ("net: phy: delay only if reset handler is
    registered") Ethernet is no longer functional:
    
    Booting from net ...
    FEC Waiting for PHY auto negotiation to complete......... TIMEOUT !
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    
    This commit does not have an issue in itself, but it revelead a problem
    with the Ethernet initialization.
    
    As per the AR8035 datasheet:
    
    "For a reliable power on reset, suggest to keep asserting the reset
    low long enough (10ms) to ensure the clock is stable and clock-to-reset
    1ms requirement is satisfied."
    
    So do as suggested and keep the reset low for 10ms.
    
    Also add a 100us delay after deasserting the reset line
    to guarantee that the PHY ID can be read correctly and the Atheros
    PHY can be loaded as per Troy Kisky's suggestion.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Tested-by: Tom Rini <trini@konsulko.com>
Commits on Jan 8, 2016
  1. pci: layerscape: Adjust the return value when ls_pcie_addr_valid() fails

    lbmeng authored and trini committed Jan 8, 2016
    When trying to access non-existent/unsupported PCI devices in
    ls_pcie_read_config(), when ls_pcie_addr_valid() fails it returns
    error code and fills in the result with 0xffffffff manually. But it
    really should return zero to upper layer codes.
    
    Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
  2. pci: imx: Adjust the return value when imx_pcie_addr_valid() fails

    lbmeng authored and trini committed Jan 8, 2016
    When trying to access non-existent/unsupported PCI devices in
    imx_pcie_read_config(), when imx_pcie_addr_valid() fails it returns
    error code and fills in the result with 0xffffffff manually. But it
    really should return zero to upper layer codes.
    
    Reported-by: Fabio Estevam <fabio.estevam@nxp.com>
    Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
    Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
  3. fs: handle the fileaddr variable in the same way as in the network case

    David Müller (ELSOFT AG) authored and trini committed Jan 8, 2016
    Signed-off-by: David Müller <d.mueller@elsoft.ch>
  4. get_maintainer: fix perl 5.22/5.24 deprecated/incompatible "\C" use

    hsdenx authored and trini committed Jan 7, 2016
    from linux commit ce8155f7a3d5:
    
    Perl 5.22 emits a deprecated message when "\C" is used in a regex.  Perl
    5.24 will disallow it altogether.
    
    Fix it by using [A-Z] instead of \C.
    
    >From linux adapted to U-Boot by:
    Signed-off-by: Heiko Schocher <hs@denx.de>
    Reviewed-by: Andre Przywara <andre.przywara@arm.com>
  5. fix always succesful memory test

    Rasmus Villemoes authored and trini committed Jan 7, 2016
    Since 51209b1 ("Use common mtest iteration counting"),
    do_mem_mtest has always reported 0 errors and hence returned 0, even
    if errors were detected. Fix the helpers mem_test_alt() and
    mem_test_quick() to return the number of errors found.
    
    Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
  6. cyrus: Enable STDIO deregister

    puppybane authored and trini committed Jan 6, 2016
    If CONFIG_SYS_STDIO_DEREGISTER is not enabled, usb reset
    will fail every time. Enabling it allows usb reset to
    work.
    
    Signed-off-by: Andy Fleming <afleming@gmail.com>
  7. MAINTAINERS, .mailmap: Update my email address

    York Sun authored and trini committed Jan 5, 2016
    Change from yorksun@freescale.com to york.sun@nxp.com.
    
    Signed-off-by: York Sun <york.sun@nxp.com>
  8. am33xx/am43xx: Add platform data for GPIOs

    trini committed Jan 5, 2016
    On these platforms we have many cases of boards that enable device model
    and GPIO support but do not enable OF_CONTROL and pass in a device tree
    with the binary.  We need to bring in the platform data here as well.
    
    Tested on Beaglebone Black.
    
    Reported-by: Robert Nelson <robertcnelson@gmail.com>
    Reported-by: Francisco Aguerre <franciscoaguerre@gmail.com>
    Reported-by: Jason Kridner <jkridner@beagleboard.org>
    Signed-off-by: Tom Rini <trini@konsulko.com>
  9. serial: zynq: Use static inline for _debug_uart_init()

    michalsimek authored and trini committed Jan 5, 2016
    Mark _debug_uart_init() as static to avoid sparse warning and
    inline it to debug_uart_init().
    
    Reported-by: Thomas Chou <thomas@wytron.com.tw>
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Reviewed-by: Thomas Chou <thomas@wytron.com.tw>
    Reviewed-by: Simon Glass <sjg@chromium.org>
    Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
    Acked-by: Simon Glass <sjg@chromium.org>
  10. net: remove scary warning about EEPROM provided MAC address

    Andre-ARM authored and trini committed Jan 4, 2016
    In many parts of the computing world having a unique MAC address
    sitting in some on-NIC storage is considered the normal case.
    Remove the warning to not scare the user unnecessarily.
    This applies to Highbank/Midway and ARM's Juno, for instance.
    Besides that this fixes the formatting on Midway, for instance,
    which currently looks like:
    ...
    Net:   xgmac0
    Warning: xgmac0 using MAC address from net device
    , xgmac1
    Warning: xgmac1 using MAC address from net device
    ...
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
  11. arm64: Juno/FVP: adjust kernel load address

    Andre-ARM authored and trini committed Jan 4, 2016
    The default kernel load offset for an arm64 kernel is 0x80000, so
    U-Boot takes cares of moving the loaded kernel to a matching memory
    location just before booting it.
    Since we run with caches off, this takes a while for any decently
    sized kernel - with no output explaining the reason for the delay
    (unless one uses a DEBUG build).
    By adjusting the default load offset for Juno and VFP to be 512K
    aligned in the first place we can skip this copying and boot much
    faster.
    Tested on Juno.
    
    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
  12. arm, Makefile: correct compilation flag for u-boot-dtb

    Aneesh Bansal authored and trini committed Dec 23, 2015
    The compilation of u-boot-dtb.img should be controlled by
    CONFIG_OF_CONTROL and not CONFIG_DM.
    CONFIG_DM may be defined even without Device Tree requirement.
    
    This was added in commit 947cee1.
    
    Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
    Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
    CC: Alison Wang <alison.wang@freescale.com>
  13. bootcount: Correct #endif comment to match, other aesthetics

    rpjday authored and trini committed Dec 22, 2015
    Correct mismatched comment on #endif to agree with its #if defined().
    
    Also add some missing #endif comments for consistency, take out
    extraneous blank lines for readability.
    
    rday
  14. doc: Tidy up first part of top-level README file

    rpjday authored and trini committed Dec 19, 2015
    First (small) pass at tidying up the README file, including:
    
     * remove references to obsolete CREDITS file
     * remove (some) references to obsolete boards.cfg file
     * remove at least one reference to a "scrapped" board
     * cut down unnecessarily detailed directory hierarchy
     * bunch of grammar and spelling tweaks
    
    Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
  15. powerpc: Various typo fixes under arch/powerpc/cpu/mpc83xx

    rpjday authored and trini committed Dec 16, 2015
    Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
  16. include: Correct "requset" typoes in misc.h

    rpjday authored and trini committed Dec 14, 2015
    Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
    Acked-by: Thomas Chou <thomas@wytron.com.tw>
  17. rockchip: Fix the configuration for chromebook_jerry

    sglass68 committed Dec 29, 2015
    Various updates did not make it through to this board. Also the instructions
    for building a SPI image are no-longer correct. Fix these so that Jerry can
    boot to a prompt again.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  18. rockchip: Drop a debug message when outputing SPI images

    sglass68 committed Dec 29, 2015
    There is an unnecessary sector count displayed. Drop it.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
  19. rockchip: Enable generation of SPI images

    sglass68 committed Dec 29, 2015
    This feature was dropped at some point. Restore it.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
Commits on Jan 7, 2016
  1. net: Fix delay in net_retry test

    jhershbe authored and sglass68 committed Dec 21, 2015
    Introduced in 45b4773 (net/arp: account for ARP delay, avoid duplicate packets on timeout)
    
    Check the arp timeout and adjust the timeout start time before the call
    to eth_recv() so that the sandbox driver has the opportunity to adjust
    the sandbox timer after the new start time has been recorded.
    
    Also, change the adjustment amount by 11 seconds instead of exactly the
    10 seconds that the ping timout is expecting since the timeout check is
    looking for the time elapsed to be greater than but not equal to the
    specified delay.
    
    Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
    Reviewed-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Acked-by: Simon Glass <sjg@chromium.org>
  2. fdt: fix address cell count checking in fdt_translate_address()

    bobenstein authored and sglass68 committed Oct 28, 2015
    Commit: dm: core: Enable optional use of fdt_translate_address()
    
    Enables use of this function as default, but after this it's not
    possible to get dev address for the case in which: '#size-cells == 0'
    
    This causes errors when getting address for some GPIOs, for which
    the '#size-cells' is set to 0.
    
    Example error:
    '__of_translate_address: Bad cell count for gpx0'
    
    Allowing for that case by modifying the macro 'OF_CHECK_COUNTS',
    (called from )__of_translate_address(), fixes the issue.
    
    Now, this macro doesn't check, that '#size-cells' is greater than 0.
    
    This is possible from the specification point of view, but I'm not sure
    that it doesn't introduce a regression for other configs.
    
    Please test and share the results.
    
    Tested-on: Odroid U3, Odroid X2, Odroid XU3, Sandbox.
    
    Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: Lukasz Majewski <l.majewski@samsung.com>
    Cc: Jaehoon Chung <jh80.chung@samsung.com>
    Cc: Stefan Roese <sr@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Bin Meng <bmeng.cn@gmail.com>
    Cc: Marek Vasut <marex@denx.de>
    Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
    Tested-by: Lukasz Majewski <l.majewski@samsung.com>
  3. dm: usb: Add a remove() method for USB keyboards

    sglass68 committed Jan 3, 2016
    At present USB keyboards are not properly removed with driver model. Add the
    code to handle this.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    Reviewed-by: Marek Vasut <marex@denx.de>