Skip to content
Snippets Groups Projects
  1. Dec 08, 2014
    • Stephen Warren's avatar
      ARM: rpi_b: detect board revision · 6fe7845a
      Stephen Warren authored
      
      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: default avatarStephen Warren <swarren@wwwdotorg.org>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
      6fe7845a
    • Guillaume GARDET's avatar
      spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available · 4c5bbc23
      Guillaume GARDET authored
      
      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: default avatarGuillaume GARDET <guillaume.gardet@free.fr>
      Cc: Tom Rini <trini@ti.com>
      4c5bbc23
    • Heiko Schocher's avatar
      MAINTAINERS: add me as a maintainer of UBI · 69337a9d
      Heiko Schocher authored
      
      Add me for UBI custodian.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      Acked-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      69337a9d
    • Wu, Josh's avatar
      net: bootp: as CONFIG_BOOTP_SERVERIP is defined, keep bootfile not changed · ecec4e9c
      Wu, Josh authored
      
      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: default avatarJosh Wu <josh.wu@atmel.com>
      ecec4e9c
    • Daniel Schwierzeck's avatar
      get_maintainer.pl: fix source tree detection · 27e77183
      Daniel Schwierzeck authored
      
      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 548b310c
      Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
      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: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      27e77183
    • Simon Glass's avatar
      Fix console functions for U-Boot API · d8727713
      Simon Glass authored
      
      Commit 709ea543 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: default avatarMartin Dorwig <dorwig@tektronik.com>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      d8727713
    • Paul Kocialkowski's avatar
      spl: MMC U-Boot image load from raw partition · b97300b6
      Paul Kocialkowski authored
      
      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: default avatarPaul Kocialkowski <contact@paulk.fr>
      Reviewed-by: default avatarTom Rini <trini@ti.com>
      [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: default avatarTom Rini <trini@ti.com>
      b97300b6
  2. Dec 04, 2014
  3. Dec 03, 2014
  4. Dec 01, 2014
  5. Nov 27, 2014
Loading