27 Dec, 2017

2 commits


25 Dec, 2017

3 commits

  • Linux device tree contains "ethernet" node for all possible
    interface supported by SoC i.e. LS1046A.

    It is not necessary for a SerDes protocol to support all possible
    interface. So disable unavailable "ethernet" node in device tree.

    Also, enable FDT_SEQ_MACADDR_FROM_ENV to fetch MAC address
    sequentially from environment variables

    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     
  • "ethernet" node fix-up for device tree happens before Linux boot.

    There can be requirement of updating "ethernet" node even before
    fix-up. So, add support of updating "ethernet" node.

    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     
  • The MAC addresses get fixed in the device tree for "ethernet" nodes
    is by using trailing number behind "ethernet" found in "/aliases".
    It may not be necessary for the "ethernet" nodes to be sequential.
    There can be gaps in between or any node disabled

    So provide a support to fetch MAC addr sequentially from env
    and apply them to "ethernet" nodes in the order they appear in
    device tree only if "ethernet" is not "disabled"

    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     

21 Dec, 2017

2 commits


19 Dec, 2017

22 commits


18 Dec, 2017

9 commits

  • Only rk3399 atf need ROCKCHIP_SPL_RESERVE_IRAM. This commit updates
    its default setting to 0 so that other SoCs do not need to define it.

    Signed-off-by: Kever Yang
    Acked-by: Philipp Tomsich
    Reviewed-by: Philipp Tomsich

    Kever Yang
     
  • Rockchip SoCs only need boot0 hook at SPL, and the U-Boot proper do not
    need it.

    The very beginning of U-Boot proper is different between armv7 and armv8:
    armv7 start with ARM_VECTORS while armv8 start with 'b reset'.

    Here is the map of very beginning for all cases:
    armv7 SPL: TAG(overwrite 'b 1f')+'b reset' + ARM_VECTORS
    armv7 U-Boot: ARM_VECTORS
    armv8 SPL: TAG(overwrite 'b 1f')+'b reset' + Reserved_iram(rk3399)
    armv8 U-Boot: 'b reset'

    Signed-off-by: Kever Yang
    Acked-by: Philipp Tomsich
    Reviewed-by: Philipp Tomsich

    Kever Yang
     
  • After adding our small zynq uboot which has hush parser off same
    variable tests start to failed. Use quotes only when hush is enabled.

    Reported-by: Michal Simek
    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • Access the timestamp ref ctrl register only if runinng
    at el3 level otherwise just return. This change fixes
    the issue when CRL APB is marked as secure and accessing
    when not in el3 causes exception.

    Signed-off-by: Siva Durga Prasad Paladugu
    Signed-off-by: Michal Simek

    Siva Durga Prasad Paladugu
     
  • Check all return values from file functions.
    In case of negative return exit immediately.
    Also change fsize return value which can't be negative.

    Reported-by: Coverity (CID: 23276, 23304, 169357)
    Signed-off-by: Michal Simek

    Michal Simek
     
  • Dont use 4K sector erase by default, Disabling this
    would use 64K sector erase and decreases erase time.
    Also disabled by the fact that UBIFS and JFFS2 won't work
    with 4K sector erase.

    Signed-off-by: Siva Durga Prasad Paladugu
    Signed-off-by: Michal Simek

    Siva Durga Prasad Paladugu
     
  • Enabling all spi flashes because some of these boards can have different
    flashes compared to public version.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • This commit adds ENV_SIZE and ENV_OFFSET configuration items for
    ARCH_ROCKCHIP, but keeps these non-visible (i.e. not prompt is given).
    With these new items present, the configuration from the header files
    is moved to Kconfig.

    Keeping these non-visible is necessary to have the possibility to
    select new default values if CONFIG_IS_IN_* is changed (interactively
    or with oldconfig). Otherwise it will always be set to a previous
    value if used with a prompt. As an example if we do a defconfig with
    CONFIG_IS_IN_MMC and change it to CONFIG_IS_IN_SPI_FLASH via
    menuconfig, ENV_SIZE and ENV_OFFSET will not be changed to the correct
    values as defconfig will already have set them to the default values
    of CONFIG_IS_IN_MMC in .config.

    Signed-off-by: Klaus Goger
    Reviewed-by: Philipp Tomsich

    Klaus Goger
     
  • Patch queue for efi - 2017-12-17

    A few fixes for 2018.01:

    - Compile fix with helloworld example
    - DP match fix (fixes FreeBSD loader and grub on block storage)
    - More DP fixes for SD, block
    - Fix use-after-free

    Tom Rini
     

17 Dec, 2017

2 commits

  • The PCIe reset signal is connected to GPIO4_C6 on the Puma
    module. This pin is supplied by 1.8V, but the default iodomain
    setting is 3.0V and in this situation the pin is unable to go
    high.

    Linux assumes that this signal works in early boot
    as PCIe is probed before loading the iodomain driver.

    Make PCIe work in Linux by setting the gpio4cd iodomain to 1.8V.

    Signed-off-by: Jakob Unterwurzacher
    Acked-by: Philipp Tomsich
    Reviewed-by: Philipp Tomsich

    Jakob Unterwurzacher
     
  • User do not need to access the reserved part in system, remove them
    from partition table.
    Rename atf to trust as generic name for armv7 do not use ATF.

    Signed-off-by: Kever Yang
    Acked-by: Philipp Tomsich
    Reviewed-by: Philipp Tomsich

    Kever Yang