06 Nov, 2014

1 commit


05 Nov, 2014

8 commits

  • For now we won't want to mess with the existing configurations. Create a
    new one which will enable device tree and driver model. Note that this
    brings the device tree binary into u-boot-sunxi-with-spl.bin.

    Signed-off-by: Simon Glass
    Signed-off-by: Hans de Goede

    Simon Glass
     
  • 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_ in pattern space
    P;D;
    };

    # Move CONFIG_TARGET_ to hold space
    /^CONFIG_TARGET/{h;n}

    # Print CONFIG_TARGET_ after CONFIG_MACH_ 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: Ian Campbell
    Reviewed-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Ian Campbell
     
  • This can now be configured via Kconfig, e.g. with:

    $ make BOARD_defconfig
    $ echo CONFIG_SPL_FEL=y >> .config
    $ echo CONFIG_SPL_FEL=y >> spl/.config

    Signed-off-by: Ian Campbell
    Reviewed-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Ian Campbell
     
  • It's unfortunate that this needs to be present in both .config and spl/.config
    since it makes it slightly hard to enable FEL mode for a regular defconfig. It
    can be done with:
    echo CONFIG_SPL_FEL=y >> .config
    echo CONFIG_SPL_FEL=y >> spl/.config

    Ideally only one of those would be needed.

    Signed-off-by: Ian Campbell
    Reviewed-by: Hans de Goede
    Signed-off-by: Hans de Goede

    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: Ian Campbell
    Reviewed-by: Hans de Goede
    Signed-off-by: Hans de Goede

    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: Ian Campbell
    Reviewed-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Ian Campbell
     
  • The defconfig for Ippo-q8h-v5 was incorrectly committed as
    "Ippo_q8h". This patch renames it correctly, as well as
    correct a typo in my name in the maintainers listing.

    Signed-off-by: Chen-Yu Tsai
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Chen-Yu Tsai
     
  • Defining CONFIG_SYS_TEXT_BASE in config.mk is very old style.

    Create CONFIG_SYS_TEXT_BASE option in Kconfig, but let it
    depend on CONFIG_SPARC because we do not want to disturb
    the other architectures that still define CONFIG_SYS_TEXT_BASE
    in their header files.

    Signed-off-by: Masahiro Yamada
    Cc: Daniel Hellstrom

    Masahiro Yamada
     

02 Nov, 2014

4 commits


30 Oct, 2014

1 commit

  • Add support for the Kosagi Novena board. Currently supported are:
    - I2C busses
    - FEC Ethernet
    - MMC0, MMC1, Booting from MMC
    - SATA
    - USB ports
    - USB Ethernet

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Sean Cross
    Cc: Nikolay Dimitrov
    Reviewed-by: Nikolay Dimitrov

    Marek Vasut
     

29 Oct, 2014

1 commit

  • The following bard configurations have been without active maintenance
    for a long time, and the board maintainer agrees to have them removed:

    MPC5200: TOP5200, MINI5200, EVAL5200
    MPC860: TOP860
    at91sam9xeXXX: top9000eval_xe, top9000su_xe

    Signed-off-by: Wolfgang Denk
    Cc: Reinhard Meyer
    [trini: Add missing Kconfig removals]
    Signed-off-by: Tom Rini

    Wolfgang Denk
     

27 Oct, 2014

11 commits


24 Oct, 2014

9 commits

  • Ippo q8h is a series of A23 tablet boards. This defconfig
    is for v5 of these boards, though for u-boot purposes they
    are mostly the same.

    See: http://linux-sunxi.org/Ippo_q8h

    Signed-off-by: Chen-Yu Tsai
    Acked-by: Ian Campbell

    Chen-Yu Tsai
     
  • Enable the second sdcard slot found on some boards. Note that we do not
    set CONFIG_MMC_SUNXI_SLOT_EXTRA for the SPL, as having it there is not useful,

    Except for on the Mele-M3 where the second sdcard is an eMMC, from which the
    device can also boot, and there we want to have both in the SPL, so that
    a single u-boot binary can both from both. So for the M3 we do prefix the
    defconfig setting with the special "+S:" syntax so that it applies to the
    SPL too.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • The Colombus board is an A31 evaluation board from WITS Technology.

    Maxime has kindly agreed to maintain this board.

    [1] http://lists.denx.de/pipermail/u-boot/2014-September/190043.html

    Signed-off-by: Chen-Yu Tsai
    Cc: Maxime Ripard
    Acked-by: Maxime Ripard
    Acked-by: Ian Campbell

    Chen-Yu Tsai
     
  • The Mele M3 is yet another Allwinnner based Android top set box from Mele.

    It uses a housing similar to the A2000, but without the USM sata storage slot
    at the top.

    It features an A20 SoC, 1G RAM, 4G eMMC (unique for Allwinner devices),
    100Mbit ethernet, HDMI out, 3 USB A receptacles, VGA, and A/V OUT connections.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • This adds support for the Olimex A20-OLinuXino-Lime2
    https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2

    Differences to previous Lime boards are 1GB RAM and gigabit ethernet

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

    Iain Paton
     
  • Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This commit converts UniPhier on-chip serial driver to driver model.

    Since UniPhier SoCs do not have Device Tree support, some board files
    should be added under arch/arm/cpu/armv7/uniphier/ph1-*/ directories.
    (Device Tree support for UniPhier platform is still under way.)

    Now the base address and master clock frequency are passed from
    platform data, so CONFIG_SYS_UNIPHIER_SERIAL_BASE* and
    CONFIG_SYS_UNIPHIER_UART_CLK should be removed.

    Tested on UniPhier PH1-LD4 ref board.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • With these options in place it is not possible to change the serial port
    using 'make menuconfig' or similar. It seems to result in duplicate
    defines.

    For example:

    In file included from include/linux/kconfig.h:4:0,
    from :0:
    include/generated/autoconf.h:20:0: note: this is the location of the previous definition
    #define CONFIG_CONS_INDEX 2
    ^

    The default option seems to be 1 anyway, in board/ti/am335x/Kconfig.

    Remove the options so that we can adjust the serial port if required.

    Signed-off-by: Simon Glass
    Acked-by: Tom Rini

    Simon Glass
     
  • Tom Rini
     

23 Oct, 2014

4 commits

  • This patch adds Keystone II Lammar (K2L) EVM board support.

    Acked-by: Vitaly Andrianov
    Signed-off-by: Hao Zhang
    Signed-off-by: Ivan Khoronzhuk

    Hao Zhang
     
  • The maxBCM board is equipped with the Marvell Armada-XP MV78460 SoC. It
    integrates an SPI NOR flash and an Marvell 88E6185 switch.

    Signed-off-by: Stefan Roese

    Stefan Roese
     
  • This patch adds basic support for the Marvell DB-MV784MP-GP evaulation
    board. This is the first board that uses the recently created
    Armada XP 78460 SoC support.

    Signed-off-by: Stefan Roese
    Tested-by: Luka Perkov

    Stefan Roese
     
  • This patch adds board support for the Toradex Apalis T30 a computer on
    module which can be used on different carrier boards.

    For the sake of ease of use we do not distinguish between different
    carrier boards for now as the base module features are deemed
    sufficient enough for regular booting.

    The following functionality is working so far:
    - eMMC boot and environment storage
    - Gigabit Ethernet (once Thierry's PCIe as well as my E1000 resp. i210
    fixes hit mainline)
    - MMC/SD cards (both 8-bit as well as 4-bit slot)
    - USB client/host (dual role port as client e.g. for DFU/UMS, other two
    ports as host)

    Signed-off-by: Marcel Ziswiler
    Acked-by: Stephen Warren
    Signed-off-by: Tom Warren

    Marcel Ziswiler
     

17 Oct, 2014

1 commit