linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] MIPS: BCM47XX: select BOOT_RAW

To: ralf@linux-mips.org, john@phrozen.org
Subject: Re: [PATCH 1/2] MIPS: BCM47XX: select BOOT_RAW
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Wed, 21 Nov 2012 22:05:48 +0100
Cc: Kevin Cernekee <cernekee@gmail.com>, linux-mips@linux-mips.org
In-reply-to: <CAJiQ=7B+ohpoksFcH2Z9Twwc=3SbED1hSvssfmx5-kfb4dPJnQ@mail.gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1347806915-25132-1-git-send-email-hauke@hauke-m.de> <CAJiQ=7B+ohpoksFcH2Z9Twwc=3SbED1hSvssfmx5-kfb4dPJnQ@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
On 09/16/2012 05:38 PM, Kevin Cernekee wrote:
> On Sun, Sep 16, 2012 at 7:48 AM, Hauke Mehrtens <hauke@hauke-m.de> wrote:
>> All the boot loaders I have seen are booting the kernel in raw mode by
>> default. CFE seams to support elf kernel images too, but the default
> 
> Nitpick: "seems"
> 
>> case is raw for the devices I know of. Select this option to make the
>> kernel boot on most of the devices with the default options.
> 
> CONFIG_BOOT_RAW only adds about 8 bytes to the kernel image.  Since
> early 2008 it's just been implemented as a single jump instruction,
> and it's harmless on platforms that don't need it.
> 
> Do you think it is worthwhile to delete the Kconfig option, and enable
> BOOT_RAW behavior on all builds?
> 
Ralf should I change the patch to activate BOOT_RAW on all builds like
Kevin suggested?

I just came up with the small change in these patches to make the
bcm47xx SoC boot again without any other patches.

Hauke

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 1/2] MIPS: BCM47XX: select BOOT_RAW, Hauke Mehrtens <=