linux/arch/arm/boot/compressed
Lennert Buytenhek 2552fc27ff [ARM] 3809/3: get rid of 4 megabyte kernel image size limit
We currently have a hardcoded 4 megabyte uncompressed kernel image
size limit, which is easily exceeded by, for example, enabling some of
the various kernel debugging options.

When setting up the initial page tables (which is where this 4M limit
is hardcoded), it's actually relatively easy to find out the true size
of the uncompressed kernel image and create enough page table entries
for things to fit, so this patch makes it so.

In the decompressor, we also need to know the size of the uncompressed
kernel image, to figure out whether there is any chance that uncompressing
the kernel might overwrite the compressed kernel image stored elsewhere
in memory. We don't have that info at this boot stage, though, so we
approximate the size of the uncompressed kernel by taking the compressed
kernel image size and allowing for a maximum 4x expansion.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-09-30 11:30:44 +01:00
..
big-endian.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-at91rm9200.S [ARM] 3654/1: add ajeco 1arm sbc support 2006-06-26 17:48:29 +01:00
head-clps7500.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-l7200.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-sa1100.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-shark.S [PATCH] ARM: 2816/1: Shark: boot kernel images bigger than 1 MB 2005-07-17 20:12:08 +01:00
head-sharpsl.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-xscale.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head.S [ARM] 3809/3: get rid of 4 megabyte kernel image size limit 2006-09-30 11:30:44 +01:00
ll_char_wr.S [ARM] Remove LOADREGS macro 2006-06-25 11:23:45 +01:00
Makefile [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
Makefile.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
misc.c [ARM] 3838/1: ARM: DCC debug console support for ARM11 2006-09-25 10:36:09 +01:00
ofw-shark.c [ARM] 2922/1: compile fix for shark 2005-09-20 16:21:42 +01:00
piggy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmlinux.lds.in [ARM] Allow decompressor to be built with -ffunction-sections 2006-04-09 19:08:42 +01:00