13 Jan, 2013

5 commits


08 Jan, 2013

2 commits


06 Jan, 2013

5 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
     
  • 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
     
  • 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

1 commit


16 Dec, 2012

1 commit


15 Dec, 2012

1 commit

  • - since commit 418396e212b59bf907dbccad997ff50f7eb61b16 nand write.raw
    can take the number of page to be written as an argument. nand_update_full
    is passing the size (in bytes) to nand write.raw. This value was previously
    ignored but now breaks the write.
    - this patch updates the default environment of these boards to provide a
    pagecount instead of a size to nand write.raw.
    - tested on a mx28evk with a 4k page NAND and on a custom board with a
    2k page NAND.

    Signed-off-by: Eric Bénard
    Cc: Marek Vasut
    Cc: Fabio Estevam
    Acked-by: Marek Vasut

    Eric Benard
     

14 Dec, 2012

17 commits