From: Remy Bohmer <linux@bohmer.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
u-boot@lists.denx.de, sam@ravnborg.org
Cc: Stefan Roese <sr@denx.de>, Remy Bohmer <linux@bohmer.net>
Subject: [patch 1/2] Enable the use of an uncompressed kernel image for U-boot uImage
Date: Mon, 25 Aug 2008 21:14:28 +0200 [thread overview]
Message-ID: <48b309fe.0a04d00a.527b.ffffa801@mx.google.com> (raw)
In-Reply-To: 20080825191427.728251800@bohmer.net
[-- Attachment #1: use-uncompressed-image-for-uboot.patch --]
[-- Type: text/plain, Size: 1610 bytes --]
Normally the 'zImage' is used as base for uImage.
Enable the capability to use the raw uncompressed 'Image' instead
Signed-off-by: Remy Bohmer <linux@bohmer.net>
---
arch/arm/Kconfig | 10 ++++++++++
arch/arm/boot/Makefile | 6 +++++-
2 files changed, 15 insertions(+), 1 deletion(-)
Index: linux-2.6.27-rc4/arch/arm/Kconfig
===================================================================
--- linux-2.6.27-rc4.orig/arch/arm/Kconfig 2008-08-25 20:58:33.000000000 +0200
+++ linux-2.6.27-rc4/arch/arm/Kconfig 2008-08-25 20:58:36.000000000 +0200
@@ -967,6 +967,16 @@ config XIP_KERNEL
If unsure, say N.
+config UNCOMPRESSED_UIMAGE
+ bool "Use uncompressed kernel image for uImage"
+ default n
+ help
+ Enable this option if you want uImage to be based on the kernel
+ 'Image' instead of 'zImage'. This will increase the kernel image
+ size, but it can improve kernel boot time in some situations.
+
+ If unsure, say N.
+
config XIP_PHYS_ADDR
hex "XIP Kernel Physical Location"
depends on XIP_KERNEL
Index: linux-2.6.27-rc4/arch/arm/boot/Makefile
===================================================================
--- linux-2.6.27-rc4.orig/arch/arm/boot/Makefile 2008-08-25 20:58:33.000000000 +0200
+++ linux-2.6.27-rc4/arch/arm/boot/Makefile 2008-08-25 20:58:36.000000000 +0200
@@ -70,7 +70,11 @@ else
$(obj)/uImage: LOADADDR=$(ZRELADDR)
endif
-$(obj)/uImage: $(obj)/zImage FORCE
+ifeq ($(CONFIG_UNCOMPRESSED_UIMAGE),y)
+$(obj)/uImage: $(obj)/Image FORCE
+else
+$(obj)/uImage: $(obj)/zImage FORCE
+endif
$(call if_changed,uimage)
@echo ' Image $@ is ready'
--
next parent reply other threads:[~2008-08-25 19:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080825191427.728251800@bohmer.net>
2008-08-25 19:14 ` Remy Bohmer [this message]
2008-08-25 21:13 ` [U-Boot] [patch 1/2] Enable the use of an uncompressed kernel image for U-boot uImage Wolfgang Denk
2008-08-25 19:14 ` [patch 2/2] Add support for building the new U-boot uImage format (FIT-format) Remy Bohmer
2008-08-25 21:18 ` [U-Boot] " Wolfgang Denk
2008-08-26 10:31 ` Remy Bohmer
2008-08-26 18:59 ` Remy Bohmer
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=48b309fe.0a04d00a.527b.ffffa801@mx.google.com \
--to=linux@bohmer.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=sr@denx.de \
--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