Skip to content
Snippets Groups Projects
  1. Sep 07, 2016
  2. Sep 06, 2016
  3. Aug 26, 2016
  4. Aug 16, 2016
  5. Aug 15, 2016
  6. Aug 08, 2016
  7. Aug 05, 2016
  8. Aug 04, 2016
  9. Aug 02, 2016
  10. Aug 01, 2016
  11. Jul 31, 2016
  12. Jul 26, 2016
  13. Jul 22, 2016
    • Thomas Gleixner's avatar
      spl: Lightweight UBI and UBI fastmap support · 6f4e7d3c
      Thomas Gleixner authored
      
      Booting a payload out of NAND FLASH from the SPL is a crux today, as
      it requires hard partioned FLASH. Not a brilliant idea with the
      reliability of todays NAND FLASH chips.
      
      The upstream UBI + UBI fastmap implementation which is about to
      brought to u-boot is too heavy weight for SPLs as it provides way more
      functionality than needed for a SPL and does not even fit into the
      restricted SPL areas which are loaded from the SoC boot ROM.
      
      So this provides a fast and lightweight implementation of UBI scanning
      and UBI fastmap attach. The scan and logical to physical block mapping
      code is developed from scratch, while the fastmap implementation is
      lifted from the linux kernel source and stripped down to fit the SPL
      needs.
      
      The text foot print on the board which I used for development is:
      
      6854	0	0	6854	1abd
      drivers/mtd/ubispl/built-in.o
      
      Attaching a NAND chip with 4096 physical eraseblocks (4 blocks are
      reserved for the SPL) takes:
      
      In full scan mode:      1172ms
      In fastmap mode:          95ms
      
      The code requires quite some storage. The largest and unknown part of
      it is the number of fastmap blocks to read. Therefor the data
      structure is not put into the BSS. The code requires a pointer to free
      memory handed in which is initialized by the UBI attach code itself.
      
      See doc/README.ubispl for further information on how to use it.
      
      This shares the ubi-media.h and crc32 implementation of drivers/mtd/ubi
      There is no way to share the fastmap code, as UBISPL only utilizes the
      slightly modified functions ubi_attach_fastmap() and ubi_scan_fastmap()
      from the original kernel ubi fastmap implementation.
      
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarLadislav Michl <ladis@linux-mips.org>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      6f4e7d3c
  14. Jul 21, 2016
  15. Jul 16, 2016
    • Robert P. J. Day's avatar
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day authored
      
          Fix a number of typos, including:
      
           * "compatble" -> "compatible"
           * "eanbeld" -> "enabled"
           * "envrionment" -> "environment"
           * "FTD" -> "FDT" (for "flattened device tree")
           * "ommitted" -> "omitted"
           * "overriden" -> "overridden"
           * "partiton" -> "partition"
           * "propogate" -> "propagate"
           * "resourse" -> "resource"
           * "rest in piece" -> "rest in peace"
           * "suport" -> "support"
           * "varible" -> "variable"
      
      Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  16. Jul 15, 2016
  17. Jul 14, 2016
  18. Jul 12, 2016
  19. Jul 11, 2016
  20. Jul 08, 2016
  21. Jul 01, 2016
  22. Jun 24, 2016
    • Teddy Reed's avatar
      mkimage: fit: spl: Add an optional static offset for external data · f8f9107d
      Teddy Reed authored
      
      When building a FIT with external data (-E), U-Boot proper may require
      absolute positioning for executing the external firmware. To acheive this
      use the (-p) switch, which will replace the amended 'data-offset' with
      'data-position' indicating the absolute position of external data.
      
      It is considered an error if the requested absolute position overlaps with the
      initial data required for the compact FIT.
      
      Signed-off-by: default avatarTeddy Reed <teddy.reed@gmail.com>
      f8f9107d
  23. Jun 21, 2016
    • Hans de Goede's avatar
      Kconfig: Add a new DISTRO_DEFAULTS Kconfig option · 9f823615
      Hans de Goede authored
      
      DISTRO_DEFAULTS is intended to mirror / replace
      include/config_distro_defaults.h.
      
      The intend is for boards which include this file to select this from
      their Kconfig files and when moving setting to Kconfig which are #define-ed
      in config_distro_defaults.h to select this from DISTRO_DEFAULTS so that
      boards which have selected DISTRO_DEFAULTS will keep the same configuration
      as before without needing any defconfig file changes.
      
      The initial list of selected things matches all settings recently removed
      from config_distro_defaults.h because they have been converted to Kconfig,
      with the exception of CMD_ELF and CMD_NET, which have a default of y, if
      the default of these ever changes they should be selected by DISTRO_DEFAULTS
      too.
      
      For testing and example purposes this commit also converts ARCH_SUNXI
      to use DISTRO_DEFAULT instead of selecting everything it needs itself.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      9f823615
  24. Jun 20, 2016
Loading