Frequently Asked Questions

Q: Sweet, there is a new build, how do I update my NFS system

Assuming that target-2.0.1.11.tar.bz2 is your target tarball:

$ mkdir ~/targets/target.2.0.1.11/; cd ~/targets/target.2.0.1.11/
$ tar xvfj /home/services/tftpboot/v2.0.1.11/target-2.0.1.11.tar.bz2
$ cp ~/targets/my.old.nfs.build/root/ppcstream/stream.cfg root/ppcstream/stream.cfg

The stream.cfg is a file that contains the contents of the Flash configuration (to avoid writing to flash for debugging). Add the following line in /etc/exports

/users/firmware/`whoami`/targets/target.2.0.1.11/ *(rw,no_root_squash,no_all_squash,async)

and edit the dhcp.conf file in /etc/ so that your board (MAC address) points to this new directory:

group {
  host svc.01{
         hardware ethernet 00:04:a5:04:05:53;
         fixed-address 10.0.0.51;
         option root-path "/users/firmware/mleeman/targets/target.3.0.0.4";
  }
# More boards
}

Finally, restart the appropriate servers

# /etc/init.d/nfs-kernel-server restart
# /etc/init.d/dchp restart

The command which are executed during the build can be found in the file debug_command.log located in the build directory. Check this file for more information. The system is explained in more explained in ["NFSSystem"].

Q: Why does it not work?

Information saying "it does not work" is no information at all. In any case, you should try to be as precise in your information as you can. In order to have a timely fix for your problem, the following When reporting bugs, the following needs to be checked

$ ping 10.0.0.52
c:\windows> ping -n 1000 10.0.0.52

$ telnet 10.0.0.52

/var/log/

Finally, submit this information to a Bug Tracking System if available.

Q: Where do I get the kernel source for platform X

[http://www.kernel.org]

You just make and configure as you used to, just add the correct CROSS_COMPILATION prefix if you are not developing on the same architecutre as your target:

$ make ARCH=ppc CROSS_COMPILE=powerpc-linux-uclibc- oldconfig
$ make ARCH=ppc CROSS_COMPILE=powerpc-linux-uclibc- dep
$ make ARCH=ppc CROSS_COMPILE=powerpc-linux-uclibc-