08 Dec, 2014

13 commits

  • The CPU directory of this board is arch/powerpc/cpu/mpc5xxx.
    Without the CONFIG_SPL_START_S_PATH and CONFIG_SPL_LDSCRIPT defines,
    the same start.o and u-boot-spl.lds are selected by default.

    Signed-off-by: Masahiro Yamada
    Cc: Stefan Roese
    Acked-by: Stefan Roese

    Masahiro Yamada
     
  • The CPU directory of this board is arch/powerpc/cpu/ppc4xx.
    Without the CONFIG_SPL_START_S_PATH and CONFIG_SPL_LDSCRIPT defines,
    the same start.o and u-boot-spl.lds are selected by default.

    Signed-off-by: Masahiro Yamada
    Cc: Wolfgang Denk
    Acked-by: Stefan Roese

    Masahiro Yamada
     
  • This board sprinkles #ifdef(CONFIG_HERMES) over various global files
    such as include/common.h, common/board_r.c, common/cmd_bdinfo.c.
    Let's zap such an ill-behaved board.

    It has not been converted to generic board yet and mpc8xx is old
    enough.

    Signed-off-by: Masahiro Yamada
    Cc: Wolfgang Denk
    Acked-by: Wolfgang Denk

    Masahiro Yamada
     
  • Fuse drivers, like the mxs_ocotp.c, may return negative error codes but
    the commands are only allowed to return CMD_RET_* enum values to the
    shell, otherwise the following error appears:

    "exit not allowed from main input shell."

    Signed-off-by: Hector Palacios
    Reviewed-by: Benoît Thébaudeau

    Hector Palacios
     
  • Enable ENV_IS_IN_FAT so that the environment can be stored persistently.
    It's stored in the FAT partition that the RPi firmware requires. On most
    RPis, this is on the SD card (which must be present in order for the
    system to boot). On the CM this is on the built-in eMMC device.

    Since we now have a persistent environment, there's no need to load
    uEnv.txt at boot; we only did that to work around the lack of persistent
    environment.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Tested-by: Simon Glass

    Stephen Warren
     
  • The U-Boot port runs on a variety of RPi models, not just the B. So,
    rename the port to something slightly more generic.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Tested-by: Simon Glass

    Stephen Warren
     
  • Detect the board revision early during boot, and print the decoded
    model name.

    Eventually, this information can be used for tasks such as:
    - Allowing/preventing USB device mode; some models have a USB device on-
    board so only host mode makes sense. Others connect the SoC directly
    to the USB connector, so device-mode might make sense.
    - The on-board USB hub/Ethernet requires different GPIOs to enable it,
    although luckily the default appears to be fine so far.
    - The compute module contains an on-board eMMC device, so we could store
    the environment there. Other models use an SD card and so don't support
    saving the environment (unless we store it in a file on the FAT boot
    partition...)

    Set $fdtfile based on this information. At present, the mainline Linux
    kernel doesn't contain a separate DTB for most models, but I hope that
    will change soon.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Tested-by: Simon Glass

    Stephen Warren
     
  • In SPL MMC, boot modes are exclusive. So, if MMCSD_MODE_RAW fails, the board hangs. This patch allows to
    try MMCSD_MODE_FS then, if available.

    It has been tested on a pandaboard (rev. A3).

    Signed-off-by: Guillaume GARDET
    Cc: Tom Rini

    Guillaume GARDET
     
  • Add me for UBI custodian.

    Signed-off-by: Heiko Schocher
    Acked-by: Stefan Roese
    Acked-by: Kyungmin Park

    Heiko Schocher
     
  • Currenly when CONFIG_BOOTP_SERVERIP is defined, the SERVERIP is not changed
    when receive the BOOTP packet. But BOOTFILE is changed via BOOTP packet.

    As we will load the BOOTFILE from SERVERIP, if the BOOTFILE is modified
    by bootp packet but SERVERIP is not, that is not make sense.

    This patch make SERVERIP and BOOTFILE be consistent. If we define the
    CONFIG_BOOTP_SERVERIP, then SERVERIP and BOOTFILE will not changed by
    BOOTP packet. Only IP address is changed.

    Signed-off-by: Josh Wu

    Wu, Josh
     
  • get_maintainer.pl always fails with following message:
    ./scripts/get_maintainer.pl: The current directory does not appear to be a linux kernel source tree.

    This was caused by commit:

    commit 548b310c68ac99a0330d8b56c797c09ff0742d1e
    Author: Masahiro Yamada
    Date: Thu Oct 30 15:50:15 2014 +0900

    Remove the CREDITS file

    This file is not maintained these days.

    We use MAINTAINERS for the maintainership of the supported boards.
    For dead boards, we have some clues in doc/README.scrapyard and
    also imperishable history in git-log.

    Remove CREDITS from source tree detection to fix this.

    Signed-off-by: Daniel Schwierzeck
    Acked-by: Simon Glass

    Daniel Schwierzeck
     
  • Commit 709ea54 made a subtle change to the way the U-Boot API jump table
    is set up. So at present putc(), getc(), tstc() and puts() do not work
    correctly from functions that use the U-Boot API.

    Previously these were set to the stdio functions, but these now take a
    parameter specifying which stdio device to use. Instead, we should change
    them to use the global functions which do not have a parameter.

    This is a slight change in behaviour. The functions will now output to
    all selected stdio devices - for example putc() will output a character to
    all devices selected by stdout. However in most cases there is only one,
    and it isn't necessarily incorrect behaviour anyway.

    The API version is not changed since it is compatible with what was there
    before.

    Reported-by: Martin Dorwig
    Signed-off-by: Simon Glass

    Simon Glass
     
  • Raw images of U-Boot can be stored inside MMC partitions, so it makes sense to
    read the partition table, looking for a partition number instead of using
    a fixed sector address.

    Signed-off-by: Paul Kocialkowski
    Reviewed-by: Tom Rini
    [trini: Only add mmc_load_image_raw_partition() when
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION to avoid warning, add missing
    conversion in spl_mmc_load_image()]
    Signed-off-by: Tom Rini

    Paul Kocialkowski
     

05 Dec, 2014

1 commit


04 Dec, 2014

2 commits


02 Dec, 2014

3 commits


01 Dec, 2014

1 commit

  • After commit 933cdbb479: "fdt: Try to use fdt_address_cells()/fdt_size_cells()"
    I noticed that allwinner boards would no longer boot.

    Switching to fdt_address_cells / fdt_size_cells changes the result from
    bytes to 32 bit words, so when we increment pointers into the blob, we must
    do so by 32 bit words now.

    This commit makes allwinner boards boot again.

    Signed-off-by: Hans de Goede
    Tested-by: Masahiro Yamada
    Acked-by: Simon Glass
    Tested-by: Stefan Roese
    Tested-by: Vince Hsu

    Hans de Goede
     

28 Nov, 2014

9 commits


27 Nov, 2014

11 commits