MMU for Leon project (16.12.2002-16.3.2003):
Programmer: Konrad Eisele [eiselekd@web.de]
Funding: Gaisler research (www.gaisler.com)
How to compile the kernel:
(I assume that you have sparc-leon-linux-xx cross compilation suite compiled and installed in yout $Path. [Instuction to build])
[back]
[download kernel]
[download patches]
(This doc is working on kernel linux-2.5.59. If you are using a
newer one replace the kernel name accordingly.)
Assuming that you are in a working directory [base] and
assuming you have the following files in subdir tarballs:
[base]/tarballs/linux-2.5.59.tar.gz
[base]/tarballs/linux-2.5.59-leon01.diff
do the following commands:
$cd [base]
$tar xzf tarballs/linux-2.5.59.tar.gz
$cp -al linux-2.5.59 linux-2.5.59-patch
$cat tarballs/linux-2.5.59-leon01.diff | patch -d linux-2.5.59-patch -p1
$find . -type f| xargs chmod a-w
$cd [base]/linux-2.5.59-patch
$alias lmk='make ARCH=sparc CROSS_COMPILE=sparc-leon-linux- '
$lmk tsim_config
$lmk tsimImage