10 Apr, 2015

1 commit

  • The ARM reference designs all use a special flash image format
    that stores a footer (two versions exist) at the end of the last
    erase block of the image in flash memory.

    Version one of the footer is indicated by the magic number
    0xA0FFFF9F at 12 bytes before the end of the flash block and
    version two is indicated by the magic number 0x464F4F54 0x464C5348
    (ASCII for "FLSHFOOT") in the very last 8 bytes of the erase block.

    This command driver implements support for both versions of the
    AFS images (the name comes from the Linux driver in drivers/mtd/afs.c)
    and makes it possible to list images and load an image by name into
    the memory with these commands:

    afs - lists flash contents
    afs load - loads image to address indicated in the image
    afs load - loads image to a specified address

    This image scheme is used on the ARM Integrator family, ARM
    Versatile family, ARM RealView family (not yet supported in U-Boot)
    and ARM Versatile Express family up to and including the new
    Juno board for 64 bit development.

    Reviewed-by: Tom Rini
    Signed-off-by: Linus Walleij

    Linus Walleij
     

05 Mar, 2015

1 commit


25 Feb, 2015

1 commit


13 Feb, 2015

1 commit


23 Nov, 2014

2 commits

  • This commit adds some of command entries (CONFIG_CMD_*) to
    cover include/config_cmd_default.h and a little extra.

    Because U-Boot supports lots of commands, they should be categorized
    according to their usage.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • 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
     

25 Sep, 2014

6 commits

  • Since CONFIG_CMD_IMPORTENV is defined in config_cmd_defaults.h,
    it should be enabled for all the boards except bf506f-ezkit
    that undefs it explicitely.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass
    Tested-by: Simon Glass

    Masahiro Yamada
     
  • Since CONFIG_CMD_GO is defined in config_cmd_defaults.h
    (and no board undefs it its own header), it can be moved to
    Kconfig with the default value "y".

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass
    Tested-by: Simon Glass

    Masahiro Yamada
     
  • Since CONFIG_CMD_EXPORTENV is defined in config_cmd_defaults.h,
    it should be enabled for all the boards except bf506f-ezkit
    that undefs it explicitely.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass
    Tested-by: Simon Glass

    Masahiro Yamada
     
  • Since CONFIG_CMD_CRC32 is defined in config_cmd_defaults.h,
    it is enabled for all the boards except the ones undefining it
    explicitly:
    kwb
    tseries_mmc
    tseries_nand
    tseries_spi
    vct_platinum_onenand_small
    vct_platinum_small
    vct_platinumavc_onenand_small
    vct_platinumavc_small
    vct_premium_onenand_small
    vct_premium_small

    The default value of this config option should be "y" and
    "# CONFIG_CMD_CRC32 is not set" should be added for those exceptions.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • CONFIG_CMD_BOOTM is defined in config_cmd_defaults.h
    which is forcebly included from each board.
    So, the default value of "config CMD_BOOTM" should be "y".

    For some boards undefining it (bf506f-ezkit, controlcenterd_TRAILBLA,
    controlcenterd_TRAILBLAZER_DEVELOP, controlcenterd_TRAILBLAZER),
    "# CONFIG_CMD_BOOTM is not set" should be added to their defconfig.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This would be useful to start moving various config options.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass
    Tested-by: Simon Glass

    Masahiro Yamada