16 Oct, 2016

1 commit


15 Oct, 2016

2 commits


14 Oct, 2016

4 commits

  • Tom Rini
     
  • Sometimes devicetree nodes and or properties are added out of the u-boot
    console, maybe through some script or manual interaction.

    The devicetree as loaded or embedded is quite small, so the devicetree
    has to be resized to take up those new nodes/properties.

    In original the devicetree was only extended by effective
    4 * add_mem_rsv.

    With this commit we can add an argument to the "fdt resize" command,
    which takes the extrasize to be added.

    Signed-off-by: Hannes Schmelzer

    Signed-off-by: Hannes Schmelzer
    Acked-by: Simon Glass

    Hannes Schmelzer
     
  • Ethernet ports might be used in the kernel even if CPSW driver
    is disabled at u-boot. So always set ethaddr and eth1addr
    environment variable from efuse.

    Retain usbnet_devaddr as it is required for SPL USB eth boot.

    Signed-off-by: Roger Quadros
    Reviewed-by: Tom Rini
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Roger Quadros
     
  • Both ethernet ports can be used as CPSW ethernet (RMII mode)
    or PRU ethernet (MII mode) by setting the jumper near the port.
    Read the jumper value and set the pinmux, external mux and
    PHY clock accordingly.

    As jumper line is overridden by PHY RX_DV pin immediately
    after bootstrap (power-up/reset), we have to use GPIO edge
    detection to capture the jumper line status.

    As u-boot doesn't provide any infrastructure for GPIO edge
    detection, we directly access the GPIO registers.

    Signed-off-by: Roger Quadros
    Reviewed-by: Tom Rini
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Roger Quadros
     

13 Oct, 2016

1 commit


12 Oct, 2016

3 commits


11 Oct, 2016

1 commit


09 Oct, 2016

5 commits


08 Oct, 2016

3 commits


07 Oct, 2016

8 commits


06 Oct, 2016

4 commits


04 Oct, 2016

3 commits

  • Add i.MX6ULL EVK board support:
    Add device tree file, which is copied from NXP Linux.
    Enabled DM_MMC, DM_GPIO, DM_I2C, DM_SPI, PINCTRL, DM_REGULATOR.
    The uart iomux settings are still keeped in board file.

    Boot Log:
    U-Boot 2016.09-rc1-00366-gbb419ef-dirty (Aug 11 2016 - 13:08:58 +0800)

    CPU: Freescale i.MX6ULL rev1.0 at 396MHz
    CPU: Commercial temperature grade (0C to 95C) at 15C
    Reset cause: POR
    Model: Freescale i.MX6 ULL 14x14 EVK Board
    Board: MX6ULL 14x14 EVK
    DRAM: 512 MiB
    MMC: initialized IMX pinctrl driver
    FSL_SDHC: 0, FSL_SDHC: 1
    In: serial
    Out: serial
    Err: serial
    Net: CPU Net Initialization Failed
    No ethernet found.
    Hit any key to stop autoboot: 0
    => mmc dev 1
    switch to partitions #0, OK
    mmc1 is current device

    Signed-off-by: Peng Fan
    Cc: Stefano Babic

    Peng Fan
     
  • When using SPL on i.mx6 we frequently notice some DDR initialization
    mismatches between the SPL code and the non-SPL code.

    This causes stability issues like the ones reported at 7dbda25ecd6d7c
    ("mx6ul_14x14_evk: Pass refsel and refr fields to avoid hang") and also:
    http://lists.denx.de/pipermail/u-boot/2016-September/266355.html .

    As the non-SPL code have been tested for long time and proves to be reliable,
    let's configure the DDR in the exact same way as the non-SPL case.

    The idea is simple: just use the DCD table and write directly to the DDR
    registers.

    Retrieved the DCD tables from:
    board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg
    and
    board/freescale/mx6sabresd/mx6qp.cfg
    (NXP U-Boot branch imx_v2015.04_4.1.15_1.0.0_ga)

    This method makes it easier for people converting from non-SPL to SPL code.

    Other benefit is that the SPL binary size is reduced from 44 kB to 39.9 kB.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • A kernel hang is observed when running wandboard 3.14 kernel and
    going to the lowest operational point of cpufreq:

    # ifconfig eth0 down
    # echo 1 > /sys/class/graphics/fb0/blank

    The problem is caused by incorrect setting of the REFR field
    of register MDREF. Setting it to 4 refresh commands per refresh
    cycle fixes the hang.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

03 Oct, 2016

1 commit


02 Oct, 2016

4 commits