1. 17 Sep, 2014 1 commit
  2. 11 Sep, 2014 8 commits
    • Benoît Thébaudeau's avatar
      arm: Fix _start for CONFIG_SYS_DV_NOR_BOOT_CFG · a7f99bf1
      Benoît Thébaudeau authored
      The boards using CONFIG_SYS_DV_NOR_BOOT_CFG (i.e. calimain,
      da850evm_direct_nor and enbw_cmc) had the _start symbol defined after
      the CONFIG_SYS_DV_NOR_BOOT_CFG word rather than before it in
      arch/arm/lib/vectors.S. Because of that, if by lack of luck
      'gd->mon_len = (ulong)&__bss_end - (ulong)_start' (see setup_mon_len())
      was a multiple of 4 kiB (see reserve_uboot()), then the last BSS word
      overlapped the first word of the following reserved RAM area (or went
      beyond the top of RAM without such an area) after relocation because
      __image_copy_start did not match _start (see relocate_code()).
      
      This was broken by commit 41623c91 'arm: move exception handling out of
      start.S files', which defined _start twice (before and after the
      CONFIG_SYS_DV_NOR_BOOT_CFG word), then by commit 0a26e1d6
      
       'arm: fix a
      double-definition error of _start symbol', which kept the definition of
      the _start symbol after the CONFIG_SYS_DV_NOR_BOOT_CFG word. This new
      commit fixes this issue by restoring the original behavior, i.e. by
      defining the _start symbol before the CONFIG_SYS_DV_NOR_BOOT_CFG word.
      Signed-off-by: default avatarBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Manfred Rudigier <manfred.rudigier@omicron.at>
      Cc: Christian Riesch <christian.riesch@omicron.at>
      Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
      Cc: Heiko Schocher <hs@denx.de>
      a7f99bf1
    • Benoît Thébaudeau's avatar
      arm: Make reset position-independent · 58f9e1ae
      Benoît Thébaudeau authored
      Some boards, like mx31pdk and tx25, require the beginning of the SPL
      code to be position-independent. For these two boards, this is because
      they use the i.MX external NAND boot, which starts by executing the
      first NAND Flash page from the NFC page buffer. The SPL then needs to
      copy itself to its actual link address in order to free the NFC page
      buffer and use it to load the non-SPL image from Flash before running
      it. This means that the SPL runtime address differs from its link
      address between the reset and the initial copy performed by
      board_init_f(), so this part of the SPL binary must be
      position-independent.
      
      This requirement was broken by commit 41623c91
      
       'arm: move exception
      handling out of start.S files', which used an absolute address to branch
      to the reset routine. This new commit restores the original behavior,
      which just performed a relative branch. This fixes the boot of mx31pdk
      and tx25.
      Signed-off-by: default avatarBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
      Reported-by: default avatarHelmut Raiger <helmut.raiger@hale.at>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Magnus Lilja <lilja.magnus@gmail.com>
      Cc: John Rigby <jcrigby@gmail.com>
      Tested-by: default avatarMagnus Lilja <lilja.magnus@gmail.com>
      58f9e1ae
    • Ye.Li's avatar
      imx: mx6slevk: Change to use generic board · 4c97f169
      Ye.Li authored
      
      
      Enable CONFIG_SYS_GENERIC_BOARD for imx6slevk to use generic board.
      Signed-off-by: default avatarYe.Li <B37916@freescale.com>
      4c97f169
    • Ye.Li's avatar
      imx: mx6q/dlarm2: Change to use generic board · 9500fac7
      Ye.Li authored
      
      
      Enable the CONFIG_SYS_GENERIC_BOARD for imx6q/dl arm2 board to
      use generic board.
      Signed-off-by: default avatarYe.Li <B37916@freescale.com>
      9500fac7
    • Fabio Estevam's avatar
      README.imximage: Fix the maximum DCD size · 6ce79d2f
      Fabio Estevam authored
      In commit 021e79c8
      
       ("tools: imximage: Fix the maximum DCD size for
      mx53/mx6") we have fixed the maximum DCD size for mx53/mx53.
      
      Do the same on the README document for consistency.
      Reported-by: default avatarJonas Karlsson <jonas.d.karlsson@gmail.com>
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      6ce79d2f
    • Stefano Babic's avatar
      imx: Fix build of mx6sxsabresd · 3d8f1798
      Stefano Babic authored
      Commit 224beb83
      
       add clock
      enabling function for FEC, but the masks are not available
      for SX processor and the mx6sxsabresd cannot be built clean.
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      CC: Fabio Estevam <fabio.estevam@freescale.com>
      CC: Nikita Kiryanov <nikita@compulab.co.il>
      3d8f1798
    • Jeroen Hofstee's avatar
      README.clang: build command with clang · 5bfdcebf
      Jeroen Hofstee authored
      
      
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      5bfdcebf
    • Jeroen Hofstee's avatar
      Makefile: default to cc for host compiler · b477fe44
      Jeroen Hofstee authored
      
      
      Since the host compiler might not be gcc but e.g. clang
      default to cc/c++ to invoke it.
      
      cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      cc: Tom Rini <trini@ti.com>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      b477fe44
  3. 09 Sep, 2014 31 commits