Skip to content
Snippets Groups Projects
  1. Nov 11, 2013
    • Heiko Schocher's avatar
      bootcount: store bootcount var in environment · eda0ba38
      Heiko Schocher authored
      
      If no softreset save registers are found on the hardware
      "bootcount" is stored in the environment. To prevent a
      saveenv on all reboots, the environment variable
      "upgrade_available" is introduced. If "upgrade_available" is
      0, "bootcount" is always 0 therefore no need to save the
      environment on u-boot boot, if "upgrade_available" is 1 "bootcount"
      is incremented in the environment and environment gets written
      on u-boot start.
      So the Userspace Applikation must set the "upgrade_available"
      and "bootcount" variable to 0 (for example with fw_setenv),
      if a boot was successfully.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      eda0ba38
  2. Nov 09, 2013
    • Albert ARIBAUD's avatar
      Merge branch 'iu-boot/master' into 'u-boot-arm/master' · 85b8c5c4
      Albert ARIBAUD authored
      Conflicts:
      	arch/arm/cpu/arm926ejs/mxs/Makefile
      	board/compulab/cm_t35/Makefile
      	board/corscience/tricorder/Makefile
      	board/ppcag/bg0900/Makefile
      	drivers/bootcount/Makefile
      	include/configs/omap4_common.h
      	include/configs/pdnb3.h
      
      Makefile conflicts are due to additions/removals of
      object files on the ARM branch vs KBuild introduction
      on the main branch. Resolution consists in adjusting
      the list of object files in the main branch version.
      This also applies to two files which are not listed
      as conflicting but had to be modified:
      
      	board/compulab/common/Makefile
      	board/udoo/Makefile
      
      include/configs/omap4_common.h conflicts are due to
      the OMAP4 conversion to ti_armv7_common.h on the ARM
      side, and CONFIG_SYS_HZ removal on the main side.
      Resolution is to convert as this icludes removal of
      CONFIG_SYS_HZ.
      
      include/configs/pdnb3.h is due to a removal on ARM side.
      Trivial resolution is to remove the file.
      
      Note: 'git show' will also list two files just because
      they are new:
      
      	include/configs/am335x_igep0033.h
      	include/configs/omap3_igep00x0.h
      85b8c5c4
  3. Nov 08, 2013
Loading