1. 03 7月, 2013 1 次提交
  2. 02 7月, 2013 1 次提交
  3. 01 7月, 2013 10 次提交
  4. 29 6月, 2013 5 次提交
    • T
      Prepare v2013.07-rc2 · e6bf18db
      Tom Rini 提交于
      Signed-off-by: NTom Rini <trini@ti.com>
      e6bf18db
    • S
      Fix bootm to work on powerpc again (compressed uImage) · ed12b5b9
      Stefan Roese 提交于
      Patch 35fc84fa [Refactor the bootm command to reduce code duplication]
      breaks booting Linux (compressed uImage with fdt) on powerpc.
      
      boot_jump_linux() mustn't be called before boot_prep_linux() and
      boot_body_linux() have been called. So remove the superfluous call
      to boot_jump_linux() in arch/powerpc/lib/bootm.c as its called later on
      in this function.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@ti.com>
      ed12b5b9
    • S
      mkimage: Build signing only if board has CONFIG_FIT_SIGNATURE · 29ce737d
      Simon Glass 提交于
      At present mkimage is set up to always build with image signing support.
      This means that the SSL libraries (e.g. libssl-dev) are always required.
      
      Adjust things so that mkimage can be built with and without image signing,
      controlled by the presence of CONFIG_FIT_SIGNATURE in the board config file.
      
      If CONFIG_FIT_SIGNATURE is not enabled, then mkimage will report a warning
      that signing is not supported. If the option is enabled, but libraries are
      not available, then a build error similar to this will be shown:
      
      lib/rsa/rsa-sign.c:26:25: fatal error: openssl/rsa.h: No such file or directory
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      29ce737d
    • S
      bootm: Disable interrupts before loading OS · 5ff0d083
      Simon Glass 提交于
      This restores the ordering of interrupt disable to what it what before
      commit 35fc84fa. It seems that on some archiectures (e.g. PowerPC) the
      OS is loaded into an interrupt region, which can cause problems if
      interrupts are still running.
      Tested-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      5ff0d083
    • T
      cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling · d366438d
      Tom Rini 提交于
      With 35fc84fa [Refactor the bootm command to reduce code duplication]
      we stopped checking the return value of bootm_load_os (unintentionally!)
      and simply returned if we had a non-zero return value from the function.
      This broke the valid case of a legacy image file of a single kernel
      loaded into an overlapping memory area (the default way of booting
      nearly all TI platforms).
      
      The best way to fix this problem in the new code is to make
      bootm_load_os be the one to see if we have a problem with this, and if
      it's fatal return BOOTM_ERR_RESET and if it's not BOOTM_ERR_OVERLAP, so
      that we can avoid calling lmb_reserve() but continue with booting.  We
      however still need to handle the other BOOTM_ERR values so re-work
      do_bootm_states so that we have an error handler at the bottom we can
      goto for problems from bootm_load_os, or problems from the other callers
      (as the code was before).  Add a comment to do_bootm_states noting the
      existing restriction on negative return values.
      Signed-off-by: NTom Rini <trini@ti.com>
      
      ---
      Changes in v2:
      - Rework so that only bootm_load_os and boot_selected_os head down into
        the err case code, and other errors simply return back to the caller.
        Fixes 'spl export'.
      d366438d
  5. 27 6月, 2013 7 次提交
  6. 26 6月, 2013 16 次提交