All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: Pavel Machek <pavel@denx.de>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>,
	"Fernandes, Joel A" <joelagnel@ti.com>,
	Grant Likely <glikely@secretlab.ca>,
	linux-kbuild@vger.kernel.org, tony@atomide.com, "Rini,
	Tom" <trini@ti.com>, Grant Likely <grant.likely@secretlab.ca>,
	u-boot@lists.denx.de,
	Linux OMAP List <linux-omap@vger.kernel.org>,
	Linux ARM Kernel List <linux-arm-kernel@lists.infradead.org>
Subject: Re: [U-Boot] [RFC] Kbuild support for ARM FIT images
Date: Mon, 18 Mar 2013 12:14:47 -0600	[thread overview]
Message-ID: <51475997.2060008@wwwdotorg.org> (raw)
In-Reply-To: <20130318180458.GC4230@amd.pavel.ucw.cz>

On 03/18/2013 12:04 PM, Pavel Machek wrote:
> On Mon 2013-03-18 17:57:46, Russell King - ARM Linux wrote:
>> On Mon, Mar 18, 2013 at 06:49:32PM +0100, Pavel Machek wrote:
>>> What I wanted to say is that kernel build traditionaly produced
>>> something useful, something bootloader can actually boot. Currently,
>>> make uImage produces u-boot image. Please keep that capability.
>>
>> Unfortunately, there is a fundamental problem with uImage.  It encodes
>> the load address, and that is utterly incompatible with the goal of
>> having a kernel image which boots on multiple platforms.
>>
>> uImage isn't going anywhere for the time being, but you will find
>> that:
>>
>> a) recent kernels will just wrap the zImage without a DTB, so
>>    appended DTBs can't be used with it
>> b) it won't work with MULTIPLATFORM-enabled kernels, unless you
>>    provide make with a LOADADDR= argument to tell it where the
>>    uImage is to be loaded - which is platform specific.
>>
>> (b) fundamentally can't be solved in kbuild.  If you want to use
>> uImage with multiple platforms from the same zImage, then you need
>> to generate multiple uImage files with different load addresses.
>> That's purely - and solely - down to the dysfunctional uImage format.
> 
> I know. uImage is not perfect. But solution should be "adopt a better
> format" (ARM FIT?), not "drop support for making useful images
> altogether" as Olof proposed before.

Raw zImage /is/ the useful format that should be adopted.


WARNING: multiple messages have this Message-ID (diff)
From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [U-Boot] [RFC] Kbuild support for ARM FIT images
Date: Mon, 18 Mar 2013 12:14:47 -0600	[thread overview]
Message-ID: <51475997.2060008@wwwdotorg.org> (raw)
In-Reply-To: <20130318180458.GC4230@amd.pavel.ucw.cz>

On 03/18/2013 12:04 PM, Pavel Machek wrote:
> On Mon 2013-03-18 17:57:46, Russell King - ARM Linux wrote:
>> On Mon, Mar 18, 2013 at 06:49:32PM +0100, Pavel Machek wrote:
>>> What I wanted to say is that kernel build traditionaly produced
>>> something useful, something bootloader can actually boot. Currently,
>>> make uImage produces u-boot image. Please keep that capability.
>>
>> Unfortunately, there is a fundamental problem with uImage.  It encodes
>> the load address, and that is utterly incompatible with the goal of
>> having a kernel image which boots on multiple platforms.
>>
>> uImage isn't going anywhere for the time being, but you will find
>> that:
>>
>> a) recent kernels will just wrap the zImage without a DTB, so
>>    appended DTBs can't be used with it
>> b) it won't work with MULTIPLATFORM-enabled kernels, unless you
>>    provide make with a LOADADDR= argument to tell it where the
>>    uImage is to be loaded - which is platform specific.
>>
>> (b) fundamentally can't be solved in kbuild.  If you want to use
>> uImage with multiple platforms from the same zImage, then you need
>> to generate multiple uImage files with different load addresses.
>> That's purely - and solely - down to the dysfunctional uImage format.
> 
> I know. uImage is not perfect. But solution should be "adopt a better
> format" (ARM FIT?), not "drop support for making useful images
> altogether" as Olof proposed before.

Raw zImage /is/ the useful format that should be adopted.

WARNING: multiple messages have this Message-ID (diff)
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] Kbuild support for ARM FIT images
Date: Mon, 18 Mar 2013 12:14:47 -0600	[thread overview]
Message-ID: <51475997.2060008@wwwdotorg.org> (raw)
In-Reply-To: <20130318180458.GC4230@amd.pavel.ucw.cz>

On 03/18/2013 12:04 PM, Pavel Machek wrote:
> On Mon 2013-03-18 17:57:46, Russell King - ARM Linux wrote:
>> On Mon, Mar 18, 2013 at 06:49:32PM +0100, Pavel Machek wrote:
>>> What I wanted to say is that kernel build traditionaly produced
>>> something useful, something bootloader can actually boot. Currently,
>>> make uImage produces u-boot image. Please keep that capability.
>>
>> Unfortunately, there is a fundamental problem with uImage.  It encodes
>> the load address, and that is utterly incompatible with the goal of
>> having a kernel image which boots on multiple platforms.
>>
>> uImage isn't going anywhere for the time being, but you will find
>> that:
>>
>> a) recent kernels will just wrap the zImage without a DTB, so
>>    appended DTBs can't be used with it
>> b) it won't work with MULTIPLATFORM-enabled kernels, unless you
>>    provide make with a LOADADDR= argument to tell it where the
>>    uImage is to be loaded - which is platform specific.
>>
>> (b) fundamentally can't be solved in kbuild.  If you want to use
>> uImage with multiple platforms from the same zImage, then you need
>> to generate multiple uImage files with different load addresses.
>> That's purely - and solely - down to the dysfunctional uImage format.
> 
> I know. uImage is not perfect. But solution should be "adopt a better
> format" (ARM FIT?), not "drop support for making useful images
> altogether" as Olof proposed before.

Raw zImage /is/ the useful format that should be adopted.

  reply	other threads:[~2013-03-18 18:14 UTC|newest]

Thread overview: 178+ 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  1:37 ` [U-Boot] " Joel A Fernandes
2013-02-21  1:37 ` Joel A Fernandes
2013-02-21  4:26 ` Stephen Warren
2013-02-21  4:26   ` [U-Boot] " Stephen Warren
2013-02-21  4:26   ` Stephen Warren
2013-02-21  7:15   ` Joel A Fernandes
2013-02-21  7:15     ` [U-Boot] " Joel A Fernandes
2013-02-21  7:15     ` Joel A Fernandes
2013-02-21 18:58     ` Stephen Warren
2013-02-21 18:58       ` [U-Boot] " Stephen Warren
2013-02-21 18:58       ` Stephen Warren
2013-02-21 19:18       ` Tom Rini
2013-02-21 19:18         ` Tom Rini
2013-02-21 13:29   ` Tom Rini
2013-02-21 13:29     ` [U-Boot] " Tom Rini
2013-02-21 13:29     ` Tom Rini
2013-02-21 19:03     ` Stephen Warren
2013-02-21 19:03       ` [U-Boot] " Stephen Warren
2013-02-21 19:03       ` Stephen Warren
2013-02-21 10:37 ` Russell King - ARM Linux
2013-02-21 10:37   ` [U-Boot] " Russell King - ARM Linux
2013-02-21 10:37   ` Russell King - ARM Linux
2013-02-21 13:20   ` Tom Rini
2013-02-21 13:20     ` [U-Boot] " Tom Rini
2013-02-21 13:20     ` Tom Rini
2013-02-21 13:46     ` Russell King - ARM Linux
2013-02-21 13:46       ` [U-Boot] " Russell King - ARM Linux
2013-02-21 13:46       ` Russell King - ARM Linux
2013-02-21 14:08       ` Tom Rini
2013-02-21 14:08         ` [U-Boot] " Tom Rini
2013-02-21 14:08         ` Tom Rini
2013-02-21 14:37         ` Russell King - ARM Linux
2013-02-21 14:37           ` Russell King - ARM Linux
2013-02-21 14:46           ` Tom Rini
2013-02-21 14:46             ` Tom Rini
2013-02-21 17:25         ` [U-Boot] " Nicolas Pitre
2013-02-21 17:25           ` Nicolas Pitre
2013-02-21 17:25           ` Nicolas Pitre
2013-02-21 17:40           ` Tom Rini
2013-02-21 17:40             ` Tom Rini
2013-02-21 17:40             ` Tom Rini
2013-02-21 17:40             ` Tom Rini
2013-02-21 19:21             ` [U-Boot] " Nicolas Pitre
2013-02-21 19:21               ` Nicolas Pitre
2013-02-21 19:21               ` Nicolas Pitre
2013-02-21 19:37               ` Stephen Warren
2013-02-21 19:37                 ` Stephen Warren
2013-02-21 19:37                 ` Stephen Warren
2013-02-21 19:57                 ` Wolfgang Denk
2013-02-21 19:57                   ` Wolfgang Denk
2013-02-21 19:57                   ` Wolfgang Denk
2013-02-21 20:05                   ` Stephen Warren
2013-02-21 20:05                     ` Stephen Warren
2013-02-21 20:05                     ` Stephen Warren
2013-02-21 20:18                     ` Wolfgang Denk
2013-02-21 20:18                       ` Wolfgang Denk
2013-02-21 20:18                       ` Wolfgang Denk
2013-02-21 21:18                 ` Nicolas Pitre
2013-02-21 21:18                   ` Nicolas Pitre
2013-02-21 21:18                   ` Nicolas Pitre
2013-02-22  0:10                   ` Stephen Warren
2013-02-22  0:10                     ` Stephen Warren
2013-02-22  0:10                     ` Stephen Warren
2013-02-22  0:39                     ` Russell King - ARM Linux
2013-02-22  0:39                       ` Russell King - ARM Linux
2013-02-22  0:39                       ` Russell King - ARM Linux
2013-02-22 20:48                       ` Stephen Warren
2013-02-22 20:48                         ` Stephen Warren
2013-02-22 20:48                         ` Stephen Warren
2013-02-21 18:27           ` Jason Gunthorpe
2013-02-21 18:27             ` Jason Gunthorpe
2013-02-21 18:27             ` Jason Gunthorpe
2013-02-21 19:08             ` Russell King - ARM Linux
2013-02-21 19:08               ` Russell King - ARM Linux
2013-02-21 19:08               ` Russell King - ARM Linux
2013-02-21 20:15               ` Jason Gunthorpe
2013-02-21 20:15                 ` Jason Gunthorpe
2013-02-21 20:15                 ` Jason Gunthorpe
2013-02-21 19:57             ` Nicolas Pitre
2013-02-21 19:57               ` Nicolas Pitre
2013-02-21 19:57               ` Nicolas Pitre
2013-02-21 21:14               ` Jason Gunthorpe
2013-02-21 21:14                 ` Jason Gunthorpe
2013-02-21 21:14                 ` Jason Gunthorpe
2013-02-21 22:05                 ` Nicolas Pitre
2013-02-21 22:05                   ` Nicolas Pitre
2013-02-21 22:05                   ` Nicolas Pitre
2013-02-21 23:11                   ` Jason Gunthorpe
2013-02-21 23:11                     ` Jason Gunthorpe
2013-02-21 23:11                     ` Jason Gunthorpe
2013-02-21 23:50                     ` Stephen Warren
2013-02-21 23:50                       ` Stephen Warren
2013-02-21 23:50                       ` Stephen Warren
2013-02-22  0:19                     ` Scott Wood
2013-02-22  0:19                       ` Scott Wood
2013-02-22  0:19                       ` Scott Wood
2013-02-22  0:19                       ` Scott Wood
2013-02-22  2:39                       ` [U-Boot] " Jason Gunthorpe
2013-02-22  2:39                         ` Jason Gunthorpe
2013-02-22  0:27                     ` Russell King - ARM Linux
2013-02-22  0:27                       ` Russell King - ARM Linux
2013-02-22  0:27                       ` Russell King - ARM Linux
2013-02-22  0:41                       ` Russell King - ARM Linux
2013-02-22  0:41                         ` Russell King - ARM Linux
2013-02-22  2:11                       ` Jason Gunthorpe
2013-02-22  2:11                         ` Jason Gunthorpe
2013-02-21 23:18                   ` Wolfgang Denk
2013-02-21 23:18                     ` Wolfgang Denk
2013-02-21 23:18                     ` Wolfgang Denk
2013-02-21 23:28                     ` Jason Gunthorpe
2013-02-21 23:28                       ` Jason Gunthorpe
2013-02-21 23:28                       ` Jason Gunthorpe
2013-02-22  0:19                       ` Rob Herring
2013-02-22  0:19                         ` Rob Herring
2013-02-22  0:19                         ` Rob Herring
2013-02-22  0:19                         ` Rob Herring
2013-02-22  2:22                         ` [U-Boot] " Jason Gunthorpe
2013-02-22  2:22                           ` Jason Gunthorpe
2013-02-22  2:22                           ` Jason Gunthorpe
2013-02-22  3:32                           ` Rob Herring
2013-02-22  3:32                             ` Rob Herring
2013-02-22  3:32                             ` Rob Herring
2013-02-22  7:56                           ` Jason Kridner
2013-02-22  7:56                             ` Jason Kridner
2013-02-22 17:43                             ` Jason Gunthorpe
2013-02-22 17:43                               ` Jason Gunthorpe
2013-02-22 17:43                               ` Jason Gunthorpe
2013-02-22  6:55                       ` Wolfgang Denk
2013-02-22  6:55                         ` Wolfgang Denk
2013-02-22  6:55                         ` Wolfgang Denk
2013-02-21 23:45                   ` Stephen Warren
2013-02-21 23:45                     ` Stephen Warren
2013-02-21 23:45                     ` Stephen Warren
2013-02-22  0:29                     ` Russell King - ARM Linux
2013-02-22  0:29                       ` Russell King - ARM Linux
2013-02-22  0:29                       ` Russell King - ARM Linux
2013-02-21 20:56             ` Peter Korsgaard
2013-02-21 20:56               ` Peter Korsgaard
2013-02-21 20:56               ` Peter Korsgaard
2013-02-21 17:37       ` Wolfgang Denk
2013-02-21 17:37         ` [U-Boot] " Wolfgang Denk
2013-02-21 17:37         ` Wolfgang Denk
2013-02-21 18:33         ` Russell King - ARM Linux
2013-02-21 18:33           ` Russell King - ARM Linux
2013-02-23  8:38   ` Joel A Fernandes
2013-02-23  8:38     ` [U-Boot] " Joel A Fernandes
2013-02-23  8:38     ` Joel A Fernandes
2013-02-22 16:00 ` Olof Johansson
2013-02-22 16:00   ` [U-Boot] " Olof Johansson
2013-02-22 16:00   ` Olof Johansson
2013-03-18 16:36   ` Pavel Machek
2013-03-18 16:36     ` [U-Boot] " Pavel Machek
2013-03-18 16:36     ` Pavel Machek
2013-03-18 16:44     ` Russell King - ARM Linux
2013-03-18 16:44       ` [U-Boot] " Russell King - ARM Linux
2013-03-18 16:44       ` Russell King - ARM Linux
2013-03-18 17:49       ` Pavel Machek
2013-03-18 17:49         ` [U-Boot] " Pavel Machek
2013-03-18 17:49         ` Pavel Machek
2013-03-18 17:57         ` Russell King - ARM Linux
2013-03-18 17:57           ` [U-Boot] " Russell King - ARM Linux
2013-03-18 17:57           ` Russell King - ARM Linux
2013-03-18 18:04           ` Pavel Machek
2013-03-18 18:04             ` [U-Boot] " Pavel Machek
2013-03-18 18:04             ` Pavel Machek
2013-03-18 18:14             ` Stephen Warren [this message]
2013-03-18 18:14               ` [U-Boot] " Stephen Warren
2013-03-18 18:14               ` Stephen Warren
2013-03-18 19:57               ` Wolfgang Denk
2013-03-18 19:57                 ` Wolfgang Denk
2013-03-18 19:57                 ` Wolfgang Denk
2013-03-18 19:51           ` Wolfgang Denk
2013-03-18 19:51             ` [U-Boot] " Wolfgang Denk
2013-03-18 19:51             ` Wolfgang Denk
2013-03-18 18:29     ` [U-Boot] " Tom Rini
2013-03-18 18:29       ` Tom Rini
2013-03-18 18:29       ` 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=51475997.2060008@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=glikely@secretlab.ca \
    --cc=grant.likely@secretlab.ca \
    --cc=joelagnel@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=pavel@denx.de \
    --cc=tony@atomide.com \
    --cc=trini@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.