Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-13 Thread Albin Tonnerre
On Thu, Aug 06, 2009 at 11:40:55PM +0100, Russell King - ARM Linux wrote : On Mon, Aug 03, 2009 at 04:58:19PM +0200, Albin Tonnerre wrote: This is the second part of patch. This part includes: - changes to ach/arch/boot/Makefile to make it easier to add new compression types - new

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-13 Thread H. Peter Anvin
On 08/13/2009 02:30 AM, Albin Tonnerre wrote: On Tue, Aug 11, 2009 at 09:31:25AM -0700, H. Peter Anvin wrote : On 08/11/2009 09:27 AM, Albin Tonnerre wrote: So I guess the only options left are either define a dummy raise() function, or get rid of the divisions like Alain Knaff did in his

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-11 Thread Albin Tonnerre
Hi Sam, On Fri, Aug 07, 2009 at 11:08:16PM +0200, Sam Ravnborg wrote : We could add libgcc as a prerequisite. Untested patch below. When compiling with this patch applied, I get the following error: Kernel: arch/arm/boot/Image is ready LD arch/arm/boot/compressed/vmlinux

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-11 Thread Matthieu CASTET
Albin Tonnerre a écrit : Hi Sam, On Fri, Aug 07, 2009 at 11:08:16PM +0200, Sam Ravnborg wrote : We could add libgcc as a prerequisite. Untested patch below. When compiling with this patch applied, I get the following error: Kernel: arch/arm/boot/Image is ready LD

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-11 Thread Albin Tonnerre
On Tue, Aug 11, 2009 at 09:03:14AM -0700, H. Peter Anvin wrote : On 08/11/2009 02:44 AM, Albin Tonnerre wrote: Hi Sam, On Fri, Aug 07, 2009 at 11:08:16PM +0200, Sam Ravnborg wrote : We could add libgcc as a prerequisite. Untested patch below. When compiling with this patch

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Albin Tonnerre
On Thu, Aug 06, 2009 at 11:40:55PM +0100, Russell King - ARM Linux wrote : On Mon, Aug 03, 2009 at 04:58:19PM +0200, Albin Tonnerre wrote: This is the second part of patch. This part includes: - changes to ach/arch/boot/Makefile to make it easier to add new compression types - new

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2009 at 11:24:52AM +0200, Albin Tonnerre wrote: I also happen to have issues related to the linker not finding __aeabi_uidivmod, but only when compiling with CONFIG_CC_OPTIMIZE_FOR_SIZE. Is it similar for you, or does it also fail when compiling with -O2 ? I tend not to

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Alain Knaff
On 08/07/09 11:24, Albin Tonnerre wrote: On Thu, Aug 06, 2009 at 11:40:55PM +0100, Russell King - ARM Linux wrote : On Mon, Aug 03, 2009 at 04:58:19PM +0200, Albin Tonnerre wrote: This is the second part of patch. This part includes: - changes to ach/arch/boot/Makefile to make it easier to

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Albin Tonnerre
On Fri, Aug 07, 2009 at 11:36:56AM +0200, Alain Knaff wrote : On 08/07/09 11:24, Albin Tonnerre wrote: On Thu, Aug 06, 2009 at 11:40:55PM +0100, Russell King - ARM Linux wrote : On Mon, Aug 03, 2009 at 04:58:19PM +0200, Albin Tonnerre wrote: This is the second part of patch. This part

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Matthieu CASTET
Albin Tonnerre a écrit : On Fri, Aug 07, 2009 at 01:50:03PM +0200, Matthieu CASTET wrote : Albin Tonnerre a écrit : On Fri, Aug 07, 2009 at 11:36:56AM +0200, Alain Knaff wrote : On 08/07/09 11:24, Albin Tonnerre wrote: Regards, Could it be that the patches that remove division (zutil.h

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Albin Tonnerre
On Fri, Aug 07, 2009 at 03:27:00PM +0200, Matthieu CASTET wrote : Albin Tonnerre a écrit : On Fri, Aug 07, 2009 at 01:50:03PM +0200, Matthieu CASTET wrote : Albin Tonnerre a écrit : On Fri, Aug 07, 2009 at 11:36:56AM +0200, Alain Knaff wrote : On 08/07/09 11:24, Albin Tonnerre wrote:

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2009 at 03:55:24PM +0200, Albin Tonnerre wrote: That's true for the actual kernel image, but not for the bootstrap code we use when compiling compressed kernels. arch/arm/boot/compressed/Makefile uses libgcc, unless I'm overlooking something here:

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread H. Peter Anvin
On 08/07/2009 01:00 PM, Russell King - ARM Linux wrote: On Fri, Aug 07, 2009 at 03:55:24PM +0200, Albin Tonnerre wrote: That's true for the actual kernel image, but not for the bootstrap code we use when compiling compressed kernels. arch/arm/boot/compressed/Makefile uses libgcc, unless I'm

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Sam Ravnborg
On Fri, Aug 07, 2009 at 09:00:01PM +0100, Russell King - ARM Linux wrote: On Fri, Aug 07, 2009 at 03:55:24PM +0200, Albin Tonnerre wrote: That's true for the actual kernel image, but not for the bootstrap code we use when compiling compressed kernels. arch/arm/boot/compressed/Makefile uses

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-06 Thread Russell King - ARM Linux
On Mon, Aug 03, 2009 at 04:58:19PM +0200, Albin Tonnerre wrote: This is the second part of patch. This part includes: - changes to ach/arch/boot/Makefile to make it easier to add new compression types - new piggy.lzo.S necessary for lzo compression - changes in

[PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-03 Thread Albin Tonnerre
This is the second part of patch. This part includes: - changes to ach/arch/boot/Makefile to make it easier to add new compression types - new piggy.lzo.S necessary for lzo compression - changes in arch/arm/boot/compressed/misc.c to allow the use of lzo or gzip, depending on the config -