[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48D94C72.5020708@zytor.com>
Date: Tue, 23 Sep 2008 13:07:14 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Alain Knaff <alain@...ff.lu>
CC: linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
w@....eu
Subject: Re: [update5] [PATCH] init: bzip2 or lzma -compressed kernels and
initrds
Alain Knaff wrote:
> H. Peter Anvin wrote:
>> Just did so, and it broke my first test build.
>>
>> arch/x86/boot/compressed/head_64.o: In function `relocated':
>> (.text+0x28): undefined reference to `_end'
>> make[3]: *** [arch/x86/boot/compressed/vmlinux] Error 1
>> make[2]: *** [arch/x86/boot/compressed/vmlinux] Error 2
>> make[1]: *** [bzImage] Error 2
>> make: *** [sub-make] Error 2
>>
>> -hpa
>
> Just leave the changes in head_64.S away; this was only about improved
> memory management. It is not strictly needed, as the change in
> /include/asm-x86/boot.h still makes sure that the heap is big enough,
> even for bzip2
>
OK, this kind of underscores something I have been thinking already:
this is a really large patch and should be broken down into a patchset.
Presumably something like:
- Cleanups to inflate library code
- Use existing library code for initramfs
- Add bzip2 library code
- Add lzma library code
- Add support for bzip2/lzma initrd
- Add support for bzip2/lzma bzImage
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists