01 Feb, 2019

2 commits


17 Nov, 2018

1 commit


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

03 Oct, 2017

2 commits


23 May, 2017

1 commit


01 May, 2017

1 commit

  • Rather than using CMD_CBFS for both the filesystem and its command, we
    should have a separate option for each. This allows us to enable CBFS
    support without the command, if desired, which reduces U-Boot's size
    slightly.

    Signed-off-by: Simon Glass
    [trini: imply FS_CBFS on SYS_COREBOOT]
    Signed-off-by: Tom Rini

    Simon Glass
     

28 Oct, 2014

1 commit


21 Feb, 2014

1 commit


18 Nov, 2013

2 commits


01 Nov, 2013

2 commits


24 Jul, 2013

1 commit


30 Oct, 2012

2 commits

  • Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load},
    and transparently handle either file-system. This scheme could easily be
    extended to other filesystem types; I only didn't do it for zfs because
    I don't have any filesystems of that type to test with.

    Replace the implementation of {fat,ext[24]}{ls,load} with this new code
    too.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • fs/Makefile is unused. The top-level Makefile sets LIBS-y += fs/xxx and
    hence causes make to directly descend two directory levels into each
    individual filesystem, and it never descends into fs/ itself.

    So, delete this useless file.

    Signed-off-by: Stephen Warren
    Reviewed-by: Benoît Thébaudeau
    Acked-by: Simon Glass

    Stephen Warren
     

22 Oct, 2012

1 commit

  • This change adds CBFS support and some commands to use it to u-boot. These
    commands are:

    cbfsinit - Initialize CBFS support and pull all metadata into RAM. The end of
    the ROM is an optional parameter which defaults to the standard 0xffffffff and
    can be used to support multiple CBFSes in a system. The last one set up with
    cbfsinit is the one that will be used.

    cbfsinfo - Print information from the CBFS header.

    cbfsls - Print out the size, type, and name of all the files in the current
    CBFS. Recognized types are translated into symbolic names.

    cbfsload - Load a file from CBFS into memory. Like the similar command for fat
    filesystems, you can optionally provide a maximum size.

    Support for CBFS is compiled in when the CONFIG_CMD_CBFS option is specified.

    The CBFS driver can also be used programmatically from within u-boot.

    If u-boot needs something out of CBFS very early before the heap is
    configured, it won't be able to use the normal CBFS support which caches some
    information in memory it allocates from the heap. The
    cbfs_file_find_uncached function searches a CBFS instance without touching
    the heap.

    Signed-off-by: Gabe Black
    Signed-off-by: Stefan Reinauer
    Signed-off-by: Simon Glass

    Gabe Black
     

10 Aug, 2012

2 commits

  • Signed-off-by: Uma Shankar
    Signed-off-by: Manjunatha C Achar
    Signed-off-by: Iqbal Shareef
    Signed-off-by: Hakgoo Lee

    Uma Shankar
     
  • U-Boot port is based on sources forked from GRUB-0.97 by Sun in 2004,
    which can be found here:
    http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/zfs-include/zfs.h

    Released by Sun for GRUB under the license:
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.

    GRUB official releases include ZFS in version:
    ftp://alpha.gnu.org/gnu/grub/grub-1.99~rc1.tar.gz

    And patched against GRUB Bazaar repository for ashift fixes (4KB HDDs)
    more conveniently found at github:
    https://github.com/pendor/grub-zfs/commit/e7b6ef3ac3b9685ac4c394c897b1d4221b7381f1

    Signed-off-by: Jorgen Lundman

    Jorgen Lundman
     

21 Mar, 2009

1 commit

  • The U-Boot UBIFS implementation is largely a direct copy from the current
    Linux version (2.6.29-rc6). As already done in the UBI version we have an
    "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock()
    ...). This makes it possible to use the original Linux code with very
    little changes. And by this we can better update to later Linux versions.

    I removed some of the Linux features that are not used in the U-Boot
    version (e.g. garbage-collection, write support).

    Signed-off-by: Stefan Roese
    CC: Artem Bityutskiy
    CC: Adrian Hunter

    Stefan Roese
     

31 Aug, 2008

1 commit


13 Aug, 2008

2 commits


15 Sep, 2007

1 commit


14 Jul, 2007

1 commit


02 Sep, 2006

1 commit

  • Modifications are based on the linux kernel approach and
    support two use cases:

    1) Add O= to the make command line
    'make O=/tmp/build all'

    2) Set environement variable BUILD_DIR to point to the desired location
    'export BUILD_DIR=/tmp/build'
    'make'

    The second approach can also be used with a MAKEALL script
    'export BUILD_DIR=/tmp/build'
    './MAKEALL'

    Command line 'O=' setting overrides BUILD_DIR environent variable.

    When none of the above methods is used the local build is performed and
    the object files are placed in the source directory.

    Marian Balakowicz
     

17 Dec, 2004

1 commit


25 Mar, 2004

1 commit


04 Jan, 2004

1 commit


28 Jun, 2003

1 commit

  • - remove trailing white space, trailing empty lines, C++ comments, etc.
    - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)

    * Patches by Kenneth Johansson, 25 Jun 2003:
    - major rework of command structure
    (work done mostly by Michal Cendrowski and Joakim Kristiansen)

    wdenk
     

16 Jun, 2003

1 commit

  • * Patches by Kyle Harris, 13 Mar 2003:
    - Add FAT partition support
    - Add command support for FAT
    - Add command support for MMC
    ----
    - Add Intel PXA support for video
    - Add Intel PXA support for MMC
    ----
    - Enable MMC and FAT for lubbock board
    - Other misc changes for lubbock board

    wdenk
     

18 Nov, 2002

1 commit


09 Mar, 2002

1 commit