• Linus Walleij's avatar
    common/armflash: Support for ARM flash images · 4bb66506
    Linus Walleij authored
    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 <image> - loads image to address indicated in the image
    afs load <image> <addres> - 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: default avatarTom Rini <trini@konsulko.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    4bb66506
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...