ARM: New option for generating uncompressed uImage.
PATCH 1/1 ARM: New option for generating uncompressed uImage.
Some systems do boot faster with an uncompressed kernel.
--- arch/arm/Kconfig | 7 +++++++ arch/arm/boot/Makefile | 4 ++++ 2 files changed, 11 insertions(+), 0 deletions(-)
arch/arm/Kconfig +7 -0
@@ -1591,6 +1591,13 @@ config AUTO_ZRELADDR 0xf8000000. This assumes the zImage being placed in the first 128MB from start of memory. +config UNCOMPRESSED_UIMAGE + bool "Uncompressed uImage" + help + Some systems do boot faster if an uncompressed kernel is used. + This is depending on your bootloader's flash/mmc read speed + and your CPU speed. + endmenu menu "CPU Power Management"
arch/arm/boot/Makefile +4 -0
@@ -77,7 +77,11 @@ else $(obj)/uImage: STARTADDR=$(LOADADDR) endif +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'
Signature · 1 line
1.6.3.3
PATCH 1/1 ARM: New option for generating uncompressed uImage.
Quoted 5 lines · Jonas Aaberg
Some systems do boot faster with an uncompressed kernel.
Acked-by Linus Walleij <[email protected]>Signed-off-by Jonas Aaberg <[email protected]>
I mostly never see it
we are faster to uncompress a kernel in ddr
can you provide beanchmark
Best Regards,
J.
PATCH 1/1 ARM: New option for generating uncompressed uImage.
In reply to Jonas AabergQuoted 1 line · Jonas Aaberg
Some systems do boot faster with an uncompressed kernel.
Do this externally. uImage in the kernel build is a pain in the backside because different people want different things from it.
PATCH 1/1 ARM: New option for generating uncompressed uImage.
Quoted 5 lines · Russell King - ARM Linux
Quoted 1 line · Jonas Aaberg
Some systems do boot faster with an uncompressed kernel.
Do this externally. uImage in the kernel build is a pain in the backside because different people want different things from it.
Ok. I see your point. Maybe uImage generation should be removed from the kernel build system.
BR,
Jonas
PATCH 1/1 ARM: New option for generating uncompressed uImage.
In reply to Russell King - ARM LinuxQuoted 5 lines · Russell King - ARM Linux
Quoted 1 line · Jonas Aaberg
Some systems do boot faster with an uncompressed kernel.
Do this externally. uImage in the kernel build is a pain in the backside because different people want different things from it.
we drop this from barebox you can now boot the zImage or the raw image directly
we keep the uImage for the ones that still want to use it
Best Regards,
J.