From: Tom Rini <trini@kernel.crashing.org>
To: Martin Schaffner <schaffner@gmx.li>
Cc: linux-kernel@vger.kernel.org
Subject: Re: booting 2.6.4 from OpenFirmware
Date: Thu, 1 Apr 2004 08:17:43 -0700 [thread overview]
Message-ID: <20040401151743.GF21709@smtp.west.cox.net> (raw)
In-Reply-To: <555BCB50-837A-11D8-8BC8-0003931E0B62@gmx.li>
On Thu, Apr 01, 2004 at 02:17:24AM +0100, Martin Schaffner wrote:
>
> On 30.03.2004, at 23:58, Benjamin Herrenschmidt wrote:
>
> >On Wed, 2004-03-31 at 08:18, Martin Schaffner wrote:
> >>Hi,
> >>
> >>I try to boot linux-2.6.4 from OpenFirmware on my Apple iBook2 (dual
> >>USB). I'm using the image named "vmlinux.elf-pmac". While linux-2.4.25
> >>boots fine, linux-2.6.4 doesn't [...]
> >>
> >>If I try to boot the stock kernel, OpenFirmware tells me "Claim
> >>failed", and returns to the command prompt.
> >
> >That's strange, I do such netbooting everyday on a wide range of
> >machines without trouble. Are you using some kind of cross compiler ?
> >Maybe there are some issues with cross compiling of the boot wrapper...
>
> I WAS cross-compiling, but the problem persists when compiling
> natively. I don't net-boot but load the image from a HFS+ partition. I
> can't boot
>
> http://membres.lycos.fr/schaffner/vmlinux.orig
>
> which is a compilation of linux-2.6.4 with
>
> http://membres.lycos.fr/schaffner/.config
>
> I can, however, boot
>
> http://membres.lycos.fr/schaffner/vmlinux.patched
>
> which is the same after the following patch:
>
> http://membres.lycos.fr/schaffner/boot-of-works.patch
>
> Maybe the problem is specific to the model of the machine?
I suspect that there's some ELF sections which need to be dropped.
Can you do an objdump -x on the vmlinux.elf-pmac with and without that
patch and tell us which names are missing from the working one? Thanks.
--
Tom Rini
http://gate.crashing.org/~trini/
next prev parent reply other threads:[~2004-04-01 15:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 22:18 Martin Schaffner
2004-03-30 22:58 ` Benjamin Herrenschmidt
2004-03-31 11:58 ` Marco d'Itri
2004-04-01 1:17 ` Martin Schaffner
2004-04-01 15:17 ` Tom Rini [this message]
2004-04-01 21:40 ` Olaf Hering
2004-04-02 3:22 ` Martin Schaffner
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=20040401151743.GF21709@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=schaffner@gmx.li \
/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
all inboxes | Powered by JetHome®