30 Mar, 2019

4 commits


04 Dec, 2018

3 commits


19 Oct, 2018

6 commits


15 Sep, 2018

1 commit


19 Jul, 2018

1 commit


16 Jun, 2018

1 commit


03 Jun, 2018

1 commit


01 Jun, 2018

1 commit


20 May, 2018

1 commit

  • The V2H Blanche port was broken since some time. This patch updates
    the V2H Blanche port to use modern frameworks, DM, DT probing, SPL
    for the preloading and puts it on par with the M2 Porter board.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     

07 May, 2018

1 commit

  • 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: Tom Rini

    Tom Rini
     

02 May, 2018

2 commits


26 Apr, 2018

4 commits


22 Apr, 2018

1 commit

  • The E2 Silk port was broken since some time. This patch updates
    the E2 Silk port to use modern frameworks, DM, DT probing, SPL
    for the preloading and puts it on par with the M2 Porter board.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu
    ---
    NOTE: The port is missing support for I2C1 for DA9063 reset, since the
    I2C driver needs to be converted to DM and DT probing. That's not
    an issue for this patch though, since the reset was broken on Silk
    since forever.

    Marek Vasut
     

18 Apr, 2018

1 commit

  • The M2 Koelsch port was broken since some time. This patch updates
    the M2 Koelsch port to use modern frameworks, DM, DT probing, SPL
    for the preloading and puts it on par with the M2 Porter board.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     

17 Apr, 2018

2 commits


14 Apr, 2018

3 commits


12 Apr, 2018

3 commits

  • Add JTAG recovery support into the M2 Porter TPL. This allows the
    TPL to be loaded over JTAG, initialize the system, wait for the
    JTAG debugger to load U-Boot image into RAM and then resume and
    start U-Boot from RAM.

    The procedure is as follows:
    1) Load u-boot-tpl.bin to 0xe6300000
    2) Write magic number 0x1337c0de to 0xe6300020
    TPL checks for this particular magic and starts JTAG recovery
    if this number is present. This is not present by default.
    3) Start U-Boot TPL from 0xe6300000
    4) Wait for a message from TPL on UART indicating JTAG boot:
    "JTAG boot detected!"
    5) Halt the system in JTAG debugger
    6) Load U-Boot image (u-boot.img) to 0x4fffffc0
    7) Write magic number 0xb33fc0de to 0xe6300024
    TPL checks for this particular magic to verify that the U-Boot
    image was loaded into DRAM by the JTAG debugger.
    8) Resume the system in JTAG debugger

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     
  • Add and enable TPL on M2 Porter. The TPL must fit into 16 kiB due
    to the Gen2 BootROM restriction. The TPL is running from MERAM and
    is capable of performing the initial initialization of PFC, Clock,
    GPIO, LBSC, DBSC and QSPI NOR. DBSC is responsible for bringing up
    the DDR DRAM access. The TPL is capable of loading the next stage,
    U-Boot, from either SPI NOR or UART as a fallback. If either does
    provide a valid U-Boot uImage, the system stops, which allows the
    operator to load U-Boot ie. via JTAG and start it manually.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     
  • Pull the SPL code from porter.c into a separate file in
    preparation for the addition of system initialization code.
    No functional change.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     

09 Apr, 2018

1 commit

  • In order that we can use eth_env_* even when CONFIG_NET isn't set, move
    these functions to environment code from net code.

    This fixes failures such as:

    board/ti/am335x/built-in.o: In function `board_late_init':
    board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
    u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'

    which caters for use cases such as:

    commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment
    variable")

    when Ethernet is required in Linux, but not U-Boot.

    Signed-off-by: Alex Kiernan

    Alex Kiernan
     

05 Mar, 2018

1 commit


18 Feb, 2018

2 commits

  • The 'reset' command did not work on Porter because the reset code
    was accessing the wrong PMIC address over broken I2C bus driver.
    Replace the code with DM-aware code and fix up the PMIC address.
    This makes the 'reset' command work again.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     
  • Toggle the PHY reset GPIO to bring the ethernet PHY out of reset properly.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu
    ---
    NOTE: This should be moved to the SH ethernet driver, but it's quite
    late in the cycle, so this is something to be done in 2018.05.

    Marek Vasut