linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jgunthorpe@obsidianresearch.com (Jason Gunthorpe)
To: linux-arm-kernel@lists.infradead.org
Subject: [U-Boot] [RFC] Kbuild support for ARM FIT images
Date: Thu, 21 Feb 2013 11:27:24 -0700	[thread overview]
Message-ID: <20130221182724.GA14329@obsidianresearch.com> (raw)
In-Reply-To: <alpine.LFD.2.03.1302211144240.6419@syhkavp.arg>

On Thu, Feb 21, 2013 at 12:25:21PM -0500, Nicolas Pitre wrote:

> So let's stop kidding ourselves and be coherent please: either we move 
> device specifics away from the kernel, or we keep them together.  In 
> other words, the DT should ideally come preinstalled with the bootloader 
> on a given board/device for distros to not even have to care about it, 
> or we put that data back inside the kernel and dispense ourselves from 
> all the added DT overhead entirely.  But an hybrid mixed solution like 
> FIT is IMHO the worst of both worlds and sending a wrong message.

Just to thread jack a bit here..

We've been using DT on production embedded stuff sice about 2.6.20ish
on PPC and now ARM. We treat the dtb as a kernel version specific
file, much like an initrd and ensure that the kernel only ever boots
with its proper dtb. This is based on experience that the dtbs change
depending on the state of the drivers in the kernel, what gets
mainlined and when, etc.

Embedding this stuff into the bootloader is *not* desirable for my
embedded scenarios. We don't use FIT (or uboot) but we do the same
thing: a single image is constructed with the proper dtb, kernel and
initrd, and that is what the bootloader boots.

Why? This is an embedded appliance product. We need to be able to
deliver firmware upgrades that *work*. We can't brick the board
because the bootloader and kernel get out of sync. The boot loader has
to be *simple*, it has to boot every past, present and future kernel
or we start taking risks that a firmware flash will end up bricking
it.

People making dev boards and distros for them certainly have different
requirements, but we've decided that the single image approach is the
best for appliance style products.

Jason

  parent reply	other threads:[~2013-02-21 18:27 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
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 [this message]
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=20130221182724.GA14329@obsidianresearch.com \
    --to=jgunthorpe@obsidianresearch.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).