...
In order to use the tftp server your ethernet wall connection MUST be on the lclsdev subnet (ie 134.79.219.xxx) or the lclsdmz subnet (ie 134.79.151.xxx). Note that the "xxx" needs to be replaced with the correct value from your own address. If your ethernet wall connection is NOT on the lclsdev or lclsdmz subnet then you can load the flash in your cpu from another configured cpu (of the same model). This is done by copying the flash in the configured cpu over the VME backplane to the cpu you intend to flash. Instructions on how to perform this operation can be found by clicking here.
ServerSubnet | Server | Gateway | RTEMS Image |
Development | lclsdmz | lcls- |
---|
dev3272196240712/powerpc-rtems/beatnik/img/netboot.flashimg.bin |
Productionlclscalclsioc | lcls-srv04 172.27.8.28 | 172.27.8.1 | /rtems/rtems-4. |
712/target/ssrlApps/powerpc-rtems/beatnik/img/netboot.flashimg.bin |
|
FACET | facetca | lcls-srv04 172.27.8.28
| 172.27.72.1 | /rtems/rtems-4.10.2/target/ssrlApps/powerpc-rtems/beatnik/img/netboot.flashimg.bin |
The "-s" parameter allows us to specify the server address. For the lclsdev The "-s" parameter allows us to specify the server address. For the lclsdev subnet, it is 134.79.219.12, the address of the lcls-dev2 server. For the lclsdmz subnet, it is 134.79.155.219.12, the address of the lcls-dev2 server. For the lclsdmz subnet, it is 134.79.155.15, the address of the mccdev VMS server. The "-m" parameter indicates a netmask to use to access the server.
Finally, the "-f" parameter indicates the name of the file (under /tftpboot on lcls-dev, elsewhere on mccdev) containing the sequence of values to be loaded into memory.
Panel |
---|
MVME6100>tftpGet -c<cpu_ip> -s1<servers<tftp server_ip> -g<gateway_ip> -m255.255.252.0 -f<rtems_flash_image> Network Loading from: /dev/enet0 Loading File: mv6100/netboot-mve.flashimg.bin Load Address: 005C3000 Client IP Address = <cpu_ip> Server IP Address = <server_ip> Gateway IP Address = <gateway_ip> Subnet IP Address Mask = 255.255.252.0 Network File Load in Progress... Bytes Received =&614736, Bytes Loaded =&614736 Bytes/Second =&204912, Elapsed Time =3 Second(s) MVME6100> |
For the mvme6100 processor, the command is identical. The same version of the NetBoot program is downloaded, although the output on the screen will be slightly different.
At this point, we'll disable the network activity on all adapters, to ensure nothing interrupts us while we copy the image to flash memory. This is not essential, because it is not likely that any network activity would have an effect on the system at this point.
Example:
MVME6100> tftpGet -c134.79.219.146 -s134.79.219.136 -g132.79.219.1 -m255.255.252.0 -f/rtems/4.10.2/powerpc-rtems/beatnik/img/netboot.flashimg.bin
Network Loading from: /dev/enet0
Loading File: /rtems/4.10.2/powerpc-rtems/beatnik/img/netboot.flashimg.bin
Load Address: 006B7000
Download Buffer Size = 00200000
Client IP Address = 134.79.219.146
Server IP Address = 134.79.219.136
Gateway IP Address = 132.79.219.1
Subnet IP Address Mask = 255.255.252.0
Network File Load in Progress...
Bytes Received =&824776, Bytes Loaded =&824776
Bytes/Second =&824776, Elapsed Time =1 Second(s)
MVME6100>
Panel |
---|
MVME6100> netShut /dev/enet0 Disabled /dev/enet1 Disabled MVME6100> |
...