HIP:TS-7000:redboot

From Earlham Cluster Department

(Difference between revisions)
Jump to: navigation, search
(Then Do the following:)
(Configuring RedBoot for NFS booting)
Line 1: Line 1:
== Configuring RedBoot for NFS booting ==
== Configuring RedBoot for NFS booting ==
=== Note: ===
=== Note: ===
-
* If using minicom as your terminal emulator, make sure both hardware and software control are disabled...
+
* If using minicom as your terminal emulator, make sure both hardware and software flow controls are disabled...
* Boot the TS board normally, and then in /etc/sysconfig, edit these two files:
* Boot the TS board normally, and then in /etc/sysconfig, edit these two files:

Revision as of 15:22, 24 May 2007

Configuring RedBoot for NFS booting

Note:

DEVICE=eth0
#IPADDR=192.168.0.50
#NETMASK=255.255.255.0
#NETWORK=192.168.0.0
#BROADCAST=192.168.0.255
BOOTPROTO=static
#BOOTPROTO=dhcp
ENABLE=yes
### Technologic Systems
General Network Configuration File
###
       NETWORKING=yes
       GATEWAY=192.168.0.1
       GW_DEV=eth0
       HOSTNAME="desired name"
       BOOTPROTO=dhcp
       DEFRAG_IPV4=no
       FORWARD_IPV4=no

Then Do the following:

1. Boot the board and press Ctrl+C

2. This should drop you into the RedBoot command line

3. "ifconfig -l" should display the current configurations, eg

RedBoot> fconfig -l
Run script at boot: true
Boot script: 
.. fis load vmlinux
.. exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"
Boot script timeout (100ms resolution): 1
Use BOOTP for network configuration: false
Gateway IP address: 192.168.0.11
Local IP address: 192.168.0.50
Local IP address mask: 255.255.255.0
Default server IP address: 192.168.0.11
Network hardware address [MAC]: 0x0F:0x0F:0x0F:0x0F:0x0F:0x0F
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false

4. "ifconfig" allows you to edit the bootscript that RedBoot executes at boot time.

5. Leave the first line as it is, by hitting return.

>> fis load vlinux

6. Edit the next line to:

>> exec -c "console=ttyAM0,115200 ip=dhcp nfsroot=[HOST IP]:[root path on host]"

7. Terminate script with a blank line:

>>

8. At this point, RedBoot will prompt for some values interactively, I would suggest you increase the "Boot script timeout" to some larger value like 10 (1s), this will give you more time to interrupt RedBoot using the Ctrl+C command.

9. Leave all other values as they are, unless if you really want to change them.

10. The final prompt will ask you to save the changes you made by entering y/n.

11. Reboot the board, it should mount root from the host and path specified in RedBoot.

12. If you experience boot errors, check your host configurations and NFS server configurations.

Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox