24 May, 2014

5 commits

  • Patch f33b9bd3
    [arm: omap3: Enable clocks for peripherals only if they are used]
    breaks SPL booting on Overo. Since some gpio inputs are
    read to detect the board revision. But with this patch above, the
    clocks to the GPIO subsystems are not enabled per default any more.
    The GPIO banks need to be configured specifically now.

    Signed-off-by: Ash Charles

    Ash Charles
     
  • The linux kernel is at nand0,3 using the current layout, but is best
    accessed through the partition label "linux". Since CONFIG_CMD_MTDPARTS is
    defined the CONFIG_JFFS2 settings are unreferenced; use "setenv partition
    rootfs" to set the default mtd partition for jffs2.

    Signed-off-by: Peter A. Bigot
    Tested-by: Ash Charles

    Ash Charles
     
  • Linux kernel at version 3.5 is about 3.5 MiB; test kernels for 3.10 exceed 4
    MiB. Prepare for future upgrades by increasing the NAND partition now.

    Signed-off-by: Peter A. Bigot
    Tested-by: Ash Charles

    Peter A. Bigot
     
  • The NAND linux partition format default was changed from jffs2 to ubi in
    254973e6df0e48f1a72b67905185c774dcd9f394 but the corresponding commands were
    not enabled.

    Signed-off-by: Peter A. Bigot
    Tested-by: Ash Charles

    Ash Charles
     
  • Adapted from d70f5480 described below.

    commit d70f54808dfa83b574e1239c3eccbcf3317343e1
    Author: Javier Martinez Canillas
    Date: Mon Jan 7 03:51:20 2013 +0000

    omap4: allow the use of a plain text env file instead boot scripts

    For production systems it is better to use script images since
    they are protected by checksums and carry valuable information like
    name and timestamp. Also, you can't validate the content passed to
    env import.

    But for development, it is easier to use the env import command and
    plain text files instead of script-images.

    Since both OMAP4 supported boards (Panda and TI SDP4430) are used
    primarily for development, this patch allows U-Boot to load env var
    from a text file in case that an boot.scr script-image is not present.

    The variable uenvcmd (if existent) will be executed (using run) after
    uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence
    will be started.

    Signed-off-by: Javier Martinez Canillas
    Acked-by: Nishanth Menon

    Signed-off-by: Peter A. Bigot
    Tested-by: Ash Charles

    Ash Charles
     

20 May, 2014

2 commits


17 May, 2014

17 commits


16 May, 2014

2 commits


15 May, 2014

9 commits


14 May, 2014

5 commits

  • These are used only once, so their is no need to have them global.

    This also stops mvtwsi from using any bss vars making it easier to use
    before dram init (to talk to the pmic to set the dram voltage).

    Signed-off-by: Hans de Goede

    Hans de Goede
     
  • The TWSI_FREQUENCY macro was wrong in 2 ways:
    1) It was casting the result of the calculations to an u8, while i2c clk
    rates are often >= 100Khz which won't fit in a u8, drop the cast.
    2) It had an extra factor of 2 in the divider which neither the datasheet nor
    the Linux driver have.

    The comment for the default value was wrongly saying that m lives in
    bits 4-7, while in reality it is in bits 3-6, as can be seen from the correct
    shift by 3 used in i2c_init().

    While at it remove the unused twsi_actual_speed variable.

    Signed-off-by: Hans de Goede

    Hans de Goede
     
  • We need to flip only one bit not assign.

    Signed-off-by: Marek Belisko
    Acked-by: Pekon Gupta

    Marek BElisko
     
  • This adds the Gumstix Pepper[1] single-board computer based on the
    TI AM335x processor. Schematics are available [2].

    [1] https://store.gumstix.com/index.php/products/344/
    [2] https://pubs.gumstix.com/boards/PEPPER/

    Signed-off-by: Ash Charles
    [trini: Move 'cdev' in board.c down to under #ifdef's where it's used]
    Signed-off-by: Tom Rini

    Ash Charles
     
  • The commits

    commit b7b5f1a16ca66dfdd817e7339f0e263a5b9f2758
    Author: Albert ARIBAUD
    da850evm, da850_am18xxevm: convert to CONFIG_SPL_MAX_FOOTPRINT

    and

    commit e7497891e34efe5cb2b3a3dc7c6c096c012ede28
    Author: Albert ARIBAUD
    cam_enc_4xx: convert to CONFIG_SPL_MAX_FOOTPRINT

    replaced CONFIG_SPL_MAX_SIZE by CONFIG_SPL_MAX_FOOTPRINT. However,
    CONFIG_SPL_MAX_SIZE is used in the Makefile for padding the SPL
    when preparing an u-boot.ais image. By removing CONFIG_SPL_MAX_SIZE
    said commits broke the ais image of the da850evm and cam_enc_4xx
    configurations.

    This patch converts the u-boot.ais target to use CONFIG_SPL_PAD_TO
    instead of CONFIG_SPL_MAX_SIZE for padding the SPL and adds
    a #define CONFIG_SPL_PAD_TO where it is required.

    Signed-off-by: Christian Riesch
    Reported-by: Tom Taylor
    Cc: Sudhakar Rajashekhara
    Cc: Heiko Schocher
    Cc: Albert ARIBAUD

    Christian Riesch