25 Feb, 2014

8 commits

  • u-boot binary size for Freescale mpc8536DS platforms is 512KB.
    This has been reached to upper limit of the platforms and causig
    linker error. So increase the u-boot binary size to 768KB.

    Signed-off-by: Haijun Zhang
    Reviewed-by: York Sun

    Haijun.Zhang
     
  • Function "genphy_parse_link()" used "if (mii_reg & BMSR_ANEGCAPABLE)" before
    while "if (phydev->supported & SUPPORTED_Autoneg)" now.
    So assign "phydev->supported" to "phydev->drv->features" for ar8031/8033
    to enable autonegotiation.

    Signed-off-by: Zhao Qiang
    Reviewed-by: York Sun

    Zhao Qiang
     
  • In the previous patches, we introduced the SPL/TPL fraamework.
    For SD/SPI flash booting way, we introduce the SPL to enable a loader stub. The
    SPL was loaded by the code from the internal on-chip ROM. The SPL initializes
    the DDR according to the SPD and loads the final uboot image into DDR, then
    jump to the DDR to begin execution.

    For NAND booting way, the nand SPL has size limitation on some board(e.g.
    P1010RDB), it can not be more than 8KB, we can call it "minimal SPL", So the
    dynamic DDR driver doesn't fit into this minimum SPL. We added the TPL that is
    loaded by the the minimal SPL. The TPL initializes the DDR according to the SPD
    and loads the final uboot image into DDR,then jump to the DDR to begin execution.

    This patch enabled SPL/TPL for P1010RDB to support starting from NAND/SD/SPI
    flash with SPL framework and initializing the DDR according to SPD in the SPL/TPL.
    Because the minimal SPL load the TPL to L2 SRAM and the jump to the L2 SRAM to
    execute, so the section .resetvec is no longer needed.

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • There was no enough memory for malloc in SPL booting from spi flash, so
    relayout the memory in SPL: reduce the memory for global data from 16K
    Bytes to 4K Bytes, save the space for malloc.

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • There was no enough stack in SPL, so the buffer needed in SPL is to malloc
    from memory pool and to repalce the temporary variable.

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • 1. The SPL's length of SDCARD boot has not enough,expand the SPL's
    length to 128K.
    2. deleted unused symbol: CONFIG_SYS_RUN_INDDR

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • T2081 QDS is a high-performance computing evaluation, development and
    test platform supporting the T2081 QorIQ Power Architecture processor.

    T2081QDS board Overview
    -----------------------
    - T2081 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz
    - 2MB shared L2 and 512KB L3 CoreNet platform cache (CPC)
    - CoreNet fabric supporting coherent and noncoherent transactions with
    prioritization and bandwidth allocation
    - 32-/64-bit DDR3/DDR3LP SDRAM memory controller with ECC and interleaving
    - Ethernet interfaces:
    - Two on-board 10M/100M/1G bps RGMII ports
    - Two 10Gbps XFI with on-board SFP+ cage
    - 1Gbps/2.5Gbps SGMII Riser card
    - 10Gbps XAUI Riser card
    - Accelerator:
    - DPAA components consist of FMan, BMan, QMan, PME, DCE and SEC
    - SerDes:
    - 8 lanes up to 10.3125GHz
    - Supports SGMII, HiGig, XFI, XAUI and Aurora debug,
    - IFC:
    - 512MB NOR Flash, 2GB NAND Flash, PromJet debug port and Qixis FPGA
    - eSPI:
    - Three SPI flash (16MB N25Q128A + 16MB EN25S64 + 512KB SST25WF040)
    - USB:
    - Two USB2.0 ports with internal PHY (one Type-A + one micro Type mini-AB)
    - PCIe:
    - Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0 with SR-IOV)
    - eSDHC:
    - Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and
    voltage translators
    - I2C:
    - Four I2C controllers.
    - UART:
    - Dual 4-pins UART serial ports

    Signed-off-by: Shengzhou Liu
    Reviewed-by: York Sun

    Shengzhou Liu
     
  • - fix serdes definition for t2081.
    - fix clock speed for t2081.
    - update ids, as CONFIG_FSL_SATA_V2 is needed only for t2080,
    T2081 has no SATA.

    Signed-off-by: Shengzhou Liu
    Reviewed-by: York Sun

    Shengzhou Liu
     

08 Feb, 2014

1 commit


07 Feb, 2014

20 commits


06 Feb, 2014

9 commits

  • Just extend tables with this new device.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • When ARCH_DMA_MINALIGN is greater than header size of the bit file, and buf is
    not aligned, new_buf address became greater then buf_start address and the
    load_word loop corrupts bit file data.

    A work around is to decrease new_buf of ARCH_DMA_MINALIGN, it might corrupt data
    before buf but permits to load correctly.

    Signed-off-by: Stany MARCEL
    Signed-off-by: Michal Simek

    Novasys Ingenierie
     
  • The mv_udc is not marvell-specific anymore. The mv_udc is used to drive
    generic ChipIdea CI13xxx series OTG cores, so rename the driver to ci_udc
    instead.

    Signed-off-by: Marek Vasut
    Cc: Eric Nelson
    Cc: Stefano Babic

    Marek Vasut
     
  • Apparently debug memset (with a 0x55 value) has been overlooked in the
    f_thor code.

    Signed-off-by: Lukasz Majewski
    Cc: Marek Vasut

    Lukasz Majewski
     
  • Now it is possible to allocate static request - which receives data from
    the host (OUT transaction) to the size of THOR packet.

    Signed-off-by: Lukasz Majewski
    Cc: Marek Vasut

    Lukasz Majewski
     
  • The Samsung's UDC driver is not anymore copying data from USB requests to
    aligned internal buffers. Now it works directly in data allocated in the
    upper layers like UMS, DFU, THOR.

    This change is possible since those gadgets now must take care to allocate
    buffers aligned to cache line (CONFIG_SYS_CACHELINE_SIZE).

    This can be achieved by using DEFINE_CACHE_ALIGN_BUFFER() or
    ALLOC_CACHE_ALIGN_BUFFER() macros. Those take care to allocate buffer
    aligned to cache line in both starting address and its size.
    Sometimes it is enough to just use memalign() with size being a
    multiplication of cache line size.

    Test condition
    - test HW + measurement: Trats - Exynos4210 rev.1
    - test HW Trats2 - Exynos4412 rev.1
    400 MiB compressed rootfs image download with `thor 0 mmc 0`

    Measurement:
    Transmission speed: 27.04 MiB/s

    Signed-off-by: Lukasz Majewski
    Cc: Marek Vasut

    Lukasz Majewski
     
  • This patch removed obscure restriction on the HW setting of DMA transfers.
    Before this change each transaction sent up to 512 bytes (with packet count
    equal to 1) for non EP0 transfer.

    Now it is possible to setup DMA transaction up to DMA_BUFFER_SIZE.

    Test condition
    - test HW + measurement: Trats - Exynos4210 rev.1
    - test HW Trats2 - Exynos4412 rev.1
    400 MiB compressed rootfs image download with `thor 0 mmc 0`

    Measurement:
    Transmission speed: 20.74 MiB/s

    Signed-off-by: Lukasz Majewski
    Cc: Marek Vasut

    Lukasz Majewski
     
  • A set of cache operations (both invalidation and flush) were redundant
    in the S3C HS OTG Samsung driver:

    1. s3c_udc_ep0_zlp - to transmit EP0's ZLP packets one don't need to flush
    the cache (since it is the zero length transmission)

    2. s3c_udc_pre_setup and s3c_ep0_complete_out - cache invalidation is not
    needed when the buffer for OUT EP0 transmission is setup, since no data
    has yet arrived.

    Cache cleanups presented above don't contribute much to transmission speed
    up, hence shall be regarded as cosmetic changes.

    3. setdma_rx - here the s3c UDC driver's internal buffers were invalidated.
    This call is not needed anymore since we reuse the buffers passed from
    gadgets. This is a key contribution to transmission speed improvement.

    Test condition
    - test HW + measurement: Trats - Exynos4210 rev.1
    - test HW Trats2 - Exynos4412 rev.1
    400 MiB compressed rootfs image download with `thor 0 mmc 0`

    Measurements:

    Base values (without improvement):
    Transmission speed: 9.51 MiB/s

    After the change:
    Transmission speed: 10.15 MiB/s

    Signed-off-by: Lukasz Majewski
    Cc: Marek Vasut

    Lukasz Majewski
     
  • Calls to malloc() have been replaced by memalign. It now provides proper
    buffer alignment.

    Signed-off-by: Lukasz Majewski
    Cc: Marek Vasut

    Lukasz Majewski
     

05 Feb, 2014

2 commits