28 Nov, 2013

4 commits

  • Add Ethernet and networking support on uDoo board (FEC +phy Micrel KSZ9031).
    Ethernet speed is currently limited to 10/100Mbps.

    Signed-off-by: Giuseppe Pagano
    Tested-by: Fabio Estevam
    CC: Stefano Babic
    CC: Fabio Estevam

    Giuseppe Pagano
     
  • Previous uDoo configuration adopts register settings for DDR3, clock, muxing,
    etc. taken from Nitrogen6x. uDoo schematics is rather different from that board,
    and it needs customized setting for most of the registers.
    All this changes can be considered atomical since it is part of initial support
    of the board.

    Patch changes uDoo configuration files path to a specific one, and adopt
    optimized value for every configured register.

    Signed-off-by: Giuseppe Pagano
    Tested-by: Fabio Estevam
    CC: Stefano Babic
    CC: Fabio Estevam

    Giuseppe Pagano
     
  • mx6sabre board has a m25p32 SPI NOR connected to ECSPI1 port.

    Add support for it.

    This patch allows the SPI NOR flash to be succesfully detected:

    => sf probe
    SF: Detected M25P32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Currently HDMI splash screen is selected by default on mx6sabresd boards.

    As LVDS is also enabled, this causes incorrect colors to be displayed im the
    LVDS panel.

    Fix this by selecting the LVDS panel as the default splash output and only keep
    HDMI or LVDS turned on at the same time.

    Acked-by: Liu Ying
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

27 Nov, 2013

6 commits


21 Nov, 2013

1 commit

  • The fec_halt() never free'd both RX and TX DMA descriptors that
    were allocated in fec_init(), nor did it free the RX buffers.
    Rework the FEC driver so that these descriptors and buffers are
    allocated only once in fec_probe().

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Stefano Babic

    Marek Vasut
     

13 Nov, 2013

11 commits


12 Nov, 2013

9 commits

  • - dxr2: define unused pins as input
    - do not enable RTC32K OSC on dxr2 board
    - update default environment
    - add splashpos=m,m to default environment, so splash screen is always
    centered.
    - adapt environment for bootcount feature
    - add altbootcmd to default environment
    - rut: SPL add early reset pulse for eth-phy, maXTouch and display
    - rut: display timing aenderungen
    - siemens boards: adapt for background color = white
    - add boutcount feature for the siemens boards
    store the bootcount in the environment, as we have no softreset
    save registers on this hardware. Use therefore the CONFIG_BOOTCOUNT_ENV
    bootcount driver.
    - change spi mode from 3 to 0 for the lcd init
    - add gpio pin for lcd reset with state 0 and add mdelay
    - siemens boards: use own USB id's
    - add dfu serial and device number for siemens boards
    Add for the siemens boards the possibility to define in dfu mode,
    the iSerialNumber and the bcdDevice fields in the USB Device
    descriptor.
    - fix upgrade mechanism based on bootcount
    Correct location of saveenv and remove not active variable.

    Add CONFIG_BOOT_RETRY_TIME and CONFIG_RESET_TO_RETRY to
    reboot board in case of empty kernel partition. Without
    these defines an empty kernel partition leads to an
    abort of boot process and one remains in u-boot prompt.

    - general cleanup of dxr2, pxm2 and rut boards
    all:
    * Remove net boot from bootcmd
    Ping can cause a crash on boards without ethernet phy.
    net_nfs command is used only for development

    * Add reset at the end of bootcmd
    In order to have an immediate reset of the boot when bootcmd
    fails, add reset at the end of bootcmd.

    rut:
    * add nand_img_size

    dxr2:
    * update nand_img_size

    * ddr3 timings updated with iocontrol property that can be
    modified via eeprom. New default parameters from software
    leveling with draco ES2.

    Signed-off-by: Samuel Egli
    Signed-off-by: Pascal Bach
    Signed-off-by: Roger Meier
    Signed-off-by: Heiko Schocher
    Cc: Matthias Michel
    Cc: Tom Rini

    Samuel Egli
     
  • add the possibility to set the bcdDevice number board specific.
    Therefore the weak function g_dnl_get_board_bcd_device_number()
    is introduced. Used on the siemens boards.

    Signed-off-by: Heiko Schocher
    Acked-by: Lukasz Majewski
    Cc: Marek Vasut
    Cc: Kyungmin Park

    Heiko Schocher
     
  • Signed-off-by: Tom Rini

    Tom Rini
     
  • Some am33xx boards may not use the RTC block for bootcount (as it may
    not be wired up for the board) and use some other facility. So add
    another symbol for the bootcount driver for the IP block.

    Acked-by: Heiko Schocher
    Signed-off-by: Tom Rini

    Tom Rini
     
  • Switch to using the generic gpio_led driver instead of the private to
    cm_t35 board led implementation.

    Signed-off-by: Igor Grinberg
    Tested-by: Nikita Kiryanov

    Igor Grinberg
     
  • Commit f6d1f6e4a58edae4776937647381a43fea5e83a5 broke selection of UARTs
    other than UART0 for am335x_evm configurations by setting CONS_INDEX to
    1 for all configurations. Revert the CONS_INDEX changes.

    Signed-off-by: Andrew Bradford

    Andrew Bradford
     
  • Update my email address as ti814x_evm maintainer to save
    people some frustrating bounces and non-response.

    Signed-off-by: Matt Porter

    Matt Porter
     
  • As
    http://www.denx.de/wiki/view/U-Boot/DesignPrinciples#2_Keep_it_Fast
    states:
    "Initialize devices only when they are needed within U-Boot"

    enable the RTC32K OSC only, if CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is
    enabled. Enable this in ti_am335x_common.h, so all boards in mainline
    should work as before.

    Signed-off-by: Heiko Schocher
    Cc: Tom Rini

    Heiko Schocher
     
  • If no softreset save registers are found on the hardware
    "bootcount" is stored in the environment. To prevent a
    saveenv on all reboots, the environment variable
    "upgrade_available" is introduced. If "upgrade_available" is
    0, "bootcount" is always 0 therefore no need to save the
    environment on u-boot boot, if "upgrade_available" is 1 "bootcount"
    is incremented in the environment and environment gets written
    on u-boot start.
    So the Userspace Applikation must set the "upgrade_available"
    and "bootcount" variable to 0 (for example with fw_setenv),
    if a boot was successfully.

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     

10 Nov, 2013

1 commit

  • Conflicts:
    arch/arm/cpu/arm926ejs/mxs/Makefile
    board/compulab/cm_t35/Makefile
    board/corscience/tricorder/Makefile
    board/ppcag/bg0900/Makefile
    drivers/bootcount/Makefile
    include/configs/omap4_common.h
    include/configs/pdnb3.h

    Makefile conflicts are due to additions/removals of
    object files on the ARM branch vs KBuild introduction
    on the main branch. Resolution consists in adjusting
    the list of object files in the main branch version.
    This also applies to two files which are not listed
    as conflicting but had to be modified:

    board/compulab/common/Makefile
    board/udoo/Makefile

    include/configs/omap4_common.h conflicts are due to
    the OMAP4 conversion to ti_armv7_common.h on the ARM
    side, and CONFIG_SYS_HZ removal on the main side.
    Resolution is to convert as this icludes removal of
    CONFIG_SYS_HZ.

    include/configs/pdnb3.h is due to a removal on ARM side.
    Trivial resolution is to remove the file.

    Note: 'git show' will also list two files just because
    they are new:

    include/configs/am335x_igep0033.h
    include/configs/omap3_igep00x0.h

    Albert ARIBAUD
     

09 Nov, 2013

8 commits