linux-mips
[Top] [All Lists]

Re: Does Linux Mips support compressed Kernel?

To: "Ardelean, Andrei" <Andrei.Ardelean@idt.com>
Subject: Re: Does Linux Mips support compressed Kernel?
From: wu zhangjin <wuzhangjin@gmail.com>
Date: Sat, 28 Aug 2010 01:08:56 +0800
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=IkzR1g3GJQH2W5VUflNaY7sfDl5G3/JKO9GyPuC92cc=; b=GuuqJ3XWANlZwFxTEBI51GJQ7RqRV2/eg8UcPZIYw8aTbmv+L80BX+BjH3lQgcbKzN MePTTXgJ9HTBpiaA48X8SCgzNHhrdFVMvac3B/OL7xWc98p9l/xvLvJImFz48htuvsRu gqqslGVIcy0RwfhfcCm7BBhsd7hLmd9X7o+Zk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YVdqx65YyZOrFa3WYIsBkFPWB1Da8RH7mNT+q2l0OAMBdSR5kSDac4PR+2+GNf5yxM grFxlFKTG4v+ZHLjTFyrEUEyoHuOB81EVLguzWhPbz8MGR7vjYeqoDvQRs8fzEV6Ve/q N4n+fzRfdbohWCb++h4mgTFUEKRVJjIVr55OE=
In-reply-to: <AEA634773855ED4CAD999FBB1A66D07601005801@CORPEXCH1.na.ads.idt.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AEA634773855ED4CAD999FBB1A66D07601005801@CORPEXCH1.na.ads.idt.com>
Sender: linux-mips-bounce@linux-mips.org
Hi,

On 8/27/10, Ardelean, Andrei <Andrei.Ardelean@idt.com> wrote:
> Hi,
>
> Does Linux Mips support compressed Kernel?

The answer maybe yes for we have added the basic compressed kernel
support from 2.6.33:

arch/mips/boot/compressed/

but which board are you using? I just checked the arch/mips/Kconfig of
2.6.35 and only found the following boards enabled it:

config MACH_ALCHEMY
        bool "Alchemy processor based machines"
        select SYS_SUPPORTS_ZBOOT

config AR7
        bool "Texas Instruments AR7"
        [snip]
        select SYS_SUPPORTS_ZBOOT_UART16550

config MACH_LOONGSON
        bool "Loongson family of machines"
        select SYS_SUPPORTS_ZBOOT_UART16550

config MIPS_MALTA
        bool "MIPS Malta board"
        [snip]
        select SYS_SUPPORTS_ZBOOT

> How can I obtain it?
>

If your board are not related to any of the ones above, then, you may
need to select SYS_SUPPORTS_ZBOOT for your board and try it.

If it doesn't work, you may need to debug it with serial port or the
other methods. If your board have a 16550 compatible serial port, you
may be possible to select SYS_SUPPORTS_ZBOOT_UART16550 instead of
SYS_SUPPORTS_ZBOOT to enable the serial port debugging support, and at
last, to enable the serial port debugging output, you need to enable
CONFIG_DEBUG_ZBOOT.

You can get more help from arch/mips/boot/compressed/

BTW, to enable the zboot support, the bootloader of your board may
need the capability to parse the elf file.

Regards,
Wu Zhangjin

<Prev in Thread] Current Thread [Next in Thread>