linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Clouter <alex@digriz.org.uk>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH -v1] MIPS: add support for gzip/bzip2/lzma compressed kernel images
Date: Sat, 26 Sep 2009 13:33:20 +0100	[thread overview]
Message-ID: <20090926123320.GJ6085@chipmunk> (raw)
In-Reply-To: <1249894154-10982-1-git-send-email-wuzhangjin@gmail.com>

Hi,

* Wu Zhangjin <wuzhangjin@gmail.com> [2009-08-10 16:49:14+0800]:
>
> This patch will help to generate smaller kernel images for linux-MIPS,
> 
> Here is the effect when using lzma:
> 
> $ ls -sh vmlinux
> 7.1M vmlinux
> $ ls -sh arch/mips/boot/compressed/vmlinuz
> 1.5M arch/mips/boot/compressed/vmlinuz
> 
> Have tested the 32bit kernel on Qemu/Malta and 64bit kernel on FuLoong
> Mini PC. both of them work well.
> 
> and this revision incorporates the feedback from Alexander Clouter
> <alex@digriz.org.uk>, he helped to test it on AR7[1] based Linksys
> WAG54Gv2 and gave good suggestion on board-independence.
> 
> NOTE: this should work for the other MIPS-based machines, but I have
> used the command bc in the Makefile to calculate the load address of the
> compressed kernel. I'm not sure this is suitable.  perhaps I need to
> rewrite this part in C program or somebody help to simplify the current
> implementation.
> 
Finally Fleabay'ed a replacement WAG54Gv2 to replace the one I 
bricked to try this new patch.

Works perfectly....I finally can cooked more or less vanilla kernels on 
my board now :)

> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
>
Tested-by: Alexander Clouter <alex@digriz.org.uk>

Cheers

-- 
Alexander Clouter
.sigmonster says: My computer can beat up your computer.
                  		-- Karl Lehenbauer

  parent reply	other threads:[~2009-09-26 12:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10  8:49 [PATCH -v1] MIPS: add support for gzip/bzip2/lzma compressed kernel images Wu Zhangjin
     [not found] ` <20090810101205.GW19816@chipmunk>
     [not found]   ` <200908102342.30031.florian@openwrt.org>
2009-08-11 21:19     ` AR7 runtime identification [was:- Re: [PATCH -v1] MIPS: add support for gzip/bzip2/lzma compressed kernel images] Florian Fainelli
2009-08-12  8:37       ` Alexander Clouter
2009-08-12  9:19         ` Florian Fainelli
2009-09-26 12:33 ` Alexander Clouter [this message]
2009-09-28 14:08 ` [PATCH -v1] MIPS: add support for gzip/bzip2/lzma compressed kernel images Manuel Lauss
2009-09-28 14:08   ` Manuel Lauss
2009-09-28 20:17 ` Alexander Clouter
2009-10-12  2:34 ` Ralf Baechle
2009-10-12  3:31   ` Wu Zhangjin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090926123320.GJ6085@chipmunk \
    --to=alex@digriz.org.uk \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=wuzhangjin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).