linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
To: Scott Wood <scottwood@freescale.com>
Cc: Linux/PPC Development <linuxppc-dev@ozlabs.org>
Subject: Re: linux-2.6.git: cannot build PS3 image
Date: Thu, 25 Oct 2007 11:27:26 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.62.0710251113000.335@pademelon.sonytel.be> (raw)
In-Reply-To: <Pine.LNX.4.62.0710241820010.17958@pademelon.sonytel.be>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1935 bytes --]

On Wed, 24 Oct 2007, Geert Uytterhoeven wrote:
> On Wed, 17 Oct 2007, Scott Wood wrote:
> > Geert Uytterhoeven wrote:
> > >> diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
> > >> index 39b27e5..795f988 100755
> > >> --- a/arch/powerpc/boot/wrapper
> > >> +++ b/arch/powerpc/boot/wrapper
> > >> @@ -232,7 +232,7 @@ base=0x`${CROSS}nm "$ofile" | grep ' _start$' | cut -d' ' -f1`
> > >>  entry=`${CROSS}objdump -f "$ofile" | grep '^start address ' | cut -d' ' -f3`
> > >>  
> > >>  if [ -n "$binary" ]; then
> > >> -    mv "$ofile" "$ofile".elf
> > >> +    cp "$ofile" "$ofile".elf
> > >>      ${CROSS}objcopy -O binary "$ofile".elf "$ofile".bin
> > >>  fi
> > > 
> > > No comments?
> > 
> > That'd work in this case, though it'd probably be better to make the 
> > $ofile be the end result that will boot on the ps3, and leave a suffix 
> > on the intermediate files.
> 
> The $ofile is the end result to boot using kboot (2nd stage kernel).
> otheros.bld is the end result to write to FLASH ROM (1st stage kernel).

Bummer, ignore the first sentence. For a 2nd stage kernel, we do not boot
$ofile (= arch/powerpc/boot/zImage.ps3), but the plain vmlinux or
vmlinux.strip.

Hence zImage.ps3 is an intermediate file only and we don't need zImage at all.

Nevertheless, your other patch fixed the problem, thanks! ;-)

With kind regards,
 
Geert Uytterhoeven
Software Architect

Sony Network and Software Technology Center Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
 
Phone:    +32 (0)2 700 8453	
Fax:      +32 (0)2 700 8622	
E-mail:   Geert.Uytterhoeven@sonycom.com	
Internet: http://www.sony-europe.com/
 	
Sony Network and Software Technology Center Europe	
A division of Sony Service Centre (Europe) N.V.	
Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium	
VAT BE 0413.825.160 · RPR Brussels	
Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619

      reply	other threads:[~2007-10-25  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-12  9:56 linux-2.6.git: cannot build PS3 image Geert Uytterhoeven
2007-10-12 13:50 ` Geert Uytterhoeven
2007-10-17 13:23   ` Geert Uytterhoeven
2007-10-17 15:35     ` Scott Wood
2007-10-24 16:26       ` Geert Uytterhoeven
2007-10-25  9:27         ` Geert Uytterhoeven [this message]

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=Pine.LNX.4.62.0710251113000.335@pademelon.sonytel.be \
    --to=geert.uytterhoeven@sonycom.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=scottwood@freescale.com \
    /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;
as well as URLs for NNTP newsgroup(s).