Changes between Version 2 and Version 3 of Arch/Soclib/Tutorial
- Timestamp:
- Dec 22, 2009, 4:50:28 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Arch/Soclib/Tutorial
v2 v3 34 34 to build a complete cross-compilation toolchain: 35 35 36 The script is in [source:trunk/mutekh/tools/crossgen.mk@1 183tools/crossgen.mk]:36 The script is in [source:trunk/mutekh/tools/crossgen.mk@1269 tools/crossgen.mk]: 37 37 {{{ 38 38 $ tools/crossgen.mk … … 46 46 47 47 {{{ 48 svn co -r 1 183https://www-asim.lip6.fr/svn/mutekh/trunk/mutekh48 svn co -r 1269 https://www-asim.lip6.fr/svn/mutekh/trunk/mutekh 49 49 }}} 50 50 51 51 === Writing the example source code === 52 52 53 Note: This example is available directly from [source:trunk/mutekh/examples/hello@1 183examples/hello] directory in source tree.53 Note: This example is available directly from [source:trunk/mutekh/examples/hello@1269 examples/hello] directory in source tree. 54 54 55 55 * Writing the source code in `hello.c` … … 88 88 The MutekH configuration for the hello application is in the [source:trunk/mutekh/examples/hello/config examples/hello/config] file. 89 89 90 This file only holds information about the application (here a simple pthread application) and relies upon files in the [source:trunk/mutekh/examples/common@1 183examples/common] directory for the platform definitions.90 This file only holds information about the application (here a simple pthread application) and relies upon files in the [source:trunk/mutekh/examples/common@1269 examples/common] directory for the platform definitions. 91 91 92 92 Have a look to the BuildSystem page for more information about configuration system and configuration file format. … … 96 96 === Platform description === 97 97 98 The MutekH software uses hardware enumeration to get details about available hardware in the platform, so the `CONFIG_ARCH_DEVICE_TREE` token is defined in the [source:trunk/mutekh/examples/common/platforms-soclib.conf@1 183examples/common/platforms-soclib.conf] configuration file. It will let the kernel get the platform layout description from a FlattenedDeviceTree which will be built into the kernel.98 The MutekH software uses hardware enumeration to get details about available hardware in the platform, so the `CONFIG_ARCH_DEVICE_TREE` token is defined in the [source:trunk/mutekh/examples/common/platforms-soclib.conf@1269 examples/common/platforms-soclib.conf] configuration file. It will let the kernel get the platform layout description from a FlattenedDeviceTree which will be built into the kernel. 99 99 100 The build system also compiles the correct FlattenedDeviceTree from the platform name, see [source:trunk/mutekh/examples/common/Makefile@1 183examples/common/Makefile].100 The build system also compiles the correct FlattenedDeviceTree from the platform name, see [source:trunk/mutekh/examples/common/Makefile@1269 examples/common/Makefile]. 101 101 102 102 The used FlattenedDeviceTree source file are in