public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 27/27] RFC: sunxi: Enable SPL FIT support
Date: Thu, 28 Apr 2016 11:44:50 +0200	[thread overview]
Message-ID: <5721DB92.30607@xilinx.com> (raw)
In-Reply-To: <1456206959-29115-28-git-send-email-sjg@chromium.org>

Hi Simon and Tom,

On 23.2.2016 06:55, Simon Glass wrote:
> Enable SPL FIT support for the Linksprite pcDuino3 as an example of how this
> feature is used.
> 
> This is only for demonstration purposes and is not to be applied.
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> 
> Changes in v2: None
> 
>  arch/arm/cpu/armv7/sunxi/board.c      | 5 +++++
>  configs/Linksprite_pcDuino3_defconfig | 4 ++++
>  2 files changed, 9 insertions(+)

I have played with SPL_FIT support and find some things
First of all
"mkimage: Support placing data outside the FIT"
(722ebc8f84d5bccd2e70fad1079a0dd40cceddec)
is missing description in usage function to see what -E options does.

Then I have found a problem with fit address calculation because it has
to be aligned.
I have sent an RFC for it
"SPL: FIT: Align loading address for header"

I have also added support for ram load for FIT - please review.
"SPL: FIT: Enable SPL_FIT_LOAD in RAM based boot mode"
And also for SD fat based images.
"SPL: FIT: Enable SPL_FIT_LOAD for sd bootmode for fat partions"

Is there any plan to support falcon mode?
Also I see kind of interesting to have one fit image with ATF, Secure
OS, bitstreams and U-Boot and Linux kernel + dtbs
Currently spl_load_simple_fit() seems to me expecting to blindly read
the first fit partition and say this is u-boot and then based
configuration description choose dtb.

Do you have any plan to get even u-boot image from configurations instead?
The we should get a support for loadables.

Thanks,
Michal

  reply	other threads:[~2016-04-28  9:44 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23  5:55 [U-Boot] [PATCH v2 00/27] spl: Support loading a FIT image containing U-Boot Simon Glass
2016-02-23  5:55 ` [U-Boot] [PATCH v2 01/27] mkimage: Move argument processing into its own function Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 02/27] mkimage: Convert to use getopt() Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot,v2,02/27] " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 03/27] mkimage: Sort the option processing code by option Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 04/27] mkimage: Move usage() up to the top Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot,v2,04/27] " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 05/27] mkimage: Show an error message when usage() is called Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 06/27] mkimage: Make 'params' static Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot,v2,06/27] " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 07/27] libfdt: Add a function to write a property placeholder Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 08/27] Correct defconfig ordering Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot,v2,08/27] " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 09/27] freescale: Remove CONFIG_DM from header files Simon Glass
2016-03-15 11:53   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 10/27] Move CONFIG_OF_LIBFDT to Kconfig Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot,v2,10/27] " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 11/27] Kconfig: Move CONFIG_FIT and related options " Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 12/27] fdt: Adjust DEFAULT_DEVICE_TREE to device on OF_CONTROL Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 13/27] fdt: Allow libfdt to be used in SPL Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot,v2,13/27] " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 14/27] sunxi: Display the board model on start-up Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 15/27] tools: Include fdt_sw.o in libfdt for mkimage Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 16/27] mkimage: Allow a FIT to include an image of any type Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-04-27  7:28   ` [U-Boot] [PATCH v2 " Andreas Bießmann
2016-05-01 23:12     ` Simon Glass
2016-02-23  5:55 ` [U-Boot] [PATCH v2 17/27] tools: Add a function to obtain the size of a file Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 18/27] image: Add functions to obtain short names Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 19/27] mkimage: Support automatic creating of a FIT without a .its Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 20/27] mkimage: Support adding device tree files to a FIT Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 21/27] mkimage: Support placing data outside the FIT Simon Glass
2016-03-15 11:54   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 22/27] mkimage: Bring data into the FIT before processing Simon Glass
2016-03-15 11:55   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 23/27] spl: Add a way for boards to select which device tree to load Simon Glass
2016-03-15 11:55   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 24/27] spl: Add an option to load a FIT containing U-Boot Simon Glass
2016-03-15 11:55   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 25/27] spl: Add a way to specify a list of device trees to include Simon Glass
2016-03-15 11:55   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 26/27] spl: Support loading a FIT from MMC Simon Glass
2016-03-15 11:55   ` [U-Boot] [U-Boot,v2,26/27] " Tom Rini
2016-02-23  5:55 ` [U-Boot] [PATCH v2 27/27] RFC: sunxi: Enable SPL FIT support Simon Glass
2016-04-28  9:44   ` Michal Simek [this message]
2016-04-28 13:07     ` Tom Rini
2016-04-28 13:12       ` Michal Simek
2016-04-28 19:05         ` Tom Rini
2016-04-29  6:17           ` Michal Simek

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=5721DB92.30607@xilinx.com \
    --to=michal.simek@xilinx.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