[PATCH] Fix netboot on POWER5

Tony Breeds tony at bakeyournoodle.com
Wed Oct 19 11:30:44 EST 2011


On Wed, Oct 19, 2011 at 08:52:41AM +1100, Anton Blanchard wrote:
> 
> We weren't specifying any network parameters on POWER5 so firmware
> would BOOTP for everything when we asked it to load a file. This fails
> on a network without a local BOOTP server.
> 
> This patch fixes the issue by adding the parameters that the POWER5
> tftp package understands. Thanks to Tony for the idea.

It's hardly a new idea  commit a9e02f948a7e3f8ada87e07a0c1a382805ad15c6
is more or less the inverse of this patch.  It was introduced to make
some POWER5 systems work.

So we're flip flopping between 2 implemnations. It looks like we have 3
clases of pSeries

1) Really old/lame that fail when given any IP options to the open call
2) old that can cope with IP options but none of the *_retries options
3) New that take all manner of options.

We can distinguish between 2 and 3 by looking at /packages/cas we just
need to find the check that tells us is we have 1 or 2.

I'll see if I can find any power5 systems that are type 1.

Yours Tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20111019/584bf162/attachment.pgp>


More information about the Yaboot-devel mailing list