* [PATCH needed?] ARM: add missing HAVE_KERNEL_GZIP
@ 2009-09-28 7:21 Guennadi Liakhovetski
2009-09-28 7:53 ` Uwe Kleine-König
0 siblings, 1 reply; 4+ messages in thread
From: Guennadi Liakhovetski @ 2009-09-28 7:21 UTC (permalink / raw)
To: linux-arm-kernel
Kernel fails to uncompress itself and boot without this patch.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
No idea if this is the correct or even needed fix. I did observe a failure
to boot with a post 2.6.31 kernel about two weeks ago without this patch
(from u-boot), but it might well have become irrelevant by now.
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index aef63c8..fca630e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -18,6 +18,7 @@ config ARM
select HAVE_KRETPROBES if (HAVE_KPROBES)
select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
select HAVE_GENERIC_DMA_COHERENT
+ select HAVE_KERNEL_GZIP
help
The ARM series is a line of low-power-consumption RISC chip designs
licensed by ARM Ltd and targeted at embedded applications and
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH needed?] ARM: add missing HAVE_KERNEL_GZIP
2009-09-28 7:21 [PATCH needed?] ARM: add missing HAVE_KERNEL_GZIP Guennadi Liakhovetski
@ 2009-09-28 7:53 ` Uwe Kleine-König
2009-09-28 7:56 ` Guennadi Liakhovetski
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2009-09-28 7:53 UTC (permalink / raw)
To: linux-arm-kernel
Hi Guennadi,
On Mon, Sep 28, 2009 at 09:21:35AM +0200, Guennadi Liakhovetski wrote:
> Kernel fails to uncompress itself and boot without this patch.
I have no problem booting yesterday's linus/master without that change.
What is the exact problem you see?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH needed?] ARM: add missing HAVE_KERNEL_GZIP
2009-09-28 7:53 ` Uwe Kleine-König
@ 2009-09-28 7:56 ` Guennadi Liakhovetski
2009-09-28 8:19 ` Andy Green
0 siblings, 1 reply; 4+ messages in thread
From: Guennadi Liakhovetski @ 2009-09-28 7:56 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 28 Sep 2009, Uwe Kleine-K?nig wrote:
> Hi Guennadi,
>
> On Mon, Sep 28, 2009 at 09:21:35AM +0200, Guennadi Liakhovetski wrote:
> > Kernel fails to uncompress itself and boot without this patch.
> I have no problem booting yesterday's linus/master without that change.
>
> What is the exact problem you see?
Don't remember the error message exactly - something like "cannot
uncompress" or "missing decompressor"... Observed on a i.MX31 system,
although, if the problem were real, it probably would be present on all
ARMs - none defines any of those decompressors. Will have to double-check
then.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH needed?] ARM: add missing HAVE_KERNEL_GZIP
2009-09-28 7:56 ` Guennadi Liakhovetski
@ 2009-09-28 8:19 ` Andy Green
0 siblings, 0 replies; 4+ messages in thread
From: Andy Green @ 2009-09-28 8:19 UTC (permalink / raw)
To: linux-arm-kernel
On 09/28/2009 08:56 AM, Somebody in the thread at some point said:
> On Mon, 28 Sep 2009, Uwe Kleine-K?nig wrote:
>
>> Hi Guennadi,
>>
>> On Mon, Sep 28, 2009 at 09:21:35AM +0200, Guennadi Liakhovetski wrote:
>>> Kernel fails to uncompress itself and boot without this patch.
>> I have no problem booting yesterday's linus/master without that change.
>>
>> What is the exact problem you see?
>
> Don't remember the error message exactly - something like "cannot
> uncompress" or "missing decompressor"... Observed on a i.MX31 system,
> although, if the problem were real, it probably would be present on all
> ARMs - none defines any of those decompressors. Will have to double-check
> then.
Just a comment on this, I run on an iMX device with an uncompressed
kernel for a nice decrease in early boot time. The kernel comes in at
3MB uncompressed and the Qi bootloader I used pulls that in around half
a second from uSD.
I use gzip for something else as it happens, but in the uncompressed
case, boot is not dependent on gzip in the kernel.
-Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-28 8:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 7:21 [PATCH needed?] ARM: add missing HAVE_KERNEL_GZIP Guennadi Liakhovetski
2009-09-28 7:53 ` Uwe Kleine-König
2009-09-28 7:56 ` Guennadi Liakhovetski
2009-09-28 8:19 ` Andy Green
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).