Compressed Kernels
I've noticed that mips doesn't have a compressed kernel option, so I had added support (ripped shamelessly from arch/i386) for it to save space on our flash chips.
It works fine for my db1550 and also our product boards.
The patch is pretty messy but if there was interest in it I could clean it up. Is there any historical reason for it not being included?
Signature · 2 lines
[email protected] Digital Simplicity
Quoted 7 lines · JP Foster
I've noticed that mips doesn't have a compressed kernel option, so I had added support (ripped shamelessly from
arch/i386) for it to save space on our flash chips.It works fine for my db1550 and also our product boards.
The patch is pretty messy but if there was interest in it I could clean it up. Is there any historical reason for it not being included?
Pete Popov was already working some zImage code.
His link for it:
ftp://ftp.linux-mips.org/pub/linux/mips/people/ppopov/2.6/zImage_2_6_10.patch
It worked for me in January on an XXS1500 device, but I haven't tried it on any newer kernel since then.
I don't know the current status of it, or if it is going to go into the main codebase at all.
Signature · 5 lines
Robin Hugh Johnson E-Mail : [email protected] Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 ICQ# : 30269588 or 41961639 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
Quoted 12 lines · Robin H. Johnson
Quoted 7 lines · JP Foster
I've noticed that mips doesn't have a compressed kernel option, so I had added support (ripped shamelessly from
arch/i386) for it to save space on our flash chips.It works fine for my db1550 and also our product boards.
The patch is pretty messy but if there was interest in it I could clean it up. Is there any historical reason for it not being included?Pete Popov was already working some zImage code.
Quoted 8 lines
His link for it:
ftp://ftp.linux-mips.org/pub/linux/mips/people/ppopov/2.6/zImage_2_6_10.patchIt worked for me in January on an XXS1500 device, but I haven't tried it on any newer kernel since then.
I don't know the current status of it, or if it is going to go into the main codebase at all.
Should be easy to update if if doesn't apply cleanly anymore. I think the complaint about that patch is that it duplicates some code from other architectures and a more common solution is needed. Since I don't have time to work on something more common, the patch remains stand alone.
Pete
Quoted 4 lines
Should be easy to update if if doesn't apply cleanly anymore. I think the complaint about that patch is that it duplicates some code from other architectures and a more common solution is needed. Since I don't have time to work on something more common, the patch remains stand alone.
Fair enough I'd agree with that as the code I used was straight outta i386. Other archs use the same arm sh etc. I'll apply your patch for our boards rather than duplicate the effort. This I guess is a problem for all arches and really should be addressed at the kernel.org level.
Signature · 2 lines
mailto:[email protected] http://jaypee.org.uk