<p dir="ltr">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.</p>
<p dir="ltr">Open Firmware is not something IBM support is too savvy on.</p>
<p dir="ltr">Alec<br>
</p>
<div class="gmail_quote">On Jun 10, 2016 1:14 PM, "Mitch Bradley" <<a href="mailto:wmb@firmworks.com">wmb@firmworks.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What exactly is "AIX Open Boot"?  Open Firmware implementations are<br>
usually tied to a specific hardware platform and not to an operating<br>
system.  Over the years, several different Open Firmware<br>
implementations, including the FirmWorks implementation (which is what<br>
James is calling "Open Firmware") and I believe multiple different ones<br>
from various groups in IBM, have been able to boot AIX.<br>
<br>
Unless you know which implementation is present, it is hard to say what<br>
optional features that implementation might support.<br>
<br>
Some, perhaps most, of the IBM Open Firmware implementations, were<br>
derived from an early version of Apple's Open Firmware.  That early<br>
version was lacking some interactive features, which made it more<br>
difficult to modify than the FirmWorks OFW of the same time period, but<br>
I think that, over time, the IBM implementations got better.<br>
<br>
"Out of the box", the FirmWorks Open Firmware only supports the default<br>
TFTP blocksize, but I remember hacking it to support larger blocks for a<br>
specific need.  The details of what I did elude me, but I don't think it<br>
was a difficult change.<br>
<br>
On 6/9/2016 10:22 PM, James Cameron wrote:<br>
> Yes, Open Firmware can do HTTP;<br>
><br>
>     ok boot http:\\server\path<br>
><br>
> but my tests of these are usually DHCP mediated rather than BOOTP and<br>
> three years ago; I don't remember doing it with BOOTP.<br>
><br>
> NFS is also possible on Open Firmware;<br>
><br>
>     ok boot nfs:\\server\path<br>
><br>
> When using HTTP or NFS in Open Firmware change "/" to "\" everywhere<br>
> in a URL, since "/" has a meaning in the device tree parsing.<br>
><br>
> And again; no idea about AIX open boot.<br>
><br>
> If you can get to the prompt, try it manually, with a prepared file<br>
> offered by HTTP.<br>
><br>
> cat >> test << EOF<br>
> \ test<br>
> ." test" cr<br>
> EOF<br>
><br>
> cp ... # to http server document root<br>
><br>
> ...<br>
><br>
>     ok boot http:\\server\path\test<br>
><br>
> On Fri, Jun 10, 2016 at 12:41:51AM -0700, Alec wrote:<br>
>> Thank you for sharing this, definitely looks like the blksize isn't variable<br>
>> here.  Next would be to see if AIX open boot supports the http interface for<br>
>> receiving the boot image.<br>
>> I will try modifying the /etc/bootptab to define the tftp filename as a URL and<br>
>> see if that works.  Let me know if at the surface if the below bootp config<br>
>> should cause Open Firmware to retrieve the file over http, if IBM Open Firmware<br>
>> supports http...<br>
>><br>
>> eg. (using data from [1]here)<br>
>> # modify /etc/bootptab to insert "[2]<a href="http://50.21.100.48" rel="noreferrer" target="_blank">http://50.21.100.48</a>"<br>
>> aix21.domain.com:bf=[3]<a href="http://50.21.100.48/tftpboot/aix21.domain.com:ip=" rel="noreferrer" target="_blank">http://50.21.100.48/tftpboot/aix21.domain.com:ip=</a><br>
>> 10.200.50.56:ht=ethernet:sa=50.20.100.48:gw=10.200.50.1:sm=[4]<a href="http://255.255.255.0" rel="noreferrer" target="_blank">255.255.255.0</a>:<br>
>><br>
>> Hope that works tomorrow, otherwise time to build out a new NIM service.<br>
>><br>
>> Alec<br>
>><br>
>> On Thu, Jun 9, 2016 at 7:37 PM, James Cameron <[5]<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br>
>><br>
>>     I don't have the source for AIX open boot, but in Open Firmware the<br>
>>     TFTP implementation is without block size support.<br>
>><br>
>>     References:<br>
>><br>
>>     1.<br>
>>     [6]<a href="https://code.coreboot.org/p/openfirmware/source/tree/HEAD/ofw/inet/" rel="noreferrer" target="_blank">https://code.coreboot.org/p/openfirmware/source/tree/HEAD/ofw/inet/</a><br>
>>     tftp.fth<br>
>><br>
>>     2.<br>
>>     [7]<a href="https://tools.ietf.org/html/rfc2348" rel="noreferrer" target="_blank">https://tools.ietf.org/html/rfc2348</a> "blksize"<br>
>><br>
>>     On Thu, Jun 09, 2016 at 06:20:13PM -0700, Alec wrote:<br>
>>     > I am attempting to do an IBM NIM install across a 20ms latency.<br>
>>     ><br>
>>     > Is there an ability to kick off the network boot on AIX open boot with a<br>
>>     block<br>
>>     > size option for tftp from the ok? Prompt?<br>
>>     ><br>
>>     > Forgive me if this is not an appropriate place for this.<br>
>>     ><br>
>>     > Alec<br>
>><br>
>>     --<br>
>>     James Cameron<br>
>>     [8]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
>><br>
>> References:<br>
>><br>
>> [1] <a href="http://aix4admins.blogspot.com/2013/07/bootpd-this-is-initial-communication.html" rel="noreferrer" target="_blank">http://aix4admins.blogspot.com/2013/07/bootpd-this-is-initial-communication.html</a><br>
>> [2] <a href="http://50.21.100.48/" rel="noreferrer" target="_blank">http://50.21.100.48/</a><br>
>> [3] <a href="http://50.21.100.48/" rel="noreferrer" target="_blank">http://50.21.100.48/</a><br>
>> [4] <a href="http://255.255.255.0/" rel="noreferrer" target="_blank">http://255.255.255.0/</a><br>
>> [5] mailto:<a href="mailto:quozl@laptop.org">quozl@laptop.org</a><br>
>> [6] <a href="https://code.coreboot.org/p/openfirmware/source/tree/HEAD/ofw/inet/tftp.fth" rel="noreferrer" target="_blank">https://code.coreboot.org/p/openfirmware/source/tree/HEAD/ofw/inet/tftp.fth</a><br>
>> [7] <a href="https://tools.ietf.org/html/rfc2348" rel="noreferrer" target="_blank">https://tools.ietf.org/html/rfc2348</a><br>
>> [8] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
><br>
</blockquote></div>