1. 26 6月, 2015 2 次提交
  2. 06 6月, 2015 1 次提交
  3. 01 6月, 2015 2 次提交
  4. 13 5月, 2015 1 次提交
  5. 04 5月, 2015 2 次提交
  6. 19 4月, 2015 1 次提交
  7. 26 3月, 2015 1 次提交
    • I
      sunxi: set GMAC TX delay = 0x1 on Cubietruck. · a923abc2
      Ian Campbell 提交于
      Of 4 boards in our automated test system 2 do not have reliable
      networking with the default TX delay of 0x0. Increasing to 0x1 seems
      to make things reliable on all 4 boards.
      
      Some previous ad-hpoc tests with tx delay set to 0, 1, 2 and 3 on one
      of the problematic boards showed:
      
      0: mw.l 0x1c20164 0x006 1     -- t/o in 4/5 tftp runs
      1: mw.l 0x1c20164 0x406 1     -- t/o in 1/5 tftp runs
      2: mw.l 0x1c20164 0x806 1     -- t/o in 1/5 tftp runs
      3: mw.l 0x1c20164 0xc06 1     -- t/o many times in first tftp run
      
      For 0, 1 and 2 "t/o" means one or two "T" glitches in the download,
      but it did complete. For 3 those were basically continuous and it
      couldn't complete.
      
      tftp was of a 16M initrd.
      Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
      Acked-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      a923abc2
  8. 16 3月, 2015 1 次提交
  9. 02 2月, 2015 1 次提交
  10. 23 1月, 2015 1 次提交
  11. 14 1月, 2015 1 次提交
  12. 05 11月, 2014 3 次提交
    • I
      sunxi: kconfig: Introduce CONFIG_TARGET_<BOARD> · d9a20476
      Ian Campbell 提交于
      This was done automatically with the following bits of scripting.
      
      The Kconfig choice content was generated with this script snippet:
          for i in $(git grep -l CONFIG_ARCH_SUNXI configs/*) ; do
              TARGET=$(sed -n -e 's/CONFIG_SYS_EXTRA_OPTIONS="\([^,"]\+\).*/\1/p' $i);
              MACH=$(sed -n -e 's/.*CONFIG_\(MACH_SUN.I\)=./\1/p' $i)
              echo "config TARGET_$TARGET"
              echo "	bool \"$TARGET\""
              echo "	depends on $MACH"
              echo
          done
      
      defconfigs were updated with a sed script (t):
          # Extract board from first entry of CONFIG_SYS_EXTRA_OPTIONS,
          /^CONFIG_SYS_EXTRA_OPTIONS/ {
              s/^\(CONFIG_SYS_EXTRA_OPTIONS="\)\([^,"]\+\),\?\(.*\)/\1\3\nCONFIG_TARGET_\2=y/;
      
              # Print and delete first line (CONFIG_SYS_EXTRA_OPTIONS), leaving
              # CONFIG_TARGET_<BOARD> in pattern space
              P;D;
          };
      
          # Move CONFIG_TARGET_<BOARD> to hold space
          /^CONFIG_TARGET/{h;n}
      
          # Print CONFIG_TARGET_<BOARD> after CONFIG_MACH_<SOC> in either SPL or
          # normal mode.
          /^CONFIG_MACH/{p;g;p;n};
          /^\+S:CONFIG_MACH/{p;g;s/^CONFIG_TARGET/+S:&/;p;n};
      
          # Print any remaining lines normally
          p;
      Run as:
          sed -i -n -f t $(git grep -l CONFIG_ARCH_SUNXI configs/*)
      and then manually removing the one instance of CONFIG_SYS_EXTRA_OPTIONS="" from
      Colombus_defconfig
      
      board/sunxi/Makefile was updated with:
          sed -e 's/^\(obj-\$(CONFIG_\)\(.*\)\().*+= dram_.*\)/\1TARGET_\2\3/g' board/sunxi/Makefile
      and manually retabbing a few lines to line up again.
      
      The board descriptions could certainly be improved.
      Signed-off-by: NIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      d9a20476
    • I
      sunxi: kconfig: Rename TARGET_SUN[45678]I to MACH_SUN[45678]I. · c3be2793
      Ian Campbell 提交于
      Now we have CONFIG_ARCH_SUNXI as the toplevel, CONFIG_MACH_SUN[45678]I as the
      per-SoC option and leave CONFIG_TARGET_BLAH free for individual boards in the
      future.
      
      Done automatically with:
          sed -i -e 's/TARGET_\(SUN[45678]I\)/MACH_\1/g' $(git grep -l TARGET_SUN[45678]I)
      Signed-off-by: NIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      c3be2793
    • I
      sunxi: kconfig: Add top-level ARCH_SUNXI · 2c7e3b90
      Ian Campbell 提交于
      And make TARGET_SUN[45678]I a choice variable under this.
      
      configs updated with:
          sed -i -e 's/^\(\+S:\)\?CONFIG_TARGET_SUN.I=y/\1CONFIG_ARCH_SUNXI=y\n&/g' configs/*
      Signed-off-by: NIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      2c7e3b90
  13. 05 9月, 2014 2 次提交
  14. 12 8月, 2014 1 次提交
  15. 31 7月, 2014 2 次提交
  16. 30 7月, 2014 1 次提交
    • M
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada 提交于
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      dd84058d