01 Sep, 2009

2 commits


31 Aug, 2009

1 commit

  • The "console: unify printing current devices" patch goofed:
    CONFIG_SYS_CONSOLE_INFO_QUIET is supposed to *REMOVE* boot
    time noise, not add it. Said patch changed the #ifndefs
    to #ifdef; this one restores them to the proper sense.

    Signed-off-by: David Brownell

    David Brownell
     

28 Aug, 2009

1 commit


27 Aug, 2009

2 commits


26 Aug, 2009

2 commits


25 Aug, 2009

2 commits

  • Fix ECC Correction bug where the byte offset location were double
    flipped causing correction routine to toggle the wrong byte location
    in the ECC segment. The ndfc_calculate_ecc routine change the order
    of getting the ECC code.
    /* The NDFC uses Smart Media (SMC) bytes order */
    ecc_code[0] = p[2];
    ecc_code[1] = p[1];
    ecc_code[2] = p[3];
    But in the Correction algorithm when calculating the byte offset
    location, the s1 is used as the upper part of the address. Which
    again reverse the order making the final byte offset address
    location incorrect.
    byteoffs = (s1 << 0) & 0x80;
    .
    .
    byteoffs |= (s0 >> 4) & 0x08;
    The order is change to read it in straight and let the correction
    function to revert it to SMC order.

    Signed-off-by: Feng Kan
    Acked-by: Victor Gallardo
    Acked-by: Prodyut Hazarika
    Signed-off-by: Stefan Roese

    Feng Kan
     
  • The SPI controller on the S3C24X0 has 8 bit registers, not 32 bit.

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

24 Aug, 2009

7 commits


23 Aug, 2009

1 commit


22 Aug, 2009

22 commits

  • Wolfgang Denk
     
  • Signed-off-by: Michal Simek
    Signed-off-by: Michal Simek
    Acked-by: Shinya Kuribayashi

    Michal Simek
     
  • linux mpc83xx_defconfig kernels are getting bigger, accommodate for
    their growth by adjusting default load and fdt addresses.

    Signed-off-by: Kim Phillips

    Kim Phillips
     
  • when using Linus' 83xx_defconfig, the mpc8377rdb would hang at boot
    at either:

    NET: Registered protocol family 16

    or the

    io scheduler cfq registered

    message. Fixing up these DDR settings appears to fix the problem.

    Signed-off-by: Kim Phillips

    Kim Phillips
     
  • commit 9993e196da707a0a1cd4584f1fcef12382c1c144 "mpc83xx: convert all
    remaining boards over to 83XX_GENERIC_PCI" remapped pci windows on
    tqm834x to make it more consistent with the other 83xx boards. During
    that time however, the author failed to realize that FLASH_BASE was
    occupying the same range as what PCI1_MEM_BASE was being assigned.

    Signed-off-by: Kim Phillips
    Tested-by: Wolfgang Denk

    Kim Phillips
     
  • Signed-off-by: Heiko Schocher
    Signed-off-by: Kim Phillips

    Heiko Schocher
     
  • This was introduced with the MPC8349EMDS board, and then copied to
    a couple other boards by nature of being the reference implementation.

    u-boot$git grep CONFIG_SYS_MID_FLASH_JUMP
    include/configs/MPC8349EMDS.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000
    include/configs/sbc8349.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000
    include/configs/vme8349.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000
    u-boot$

    It currently isn't used, so delete it before it spreads further.

    Signed-off-by: Paul Gortmaker
    Signed-off-by: Kim Phillips

    Paul Gortmaker
     
  • Prior to this commit, to enable PCI, you had to go manually
    edit the board config header, which isn't really user friendly.
    This adds the typical PCI make targets to the toplevel Makefile
    in accordance with what is being done with other boards.

    Signed-off-by: Paul Gortmaker
    Signed-off-by: Kim Phillips

    Paul Gortmaker
     
  • Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

    Jean-Christophe PLAGNIOL-VILLARD
     
  • This patch fixes some issues with JFFS2 summary support in U-Boot.
    1/ Summary support made compilation configurable (as summary support
    considered expiremental even in Linux).
    2/ Summary code can do unaligned 16-bit and 32-bit memory accesses.
    We need to get data byte by byte to exclude data aborts.
    3/ Make summary scan in two passes so we can safely fall back to full
    scan if we found unsupported entry in the summary.

    Signed-off-by: Ilya Yanok

    Ilya Yanok
     
  • It is recommended to define the macro CONFIG_SYS_64BIT_VSPRINTF
    for NAND specific warning removal, same is done in this patch

    Signed-off-by: Prafulla Wadaskar

    Prafulla Wadaskar
     
  • The TRAB board references local libgcc helper routines
    (lib_arm/div0.o and lib_arm/_umodsi3.o) which cause build problems
    when we try to use the normal, compiler provided libgcc instead.
    Removing these references allows to build both with and without the
    local libgcc helper routines.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • Commit f62fb99941c6 fixed handling of all rodata sections by using a
    wildcard combined with calls to ld's builtin functions SORT_BY_ALIGNMENT()
    and SORT_BY_NAME(). Unfortunately these functions were only
    introduced with biunutils version 2.16, so the modification broke
    building with all tool chains using older binutils.

    This patch makes it work again. This is done by omitting the use of
    these functions for such old tool chains. This will result in
    slightly larger target binaries, as the rodata sections are no longer
    in optimal order alignment-wise which reauls in unused gaps, but the
    effect was found to be insignificant - especially compared to the fact
    that you cannot build U-Boot at all in the current state.

    As ld seems to have no support for conditionals we run the linker
    script through the C preprocessor which can be easily used to remove
    the unwanted function calls.

    Note that the C preprocessor must be run with the "-ansi" (or a
    "-std=") option to make sure all the system-specific predefined
    macros outside the reserved namespace are suppressed. Otherise, cpp
    might for example substitute "powerpc" to "1", thus corrupting for
    example "OUTPUT_ARCH(powerpc)" etc.

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

    Wolfgang Denk
     
  • For some time there have been repeated reports about build problems
    with some ARM (cross) tool chains. Especially issues about
    (in)compatibility with the tool chain provided runtime support
    library libgcc.a caused to add and support a private implementation
    of such runtime support code in U-Boot. A closer look at the code
    indicated that some of these issues are actually home-made. This
    patch attempts to clean up some of the most obvious problems and make
    building of U-Boot with different tool chains easier:

    - Even though all ARM systems basicy used the same compiler options
    to select a specific ABI from the tool chain, the code for this was
    distributed over all cpu/*/config.mk files. We move this one level
    up into lib_arm/config.mk instead.

    - So far, we only checked if "-mapcs-32" was supported by the tool
    chain; if yes, this was used, if not, "-mabi=apcs-gnu" was
    selected, no matter if the tool chain actually understood this
    option. There was no support for EABI conformant tool chains.
    This patch implements the following logic:

    1) If the tool chain supports
    "-mabi=aapcs-linux -mno-thumb-interwork"
    we use these options (EABI conformant tool chain).
    2) Otherwise, we check first if
    "-mapcs-32"
    is supported, and then check for
    "-mabi=apcs-gnu"
    If one test succeeds, we use the first found option.
    3) In case 2), we also test if "-mno-thumb-interwork", and use
    this if the test succeeds. [For "-mabi=aapcs-linux" we set
    "-mno-thumb-interwork" mandatorily.]

    This way we use a similar logic for the compile options as the
    Linux kernel does.

    - Some EABI conformant tool chains cause external references to
    utility functions like raise(); such functions are provided in the
    new file lib_arm/eabi_compat.c

    Note that lib_arm/config.mk gets parsed several times, so we must
    make sure to add eabi_compat.o only once to the linker list.

    Signed-off-by: Wolfgang Denk
    Cc: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Dirk Behme
    Cc: Magnus Lilja
    Cc: Tom Rix
    Cc: Prafulla Wadaskar
    Acked-by: Sergey Kubushyn
    Tested-by: Magnus Lilja
    Tested-by: Andrzej Wolski
    Tested-by: Gaye Abdoulaye Walsimou
    Tested-by: Tom Rix
    Tested-by: Jean-Christophe PLAGNIOL-VILLARD

    Wolfgang Denk
     
  • Wolfgang Denk
     
  • Wolfgang Denk
     
  • Wolfgang Denk
     
  • The code copy data from NAND flash block by block, so when
    the data length isn't a whole-number multiple of the block
    size, it will overlap the rest space.

    Signed-off-by: Mingkai Hu
    Signed-off-by: Scott Wood

    Mingkai Hu
     
  • Signed-off-by: giulio.benetti@micronovasrl.com
    Acked-by: Wolfgang Denk
    Signed-off-by: Scott Wood

    Giulio Benetti
     
  • Previously, waiting for auto-negotiation would only occur if a valid
    link had been detected. Problems arose when attempting to use a
    tsec immediately after bootup but before link was achieved, eg:
    => dhcp
    Auto-neg error, defaulting to 10BT/HD
    eTSEC1: No link.
    Auto-neg error, defaulting to 10BT/HD
    eTSEC2: No link.
    =>

    With this patch applied the same operation as above resulted in:
    => dhcp
    Waiting for PHY auto negotiation to complete. done
    Enet starting in 1000BT/FD
    Speed: 1000, full duplex

    Signed-off-by: Peter Tyser
    Signed-off-by: Ben Warren

    Peter Tyser
     
  • U-boot might use non-8-byte-aligned addresses for sending data, which
    the kwgbe_send doesn't accept (bootp does this for me). This patch
    copies the data to be sent to a malloced temporary buffer if it is
    non-aligned.

    Signed-off-by: Simon Kagstrom
    Signed-off-by: Ben Warren

    Simon Kagstrom
     
  • This patch makes the device wait for up to 5 seconds for the link to
    come up, similar to what many of the other network drivers do. This
    avoids confusing situations where, e.g., a tftp fails when initiated
    early after U-boot has started (before the link has come up).

    Signed-off-by: Simon Kagstrom
    Signed-off-by: Ben Warren

    Simon Kagstrom