11 Jan, 2013

3 commits

  • Some platforms (e.g. IGEPv2 board) has a broken ns16550 UART that
    does not set the TEMT bit when the transmitter is empty in SPL.
    This makes U-Boot to hang while waiting for TEMT to be set.

    Add a new option to avoid this:

    CONFIG_SYS_NS16550_BROKEN_TEMT

    16550 UART set the Transmitter Empty (TEMT) Bit when all output
    has finished and the transmitter is totally empty. U-Boot waits
    for this bit to be set to initialize the serial console. On some
    broken platforms this bit is not set in SPL making U-Boot to
    hang while waiting for TEMT. Define this option to avoid it.

    Signed-off-by: Javier Martinez Canillas

    Javier Martinez Canillas
     
  • On clobber, do a cleanup even for SPL build else, we'd have
    MLO.byteswap remaining for certain platforms like am33xx SPL builds

    Signed-off-by: Nishanth Menon

    Nishanth Menon
     
  • When booting an IGEPv2 board from NAND with SPL, U-Boot hangs
    trying to read the OMAP General Purpose Memory Controller (GPMC).

    The reason is that the GPMC initialization function is called
    inside spl_board_init() and this function is only executed when
    CONFIG_SPL_BOARD_INIT is defined.

    Signed-off-by: Javier Martinez Canillas
    Acked-by: Enric Balletbo i Serra

    Javier Martinez Canillas
     

10 Jan, 2013

1 commit


09 Jan, 2013

13 commits


08 Jan, 2013

2 commits


06 Jan, 2013

9 commits

  • In order to mx53 ROM to properly load the U-boot image, its header size should
    be multiple of 512 bytes.

    This issue was observed with gcc 4.6.2/4.7.3, which caused data aborts:

    U-Boot 2013.01-rc2-00172-gf8cfcf1-dirty (Dec 26 2012 - 13:13:28)

    Board: MX53 LOCO
    I2C: ready
    DRAM: 1 GiB
    MMC: FSL_SDHC: 0, FSL_SDHC: 1
    In: serial
    Out: serial
    Err: serial
    CPU: Freescale i.MX53 family rev2.1 at 1000 MHz
    Reset cause: WDOG
    Net: FEC
    Warning: FEC using MAC address from net device

    Hit any key to stop autoboot: 0
    data abort

    MAYBE you should read doc/README.arm-unaligned-accesses

    pc : [] lr : []
    sp : af565e20 ip : af566918 fp : 00000000
    r10: 00000003 r9 : affabb5b r8 : af565f58
    r7 : 00000000 r6 : 36747fff r5 : af5668e8 r4 : 36747fff
    r3 : af5668ec r2 : af5668eb r1 : 00000000 r0 : af5668e8
    Flags: NzcV IRQs off FIQs off Mode SVC_32
    Resetting CPU ...

    resetting ...

    ,and this patch fixes it.

    Also, even though the ROUND macro is already defined in common.h,
    the reason for redefining it in image.h is explained by Stefano Babic:

    "I will remark a previous comment - even if including common.h seems a
    good idea to avoid duplications, it makes tools like mkimage to depend
    on the selected board, because _config must run. Even if this is
    not a problem for us u-boot developers, it becomes an issue when these
    tools are included in distros (like u-boot-tools in Ubuntu) and cannot
    be packaged."

    Signed-off-by: Troy Kisky
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Make the error handling more robust.

    Check if each one of the PMIC writes fail and if they do, just return
    immediately.

    Also, print the cause for the failures.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • commit c73368150 (pmic: Extend PMIC framework to support multiple instances
    of PMIC devices) introduced an extra 'retval' variable, but this is not
    necessary since we have already the variable 'ret' in place.

    So use 'ret' to store the return values from the pmic related calls and remove
    'retval'.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Looks like the original comment came from a copy and paste from mx31ads.h.

    It does not have a context on mx51evk anymore, so delete it.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • It makes more sense to use on-board eMMC to store environments. The
    boot partition 1 is selected by default.

    Signed-off-by: Shawn Guo

    Shawn Guo
     
  • The on-board number of available usdhc devices is something board
    specific. The patch moves CONFIG_SYS_FSL_USDHC_NUM out of
    mx6qsabre_common.h and adds usdhc2 and usdhc4 support for mx6qsabresd
    board.

    To keep the default mmc device for environment same as before (usdhc3),
    it moves CONFIG_SYS_MMC_ENV_DEV out of mx6qsabre_common.h and changes
    it to 1 for mx6qsabresd.

    Signed-off-by: Shawn Guo

    Shawn Guo
     
  • All esdhc variants we know should support high capacity MMC cards,
    so let's add MMC_MODE_HC host_caps unconditionally to support those
    MMC cards (capacity > 2 GB).

    Signed-off-by: Shawn Guo

    Shawn Guo
     
  • Use IMX_GPO_NR macro

    Signed-off-by: Ashok Kumar Reddy
    Acked-by: Stefano Babic

    Ashok
     
  • Adjust the NAND partitioning layout so that there is a separate partition
    for the ramdisk and fdt blob on the NAND.

    Signed-off-by: Marek Vasut
    Cc: Detlev Zundel
    Cc: Stefano Babic
    Cc: Wolfgang Denk

    Marek Vasut
     

27 Dec, 2012

1 commit

  • Since commit c733681 (pmic: Extend PMIC framework to support multiple instances
    of PMIC devices) mx53loco fails to allocate the memory for PMIC:

    U-Boot 2013.01-rc2-dirty (Dec 20 2012 - 15:55:01)

    Board: MX53 LOCO
    I2C: ready
    DRAM: 1 GiB
    pmic_alloc: No available memory for allocation!
    pmic_init: POWER allocation error!
    CPU: Freescale i.MX53 family rev2.0 at 800 MHz
    Reset cause: POR
    MMC: FSL_SDHC: 0, FSL_SDHC: 1

    Calling the PMIC related functions at a later stage, ie, from board_late_init()
    fixes the issue.

    Reported-by: Robert Nelson
    Signed-off-by: Fabio Estevam
    Tested-by: Stefano Babic

    Fabio Estevam
     

26 Dec, 2012

5 commits


22 Dec, 2012

1 commit


20 Dec, 2012

1 commit


18 Dec, 2012

2 commits


16 Dec, 2012

2 commits