From Earlham CS Department
Jump to navigation Jump to search

Configuring RedBoot for NFS booting


  • 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:
  • file "ifcfg-eth0" to:
  • and file "network_cfg" to:
### Technologic Systems
General Network Configuration File
       HOSTNAME="desired name"

Then Do the following:

1. Boot the board and press Ctrl+C

  • NB: if this doesn't work, check minicom and make sure that both hardware and software flow control are off

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:
Local IP address:
Local IP address mask:
Default server IP address:
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
  • I would strongly suggest that you write/save the default configurations somewhere.

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 vmlinux

6. Edit the next line to:

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

e.g. Booting pmp3 from stewie

>> exec -c "console=ttyAM0,115200 ip=dhcp nfsroot="

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 now mount root from the host and path specified in RedBoot.

RedBoot> reset
... Resetting.

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