Difference between revisions of "Niagra 804: Initial Bootup"
Jump to navigation
Jump to search
| Line 33: | Line 33: | ||
bootoctlinux 0 coremask=f #f = cores 0-3, 3ff = cores 0-9 | bootoctlinux 0 coremask=f #f = cores 0-3, 3ff = cores 0-9 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | |||
| + | |||
| + | == Setup Networking in BusyBox == | ||
| + | Setup the IP networking | ||
| + | <syntaxhighlight> | ||
| + | # grab the IP address from the output of dhcp above | ||
| + | ifconfig mgmt0 172.28.1.84 | ||
| + | route add default gw 172.28.0.1 mgmt0 | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | Setup the <tt>resolv.conf<tt> file | ||
| + | <syntaxhighlight> | ||
| + | # create the following file | ||
| + | /mnt/sda1 # cat /etc/resolv.conf | ||
| + | nameserver 172.28.0.2 | ||
| + | search pxe.boston.co.uk | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | After this you can use <tt>wget</tt> to pull files down from the tftp server or the web | ||
Revision as of 22:34, 19 March 2014
Basic boot up via PXE
Get an IP address by DHCP
Request an IP address by typing dhcp:
Octeon cust_n804# dhcp
BOOTP broadcast 1
DHCP client bound to address 172.28.1.84
Octeon cust_n804#Specify a TFTP server
Specify the TFTP server by setting the serverip environment variable:
Octeon cust_n804# setenv server ip 172.28.0.2Identify the boot image to pull down
TFTP down the boot image file:
Octeon cust_n804# tftp 0 /images/im_niagra804/vmlinux_n804.bin
Using octmgmt0 device
TFTP from server 172.28.0.2; our IP address is 172.28.1.84
Filename '/images/im_niagra804/vmlinux_n804.bin'.
Load address: 0x20000000
Loading: #################################################
done
Bytes transferred = 33838432 (2045560 hex)Boot the system
bootoctlinux 0 coremask=f #f = cores 0-3, 3ff = cores 0-9
Setup Networking in BusyBox
Setup the IP networking
# grab the IP address from the output of dhcp above
ifconfig mgmt0 172.28.1.84
route add default gw 172.28.0.1 mgmt0Setup the resolv.conf file
# create the following file
/mnt/sda1 # cat /etc/resolv.conf
nameserver 172.28.0.2
search pxe.boston.co.ukAfter this you can use wget to pull files down from the tftp server or the web