24 Jun, 2010

1 commit


23 Jun, 2010

10 commits

  • The MPC5200 has a nasty problem that will cause silent data corruption
    when performing unaligned 16 or 32 byte accesses when reading from the
    local bus - typically this affects reading from flash. The problem can
    be easily shown:

    => md fc0c0000 10
    fc0c0000: 323e4337 01626f6f 74636d64 3d72756e 2>C7.bootcmd=run
    fc0c0010: 206e6574 5f6e6673 00626f6f 7464656c net_nfs.bootdel
    fc0c0020: 61793d35 00626175 64726174 653d3131 ay=5.baudrate=11
    fc0c0030: 35323030 00707265 626f6f74 3d656368 5200.preboot=ech
    => md fc0c0001 10
    fc0c0001: 65636801 00000074 0000003d 00000020 ech....t...=...
    fc0c0011: 0000005f 00000000 00000074 00000061 ..._.......t...a
    fc0c0021: 00000000 00000064 00000065 00000035 .......d...e...5
    fc0c0031: 00000000 00000062 0000003d 0000006f .......b...=...o
    => md.w fc0c0001 10
    fc0c0001: 0000 3701 0000 6f74 0000 643d 0000 6e20 ..7...ot..d=..n
    fc0c0011: 0000 745f 0000 7300 0000 6f74 0000 6c61 ..t_..s...ot..la

    This commit implements a workaround at least for the most blatant
    problem: using memcpy() from NOR flash. We rename the assembler
    routine into __memcpy() and provide a wrapper, which will use a
    byte-wise copy loop for unaligned source or target addresses when
    reading from NOR flash, and branch to the optimized __memcpy()
    in all other cases, thus minimizing the performance impact.

    Tested on lite5200b and TQM5200S.

    Signed-off-by: Wolfgang Denk
    Cc: Detlev Zundel

    Wolfgang Denk
     
  • ATAG_VIDEOLFB is not used anywhere.
    The belowing warning is occurred due to this ATAG.

    [ 0.000000] Ignoring unrecognised tag 0x54410008

    This patch fixed it.

    Signed-off-by: Minkyu Kang
    Signed-off-by: Kyungmin Park
    Acked-by: Martin Krause

    Minkyu Kang
     
  • UBI: initialise update marker

    The in kernel copy of a volume's update marker is not initialised from the
    volume table. This means that volumes where an update was unfinnished will
    not be treated as "forbidden to use". This is basically that the update
    functionality was broken.

    Signed-off-by: Peter Horton
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: Kyungmin Park
    Acked-by: Stefan Roese

    Peter Horton
     
  • Since I haven't been actively maintaining these boards for a long while,
    keeping myself as their maintainer makes no sense.

    Signed-off-by: Guennadi Liakhovetski

    Guennadi Liakhovetski
     
  • Ensure that date is called only with LC_ALL=C locale set to make dates
    locale neutral thus preventing lurking of non-ASCII characters into
    U-Boot binary.

    Signed-off-by: Ilya Yanok

    Changed LANG= into LC_ALL= as suggested by Mike Frysinger
    Signed-off-by: Wolfgang Denk

    Ilya Yanok
     
  • Wolfgang Denk
     
  • Orion5x MPP and GPIO setting code had writel arguments
    the wrong way around. Fixed and tested.

    Signed-off-by: Albert Aribaud

    Albert Aribaud
     
  • Signed-off-by: Terry Lv

    Fix commit message and code formatting.

    Signed-off-by: Wolfgang Denk

    Terry Lv
     
  • The ARM ABI requires that the stack be aligned to 8 bytes as it is noted
    in Procedure Call Standard for the ARM Architecture:
    http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042d/index.html

    Unaligned SP also causes the problem with variable-length arrays
    allocation when VLA address becomes less than stack pointer during
    aligning of this address, so the next 'push' in the stack overwrites
    first 4 bytes of VLA.

    Signed-off-by: Vitaly Kuzmichev

    Tested on tx25(mx25), imx27lite(mx27), qong(mx31) and trab(s3c2400)
    Tested-by: Wolfgang Denk

    Vitaly Kuzmichev
     
  • Wolfgang Denk
     

21 Jun, 2010

2 commits


20 Jun, 2010

2 commits

  • Move it inside the #ifdef CONFIG_NET_MULTI to avoid

    eth.c:64: warning: 'eth_mac_skip' defined but not used

    messages from anumber of old, non-CONFIG_NET_MULTI boards.

    Signed-off-by: Wolfgang Denk
    Cc: Ben Warren

    Wolfgang Denk
     
  • Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
    a "#include " and a "extern int errno;" to include/compiler.h
    which is causing build warnings for some systems, for example for the
    "netstar" board:

    In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
    include/compiler.h:28: warning: function declaration isn't a prototype

    The declaration of "errno" should be redundant, as is
    supposed to provide a correct declaration, so drop it.

    Signed-off-by: Wolfgang Denk
    Cc: Mike Frysinger

    Wolfgang Denk
     

18 Jun, 2010

5 commits


17 Jun, 2010

3 commits


15 Jun, 2010

3 commits


13 Jun, 2010

2 commits

  • Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • Part of this patch is by: Mikhail Kshevetskiy.

    Stack must be aligned to 8 bytes on PXA (possibly all armv5te) for LDRD/STRD
    instructions. In case LDRD/STRD is issued on an unaligned address, the behaviour
    is undefined.

    The issue was observed when working with the NAND code, which was rendered
    disfunctional. Also, the vsprintf() function had serious problems with printing
    64bit wide long longs. After aligning the stack, this wrong behaviour is no
    longer present.

    Tested on:
    Marvell Littleton PXA310 board
    Toradex Colibri PXA320 board
    Aeronix Zipit Z2 PXA270 handheld
    Voipac PXA270 board

    Signed-off-by: Marek Vasut

    Marek Vasut
     

11 Jun, 2010

3 commits

  • Provides initial support for TI OMAP-L138/DA850 SoC devices on
    a Logic PD EVM board.

    Provides:
    Initial boot and configuration.
    Support for i2c.
    UART support (console).

    Signed-off-by: Sudhakar Rajashekhara
    Acked-by: Ben Gardiner
    Reviewed-by: Wolfgang Denk
    Signed-off-by: Sandeep Paulraj

    Sudhakar Rajashekhara
     
  • DA850/OMAP-L138 is a new SoC from Texas Instruments
    (http://focus.ti.com/docs/prod/folders/print/omap-l138.html).
    This SoC is similar to DA830/OMAP-L137 in many aspects. Hence
    rename the da830 specific files and folders to da8xx to
    accommodate DA850/OMAP-L138.

    Signed-off-by: Sudhakar Rajashekhara
    Acked-by: Ben Gardiner
    Reviewed-by: Wolfgang Denk
    Signed-off-by: Sandeep Paulraj

    Sudhakar Rajashekhara
     
  • TI's DA850/OMAP-L138 platform is similar to DA830/OMAP-L137
    in many aspects. So instead of repeating the same code in
    multiple files, move the common code to a different file
    and call those functions from the respective da830/da850
    files.

    Signed-off-by: Sudhakar Rajashekhara
    Acked-by: Nick Thompson
    Acked-by: Ben Gardiner
    Signed-off-by: Sandeep Paulraj

    Sudhakar Rajashekhara
     

09 Jun, 2010

1 commit


08 Jun, 2010

8 commits

  • I have updated this patch based on the comments [1] by Wolfgang Denk and
    removed unused variables.
    [1][http://lists.denx.de/pipermail/u-boot/2010-May/071728.html]

    Reduce the number of reads per byte transferred on the BUF register from 2 to 1 and
    take advantage of the TX buffer in the SPI module. On LogicPD OMAP-L138 EVM,
    SPI read throughput goes up from ~0.8Mbyte/s to ~1.3Mbyte/s. Tested with a 2Mbyte image file.
    Remove unused variables in the spi_xfer() function.

    Signed-off-by: Delio Brignoli
    Tested-by: Ben Gardiner
    Signed-off-by: Sandeep Paulraj

    Delio Brignoli
     
  • This patch adds support for the EMIF4 interface
    available in the AM35x processors.

    Signed-off-by: Vaibhav Hiremath
    Signed-off-by: Sanjeev Premi
    Signed-off-by: Sandeep Paulraj

    Vaibhav Hiremath
     
  • This patch adds basic support for the AM3517EVM.
    It includes:
    - Board files (.c and .h)
    - Default configuration file
    - Updates for Makefile

    Signed-off-by: Vaibhav Hiremath
    Signed-off-by: Sanjeev Premi
    Signed-off-by: Sandeep Paulraj

    Vaibhav Hiremath
     
  • Consolidated SDRC related functions into one file - sdrc.c

    And also replaced sdrc_init with generic memory init
    function (mem_init), this generalization of omap memory setup
    is necessary to support the new emif4 interface introduced in AM3517.

    Signed-off-by: Vaibhav Hiremath
    Signed-off-by: Sandeep Paulraj

    Vaibhav Hiremath
     
  • initialized for CS1

    From: Vaibhav Hiremath

    The patch makes sure that size for SDRC CS1 gets calculated
    only when the CS1 SDRC is initialized.

    Signed-off-by: Vaibhav Hiremath
    Signed-off-by: Sandeep Paulraj

    Vaibhav Hiremath
     
  • The EVMS have been shipping with NAND (instead of OneNAND) as default.
    So, this patch sets NAND as default.

    To choose OneNAND, define CMD_ONENAND instead of CMD_NAND in the
    config file omap3_evm.h.

    Signed-off-by: Vaibhav Hiremath
    Signed-off-by: Sandeep Paulraj

    Vaibhav Hiremath
     
  • TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a
    bunch on on-chip integrated peripherals. This patch adds support for the
    TNETV107X EVM board.

    Signed-off-by: Cyril Chemparathy
    Signed-off-by: Sandeep Paulraj

    Cyril Chemparathy
     
  • TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a
    bunch on on-chip integrated peripherals. This is an initial commit with
    basic functionality, more commits with drivers, etc. to follow.

    Signed-off-by: Cyril Chemparathy
    Signed-off-by: Sandeep Paulraj

    Cyril Chemparathy