From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] common/armflash: Support for ARM flash images
Date: Mon, 16 Mar 2015 10:12:37 -0400 [thread overview]
Message-ID: <20150316141237.GZ32541@bill-the-cat> (raw)
In-Reply-To: <1426508633-10606-1-git-send-email-linus.walleij@linaro.org>
On Mon, Mar 16, 2015 at 01:23:51PM +0100, Linus Walleij wrote:
> 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.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150316/4de3d6ab/attachment.sig>
next prev parent reply other threads:[~2015-03-16 14:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 12:23 [U-Boot] [PATCH 1/3] common/armflash: Support for ARM flash images Linus Walleij
2015-03-16 12:23 ` [U-Boot] [PATCH 2/3] vexpress64: juno: add default NOR flash boot Linus Walleij
2015-03-16 14:12 ` Tom Rini
2015-03-16 12:23 ` [U-Boot] [PATCH 3/3] integrator: consolidate flash info Linus Walleij
2015-03-16 14:12 ` Tom Rini
2015-03-16 14:12 ` Tom Rini [this message]
2015-04-03 10:20 ` [U-Boot] [PATCH 1/3] common/armflash: Support for ARM flash images Linus Walleij
2015-04-03 11:40 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150316141237.GZ32541@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox