HOWTO build a kernel on a DECStation |
See my Installation HOWTO for instructions on building a working linux system on a DECStation.
binutils-2.11.92.0.10-1 | |
cpp-2.96-99.1 | |
findutils-4.1.6-2.1 | |
gcc-2.96-99.1 | |
glibc-devel-2.2.4-19.4 | Depends on kernel-headers, use --nodeps to install. |
make-3.79.1-5.1 | |
ncurses-devel-5.2-8.1 | Only needed for 'make menuconfig'. Depends on 'perl', use --nodeps to install. |
Change to a directory where the source tree should be created (it will be in the subdirectory 'linux').
$ cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs
login
(Only needed the first time you use anonymous
CVS, the password is "cvs")
$ cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs co -r linux_2_4 linux
Note we checkout the 2.4 kernel tree. The default is 2.5. Now you'll have to copy this tree over to the DECStation's file system.
Before you run make menuconfig, you must clean up all intel binaries in the scripts and scripts/lxdialog subdirectories. These are not removed by a 'make clean', and will fail your make (this is only needed in case you copied the source tree from a cross-development system).
Select support for DECStations, and select the correct CPU type for your station. Don't forget to unselect the crosscompiler in the Kernel-Hacking section.
Now run 'make dep; make clean; make boot', and take a long break. This step takes about 2 hours on my 5000/260, but it may a lot more on smaller systems.
Reboot your DECStation.
|
|
|