26 Feb, 2015

1 commit


25 Feb, 2015

1 commit


08 Feb, 2015

1 commit


30 Jan, 2015

3 commits


16 Jan, 2015

1 commit


06 Jan, 2015

2 commits


02 Jan, 2015

1 commit


19 Dec, 2014

1 commit

  • Implement an API that can be used by drivers to allocate memory from a
    pool that is mapped uncached. This is useful if drivers would otherwise
    need to do extensive cache maintenance (or explicitly maintaining the
    cache isn't safe).

    The API is protected using the new CONFIG_SYS_NONCACHED_MEMORY setting.
    Boards can set this to the size to be used for the non-cached area. The
    area will typically be right below the malloc() area, but architectures
    should take care of aligning the beginning and end of the area to honor
    any mapping restrictions. Architectures must also ensure that mappings
    established for this area do not overlap with the malloc() area (which
    should remain cached for improved performance).

    While the API is currently only implemented for ARM v7, it should be
    generic enough to allow other architectures to implement it as well.

    Signed-off-by: Thierry Reding
    Signed-off-by: Simon Glass
    Signed-off-by: Tom Warren

    Thierry Reding
     

18 Dec, 2014

1 commit

  • Implement a feature to allow fastboot to write the downloaded image
    to the space reserved for the Protective MBR and the Primary GUID
    Partition Table.
    Additionally, prepare and write the Backup GUID Partition Table.

    Signed-off-by: Steve Rae
    Tested-by: Lukasz Majewski
    [Test HW: Exynos4412 - Trats2]

    Steve Rae
     

09 Dec, 2014

1 commit


08 Dec, 2014

1 commit

  • 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
     

06 Dec, 2014

1 commit


05 Dec, 2014

1 commit


27 Nov, 2014

1 commit


25 Nov, 2014

1 commit


23 Nov, 2014

2 commits

  • The README file states that the macros beginning with "CONFIG_SYS_"
    depend on the hardware etc. and should not be meddled with if you do
    not what you're doing.
    We have already screwed up with this policy; we have given the prefix
    "CONFIG_SYS_" to many user-selectable configurations.
    Here, "CONFIG_SYS_HUSH_PARSER" is one of them. Users can enable it
    if they want to use a more powerful command line parser, or disable it
    if they only need a simple one.

    This commit attempts to rename CONFIG_SYS_HUSH_PARSER to
    CONFIG_HUSH_PARSER and move it to Kconfig.

    Every board maintainer is expected to enable CONFIG_HUSH_PARSER
    (= add "CONFIG_HUSH_PARSER=y" to his defconfig file) and remove
    "#define CONFIG_SYS_HUSH_PARSER" from his header file.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Some filesystems have a UUID stored in its superblock. To
    allow using root=UUID=... for the kernel command line we
    need a way to read-out the filesystem UUID.

    changes rfc -> v1:
    - make the environment variable an option parameter. If not
    given, the UUID is printed out. If given, it is stored in the env
    variable.
    - corrected typos
    - return error codes

    changes v1 -> v2:
    - fix return code of do_fs_uuid(..)
    - document do_fs_uuid(..)
    - implement fs_uuid_unsuported(..) be more consistent with the
    way other optional functionality works

    changes v2 -> v3:
    - change ext4fs_uuid(..) to make use of #if .. #else .. #endif
    construct to get rid of unreachable code

    Hit any key to stop autoboot: 0
    => fsuuid
    fsuuid - Look up a filesystem UUID

    Usage:
    fsuuid :
    - print filesystem UUID
    fsuuid :
    - set environment variable to filesystem UUID

    => fsuuid mmc 0:1
    d9f9fc05-45ae-4a36-a616-fccce0e4f887
    => fsuuid mmc 0:2
    eb3db83c-7b28-499f-95ce-9e0bb21cda81
    => fsuuid mmc 0:1 uuid1
    => fsuuid mmc 0:2 uuid2
    => printenv uuid1
    uuid1=d9f9fc05-45ae-4a36-a616-fccce0e4f887
    => printenv uuid2
    uuid2=eb3db83c-7b28-499f-95ce-9e0bb21cda81
    =>

    Signed-off-by: Christian Gmeiner
    Acked-by: Stephen Warren

    Christian Gmeiner
     

21 Nov, 2014

2 commits


17 Nov, 2014

1 commit


08 Nov, 2014

1 commit


28 Oct, 2014

1 commit


27 Oct, 2014

2 commits


24 Oct, 2014

1 commit

  • CONFIG_SYS_HZ is always defined as 1000 in config_fallbacks.h
    (but some boards still have redundant definitions).

    This commit moves the definition and the document in README to
    Kconfig. Since lib/Kconfig can assure that CONFIG_SYS_HZ is 1000,
    the sanity check in lib/time.c should be removed.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     

23 Oct, 2014

3 commits


17 Oct, 2014

1 commit


26 Sep, 2014

1 commit


25 Sep, 2014

2 commits


24 Sep, 2014

2 commits


22 Sep, 2014

1 commit


30 Aug, 2014

1 commit

  • The default format for arm64 Linux kernels is the "Image" format,
    described in Documentation/arm64/booting.txt. This, along with an
    optional gzip compression on top is all that is generated by default.
    The Image format has a magic number within the header for verification,
    a text_offset where the Image must be run from, an image_size that
    includes the BSS and reserved fields.

    This does not support automatic detection of a gzip compressed image.

    Signed-off-by: Tom Rini

    Tom Rini
     

29 Aug, 2014

1 commit