[openfirmware] TFTP Block Size setting?
James Cameron
quozl at laptop.org
Fri Jun 10 10:22:49 CEST 2016
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
EOF
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]http://50.21.100.48"
> aix21.domain.com:bf=[3]http://50.21.100.48/tftpboot/aix21.domain.com:ip=
> 10.200.50.56:ht=ethernet:sa=50.20.100.48:gw=10.200.50.1:sm=[4]255.255.255.0:
>
> 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]quozl at laptop.org> 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]https://code.coreboot.org/p/openfirmware/source/tree/HEAD/ofw/inet/
> tftp.fth
>
> 2.
> [7]https://tools.ietf.org/html/rfc2348 "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]http://quozl.netrek.org/
>
> References:
>
> [1] http://aix4admins.blogspot.com/2013/07/bootpd-this-is-initial-communication.html
> [2] http://50.21.100.48/
> [3] http://50.21.100.48/
> [4] http://255.255.255.0/
> [5] mailto:quozl at laptop.org
> [6] https://code.coreboot.org/p/openfirmware/source/tree/HEAD/ofw/inet/tftp.fth
> [7] https://tools.ietf.org/html/rfc2348
> [8] http://quozl.netrek.org/
--
James Cameron
http://quozl.netrek.org/
More information about the openfirmware
mailing list