linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: trini@ti.com (Tom Rini)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] Kbuild support for ARM FIT images
Date: Thu, 21 Feb 2013 08:29:34 -0500	[thread overview]
Message-ID: <5126213E.9010809@ti.com> (raw)
In-Reply-To: <5125A1FE.5000604@wwwdotorg.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/20/2013 11:26 PM, Stephen Warren wrote:
> On 02/20/2013 06:37 PM, Joel A Fernandes wrote:
>> Hello, I've been spinning some work-in-progress patches for FIT
>> build support in the kernel. With the move to multiplatform
>> support on OMAP, I feel it is a good time to add  FIT support,
>> also looking at the proliferating number of dtbs, as it is a nice
>> way
> 
> To my mind, FIT is pointless. And forcing the kernel build process
> to create bootloader-specific files doesn't seem like a good idea.
> Doing so would require pulling in even more outside tools into the
> kernel build flow.

No, it requires no more tools than we have today.  It's still just
mkimage and a device tree file.

> All you need is to copy the zImage and any relevant .dtb files
> into /boot, and have U-Boot load the relevant .dtb file by
> constructing the filename as roughly ${soc}-${board}.dtb, then use
> the bootz command to boot it. You can have a completely generic
> boot.scr (or built-in script).

Note you still have to copy N dtb files into the filesystem.  Or one
file, the FIT image.

> Note: Not all (many?) U-Boot support FIT anyway, so you'd need to
> flash a new U-Boot to support FIT, so you may as well just flash a
> new U-Boot that implements the ${soc} and ${board} variables
> instead. IIRC, there may also be a ${boardname} or similar that's
> like ${board}, but represents the runtime-detected board for when
> one U-Boot build actually supports multiple different boards.

And enable bootz as well.  Just about as many boards enable that as do
FIT.  And FIT has been around for years, bootz not so.  So in theory
folks with old/odd boards that didn't bother to get mainlined in
U-Boot could still have FIT support added, easily.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRJiE9AAoJENk4IS6UOR1WmVsP/2FEIJVDkB1Aefl5Zs0c1pGa
FjhDKASnsu8SqjHfjP6o0xkbxhdQHQw0AzDGOlGfbkDk7SUVLmyYkI8WeeZ/O6dB
cGW7zTV1TXU+Hjl3VqDBID7cskCANNn35fcbba5Q9+0Lo+KD39Jme63hilu2EBfj
njFbC55+U4yOY+uRD99w32GMd+yHaOL5yTQICmMasBuwsRfP/vrPIy9LBQ7z73Xd
f9/D0tfz1O5/QHxkn41zHfHDKoTpa3fbDcp3d/jgPPQK682nN38RD48s4AeC/1m4
GsnHEY3ykMIAPV49dEBm3ebC0HavIZ5sB5JlQh09Hk7kPQ4yJJgwpLzhxhByN0LR
3s5OgexNAuREtJWbOpghwS2d2GajNSPy845TmznkZI9gTWUi5PhA/6h+JQVm7/Ls
K515cs4TSvAEHUMP60AtvSi8Axe6nnDAJcTpPEeQyskCR2jGAmt80XsioJ0fprls
cZZr7shkarqdQbFjSLpvIFVSo0//xPq4OaLqoKInxmDQEYNmzCcKsbB2LlXywq7l
Tr6vrxe9O2BhJhXpi1NNBlJsOmII3Ft6/0MKKer8E3poITo6TKbRQG2O17lR49JP
RRbIKDB8X1wM2YybHHQaGwOTnkjZSGsYHDi9qKuK27UA27qGbu/FDmfHYPHsNpBo
ziTmDL5uI7rFQEkHiYVd
=M25C
-----END PGP SIGNATURE-----

  parent reply	other threads:[~2013-02-21 13:29 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21  1:37 [RFC] Kbuild support for ARM FIT images Joel A Fernandes
2013-02-21  4:26 ` Stephen Warren
2013-02-21  7:15   ` Joel A Fernandes
2013-02-21 18:58     ` Stephen Warren
2013-02-21 19:18       ` Tom Rini
2013-02-21 13:29   ` Tom Rini [this message]
2013-02-21 19:03     ` Stephen Warren
2013-02-21 10:37 ` Russell King - ARM Linux
2013-02-21 13:20   ` Tom Rini
2013-02-21 13:46     ` Russell King - ARM Linux
2013-02-21 14:08       ` Tom Rini
2013-02-21 14:37         ` Russell King - ARM Linux
2013-02-21 14:46           ` Tom Rini
2013-02-21 17:25         ` [U-Boot] " Nicolas Pitre
2013-02-21 17:40           ` Tom Rini
2013-02-21 19:21             ` Nicolas Pitre
2013-02-21 19:37               ` Stephen Warren
2013-02-21 19:57                 ` Wolfgang Denk
2013-02-21 20:05                   ` Stephen Warren
2013-02-21 20:18                     ` Wolfgang Denk
2013-02-21 21:18                 ` Nicolas Pitre
2013-02-22  0:10                   ` Stephen Warren
2013-02-22  0:39                     ` Russell King - ARM Linux
2013-02-22 20:48                       ` Stephen Warren
2013-02-21 18:27           ` Jason Gunthorpe
2013-02-21 19:08             ` Russell King - ARM Linux
2013-02-21 20:15               ` Jason Gunthorpe
2013-02-21 19:57             ` Nicolas Pitre
2013-02-21 21:14               ` Jason Gunthorpe
2013-02-21 22:05                 ` Nicolas Pitre
2013-02-21 23:11                   ` Jason Gunthorpe
2013-02-21 23:50                     ` Stephen Warren
2013-02-22  0:19                     ` Scott Wood
2013-02-22  2:39                       ` Jason Gunthorpe
2013-02-22  0:27                     ` Russell King - ARM Linux
2013-02-22  0:41                       ` Russell King - ARM Linux
2013-02-22  2:11                       ` Jason Gunthorpe
2013-02-21 23:18                   ` Wolfgang Denk
2013-02-21 23:28                     ` Jason Gunthorpe
2013-02-22  0:19                       ` Rob Herring
2013-02-22  2:22                         ` Jason Gunthorpe
2013-02-22  3:32                           ` Rob Herring
     [not found]                           ` <CA+T6QP=gHtOuZbjsbv5_GswZu7FUXW+9KVw6K06+5X_PNzqODw@mail.gmail.com>
2013-02-22 17:43                             ` Jason Gunthorpe
2013-02-22  6:55                       ` Wolfgang Denk
2013-02-21 23:45                   ` Stephen Warren
2013-02-22  0:29                     ` Russell King - ARM Linux
2013-02-21 20:56             ` Peter Korsgaard
2013-02-21 17:37       ` Wolfgang Denk
2013-02-21 18:33         ` Russell King - ARM Linux
2013-02-23  8:38   ` Joel A Fernandes
2013-02-22 16:00 ` Olof Johansson
2013-03-18 16:36   ` Pavel Machek
2013-03-18 16:44     ` Russell King - ARM Linux
2013-03-18 17:49       ` Pavel Machek
2013-03-18 17:57         ` Russell King - ARM Linux
2013-03-18 18:04           ` Pavel Machek
2013-03-18 18:14             ` [U-Boot] " Stephen Warren
2013-03-18 19:57               ` Wolfgang Denk
2013-03-18 19:51           ` Wolfgang Denk
2013-03-18 18:29     ` [U-Boot] " 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=5126213E.9010809@ti.com \
    --to=trini@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).