This is an old revision of the document!


Build the Linux Kernel

To buld a new kernel, source for the kernel and build tools needs to be obtained. These sources are available from a number of places. The sources for the individual packages are available from ftp://ftp.dlink.com/GPL/dsmg600_reB/ . The sources are also available at http://tsd.dlink.com.tw/GPL.asp as a single file containing all the released sources, though you need do a little navigation to get them.

If getting the individual sources, you need ppclinux.tar.gz, u-boot.tar.gz and uclibc-toolchain-src-20040609.tar.gz.

Build Toolchain

The Linux 2.4.21-pre4 kernel provided by D-Link requires gcc version 2.95 as opposed to the gcc version 3.x used by the rest of the system, so even if you have built the toolchain for building utilities you will need to build gcc2.95.

In a directory containing the source tarfiles:

tar xzvf uclibc-toolchain-src-20040609.tar.gz
cd uclibc-toolchain-src-20040609/gcc-2.95

Apply the patch gcc-2.95-make.patch


Personal Tools