linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Octeon: add option to ignore PT_NOTE section

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] MIPS: Octeon: add option to ignore PT_NOTE section
From: philby john <pjohn@mvista.com>
Date: Thu, 14 Apr 2011 23:24:45 +0530
Cc: linux-mips@linux-mips.org
In-reply-to: <4DA5DF7A.1030207@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1302710833.14458.1.camel@localhost.localdomain> <4DA5DF7A.1030207@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 2011-04-13 at 10:38 -0700, David Daney wrote:
> On 04/13/2011 09:07 AM, philby john wrote:
> > From: Philby John<pjohn@mvista.com>
> 
> ^^^^^^^^ I believe that statement to be not entirely correct.

To be honest, we had a xyz customer report this issue with a patch that
had no original author sign-off. Good to know its origin.
Another shot with correct attributions follows in a second.

Regards,
Philby
> 
> Perhaps you should change it to something like:
> From: David Daney <ddaney@caviumnetworks.com>
> 
> 
> > Date: Wed, 13 Apr 2011 20:46:32 +0530
> > Subject: [PATCH] MIPS: Octeon: add option to ignore PT_NOTE section
> >
> > Some early Octeon bootloaders cannot process PT_NOTE program
> > headers as reported in numerous sections of the web, here is
> > an example http://www.spinics.net/lists/mips/msg37799.html
> > Loading usually fails with such an error ...
> > Error allocating memory for elf image!
> >
> > The work around usually is to strip the .notes section by using
> > such a command $mips-gnu-strip -R .notes vmlinux -o fixed-vmlinux
> > It is expected that the vmlinux image got after compilation be
> > bootable. Add a Kconfig option to ignore the PT_NOTE section.
> >
> > Signed-off-by: Philby John<pjohn@mvista.com>
> > ---



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