Sorry I'm dealing with IBM pSeries p8 generation hardware.  I'm not sure how to tell what version or origin of Open Firmware I have.  They focus on their SMS management ui more than the ok? prompt.  Sorry I can't provide more details.  To be honest I'm hoping to find a way to do what I need, and willing to do a small amount of trial and error to get there.

Open Firmware is not something IBM support is too savvy on.


On Jun 10, 2016 1:14 PM, "Mitch Bradley" <> wrote:
What exactly is "AIX Open Boot"?  Open Firmware implementations are
usually tied to a specific hardware platform and not to an operating
system.  Over the years, several different Open Firmware
implementations, including the FirmWorks implementation (which is what
James is calling "Open Firmware") and I believe multiple different ones
from various groups in IBM, have been able to boot AIX.

Unless you know which implementation is present, it is hard to say what
optional features that implementation might support.

Some, perhaps most, of the IBM Open Firmware implementations, were
derived from an early version of Apple's Open Firmware.  That early
version was lacking some interactive features, which made it more
difficult to modify than the FirmWorks OFW of the same time period, but
I think that, over time, the IBM implementations got better.

"Out of the box", the FirmWorks Open Firmware only supports the default
TFTP blocksize, but I remember hacking it to support larger blocks for a
specific need.  The details of what I did elude me, but I don't think it
was a difficult change.

On 6/9/2016 10:22 PM, James Cameron wrote:
> Yes, Open Firmware can do HTTP;
>     ok boot http:\\server\path
> but my tests of these are usually DHCP mediated rather than BOOTP and
> three years ago; I don't remember doing it with BOOTP.
> NFS is also possible on Open Firmware;
>     ok boot nfs:\\server\path
> When using HTTP or NFS in Open Firmware change "/" to "\" everywhere
> in a URL, since "/" has a meaning in the device tree parsing.
> And again; no idea about AIX open boot.
> If you can get to the prompt, try it manually, with a prepared file
> offered by HTTP.
> cat >> test << EOF
> \ test
> ." test" cr
> cp ... # to http server document root
> ...
>     ok boot http:\\server\path\test
> On Fri, Jun 10, 2016 at 12:41:51AM -0700, Alec wrote:
>> Thank you for sharing this, definitely looks like the blksize isn't variable
>> here.  Next would be to see if AIX open boot supports the http interface for
>> receiving the boot image.
>> I will try modifying the /etc/bootptab to define the tftp filename as a URL and
>> see if that works.  Let me know if at the surface if the below bootp config
>> should cause Open Firmware to retrieve the file over http, if IBM Open Firmware
>> supports http...
>> eg. (using data from [1]here)
>> # modify /etc/bootptab to insert "[2]"
>> Hope that works tomorrow, otherwise time to build out a new NIM service.
>> Alec
>> On Thu, Jun 9, 2016 at 7:37 PM, James Cameron <[5]> wrote:
>>     I don't have the source for AIX open boot, but in Open Firmware the
>>     TFTP implementation is without block size support.
>>     References:
>>     1.
>>     [6]
>>     tftp.fth
>>     2.
>>     [7] "blksize"
>>     On Thu, Jun 09, 2016 at 06:20:13PM -0700, Alec wrote:
>>     > I am attempting to do an IBM NIM install across a 20ms latency.
>>     >
>>     > Is there an ability to kick off the network boot on AIX open boot with a
>>     block
>>     > size option for tftp from the ok? Prompt?
>>     >
>>     > Forgive me if this is not an appropriate place for this.
>>     >
>>     > Alec
>>     --
>>     James Cameron
>>     [8]
>> References:
>> [1]
>> [2]
>> [3]
>> [4]
>> [5]
>> [6]
>> [7]
>> [8]