From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751609AbdBFIwT (ORCPT ); Mon, 6 Feb 2017 03:52:19 -0500 Received: from mail-lf0-f52.google.com ([209.85.215.52]:34609 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588AbdBFIwQ (ORCPT ); Mon, 6 Feb 2017 03:52:16 -0500 Subject: Re: [PATCH] MIPS: Allow compressed images to be loaded at the usual address To: Alban , linux-mips@linux-mips.org References: <1486326077-17091-1-git-send-email-albeu@free.fr> Cc: Ralf Baechle , Jonas Gorski , linux-kernel@vger.kernel.org From: Sergei Shtylyov Message-ID: <1762cdb0-c0f1-f667-e136-cfb40205aa88@cogentembedded.com> Date: Mon, 6 Feb 2017 11:52:09 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1486326077-17091-1-git-send-email-albeu@free.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 2/5/2017 11:21 PM, Alban wrote: > From: Alban Bedel > > Normally compressed images have to be loaded at a different address to > allow the decompressor to run. This add an option to let vmlinuz copy > itself to the correct address from the normal vmlinux address. > > Signed-off-by: Alban Bedel [...] Just some grammar nitpicking... > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index b3c5bde..8074fc5 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -2961,6 +2961,14 @@ choice > bool "Extend builtin kernel arguments with bootloader arguments" > endchoice > > +config ZBOOT_VMLINUZ_AT_VMLINUX_LOAD_ADDRESS > + bool "Load compressed images at the same address as uncompressed" > + depends on SYS_SUPPORTS_ZBOOT > + help > + vmlinux and vmlinuz normally have different load addresses, with > + this option vmlinuz expect to be loaded at the same address as Expects. [...] MBR, Sergei