28 Mar, 2015

12 commits


27 Mar, 2015

3 commits


26 Mar, 2015

6 commits

  • board/sunxi/board.c tries to set ldo3 to 2.8v however drivers/power/axp209.c
    contains an incorrect limit on ldo3 of 2.275v

    The origin of the incorrect limit seems likely due to some inconsistencies
    in the axp209 datasheet. ldo3 is described with different limits in
    different sections. register 0x29 uses 7 bits for voltage configuration
    while the 2.275v limit would apply if only 6 bits were used.
    Probably this is a cut&paste error from register 0x23

    The linux kernel driver has the correct limit and operation up to the 2.8v
    required by my board has been physically verified with a multimeter.

    Signed-off-by: Iain Paton
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Iain Paton
     
  • 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: Ian Campbell
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Ian Campbell
     
  • Serial-uclass should be generically implemented without depending
    a particular hardware. Fortunately, nothing in include/ns16550.h is
    referenced from drivers/serial/serial-uclass.c, so remove this bogus
    include.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • List bootable partitions and only scan those for bootable files, falling
    back to partition 1 if there are no bootable partitions

    Signed-off-by: Sjoerd Simons
    Reviewed-by: Hans de Goede
    Reviewed-by: Stephen Warren

    Sjoerd Simons
     
  • env exists allows scripts to query whether an environment variable
    exists. Enable by default as it adds only a trivial amount of code and
    can be useful in scripts.

    Signed-off-by: Sjoerd Simons
    Reviewed-by: Hans de Goede
    Reviewed-by: Stephen Warren

    Sjoerd Simons
     
  • Add an optional -bootable parameter to the part list commands to only
    put the list of bootable partitions in the environment variable

    Signed-off-by: Sjoerd Simons
    Reviewed-by: Stephen Warren

    Sjoerd Simons
     

25 Mar, 2015

12 commits


24 Mar, 2015

4 commits


23 Mar, 2015

3 commits

  • The callee (arch/arm/lib/cache-cp15.c) has a #ifdef
    CONFIG_SYS_DCACHE_OFF conditional. The same conditional in the
    caller (arch/arm/mach-uniphier/cache_uniphier.c) is redundant.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • The L2 cache is used as a temporary SRAM on SPL.
    Now the secondary CPUs store the necessary code for jumping to
    Linux on their L1 I-caches. So, the L2 cache can be disabled
    much earlier, at the very entry of U-Boot proper (lowlevel_init).
    This makes the boot sequence clearer.
    Also, as the L1 cache has been disabled by the start.S,
    enable_caches() does not need to do it again.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Currently, the secondary CPU(s) are kicked three times:
    Boot ROM ---(kick)--> SPL ---(kick)--> U-boot ---(kick)--> Linux.
    It makes the boot sequence very complicated.

    This commit merges the first and the second kicks, so the secondary
    CPU(s) can directly jump from SPL to Linux.
    arch/arm/mach-uniphier/smp.S is no longer necessary.

    Linux boot test passed.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada