Changes between Initial Version and Version 1 of InstallationNotes


Ignore:
Timestamp:
Jan 21, 2010, 10:10:28 AM (14 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationNotes

    v1 v1  
     1
     2MutekH is a flexible kernel, with most configuration tweaks resolved at
     3compile time. Therefore, it can only be distributed as source. There is
     4no library building involved.
     5
     6Somes pages of this wiki refer to specific versions of the MutekH source
     7tree. This is intended. Here, we'll provide general installation notes,
     8therefore, we'll never use an explicit revision.
     9
     10= Prerequisites to build MutekH =
     11
     12== For a Linux host (as a process) ==
     13
     14In order to compile MutekH as a process, like described in QuickStartUnix,
     15you only need a working GCC and the header files for your libc. Please
     16refer to your distribution manual to know more about this.
     17
     18== For SoCLib and other embedded platforms ==
     19
     20For embedded platforms, you'll need:
     21 * a working cross-compiler for your target architecture; you may either
     22   follow soclib:InstallationNotes, or use [source:trunk/mutekh/tools/crossgen.mk@1269 tools/crossgen.mk], see below
     23 * `dtc`, an utility to handle [FlattenedDeviceTree device trees], available at http://git.jdl.com/software/.
     24
     25
     26= Getting MutekH =
     27
     28This is a simple svn checkout. Pay attention there are some subversion
     29clients that cannot handle [http://svnbook.red-bean.com/en/1.0/ch07s03.html svn:externals]
     30feature. In doubt, a vanilla svn client is recommended.
     31
     32{{{
     33svn co https://www.mutekh.org/svn/mutekh/trunk/mutekh
     34}}}
     35
     36If you need an explicit revision, simply add {{{-r number}}} to the command
     37line:
     38
     39{{{
     40svn co -r 1234 https://www.mutekh.org/svn/mutekh/trunk/mutekh
     41}}}
     42
     43
     44= Building cross-compilers =
     45
     46SoCLib installation nodes already provides a way to get cross-compilers,
     47if you don't already have them, MutekH holds a tool
     48to build a complete cross-compilation toolchain:
     49
     50The script is in [source:trunk/mutekh/tools/crossgen.mk tools/crossgen.mk].
     51
     52There is an inline help:
     53{{{
     54 $ tools/crossgen.mk
     55[prints some help]
     56}}}
     57
     58You can try a line like this one to get a Mips cross-compiler:
     59{{{
     60 $ tools/crossgen.mk all TARGET=mipsel-unknown-elf
     61}}}