Changes between Version 7 and Version 8 of Arch/Soclib/Tutorial
- Timestamp:
- Mar 24, 2010, 11:21:08 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Arch/Soclib/Tutorial
v7 v8 34 34 35 35 Even if it is available in newer revisions, this tutorial has been tested 36 and is expected to work well at revision 148 8,36 and is expected to work well at revision 1489, 37 37 please try with this one if you have troubles with the last revision. 38 38 39 39 {{{ 40 svn co -r 148 8https://www.mutekh.org/svn/mutekh/trunk/mutekh40 svn co -r 1489 https://www.mutekh.org/svn/mutekh/trunk/mutekh 41 41 }}} 42 42 43 43 === Writing the example source code === 44 44 45 Note: This example is available directly from [source:trunk/mutekh/examples/hello@148 8examples/hello] directory in source tree.45 Note: This example is available directly from [source:trunk/mutekh/examples/hello@1489 examples/hello] directory in source tree. 46 46 47 47 * Writing the source code in `hello.c` … … 80 80 The MutekH configuration for the hello application is in the [source:trunk/mutekh/examples/hello/config examples/hello/config] file. 81 81 82 This file only holds information about the application (here a simple pthread application) and relies upon files in the [source:trunk/mutekh/examples/common@148 8examples/common] directory for the platform definitions.82 This file only holds information about the application (here a simple pthread application) and relies upon files in the [source:trunk/mutekh/examples/common@1489 examples/common] directory for the platform definitions. 83 83 84 84 Have a look to the BuildSystem page for more information about configuration system and configuration file format. … … 88 88 === Platform description === 89 89 90 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@148 8examples/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.90 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@1489 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. 91 91 92 The build system also compiles the correct FlattenedDeviceTree from the platform name, see [source:trunk/mutekh/examples/common/Makefile@148 8examples/common/Makefile].92 The build system also compiles the correct FlattenedDeviceTree from the platform name, see [source:trunk/mutekh/examples/common/Makefile@1489 examples/common/Makefile]. 93 93 94 94 The used FlattenedDeviceTree source file are in 95 [source:trunk/mutekh/examples/common/@148 8examples/common/]:96 [source:trunk/mutekh/examples/common/pf_soclib_tutorial_arm.dts@148 8pf_soclib_tutorial_arm.dts].95 [source:trunk/mutekh/examples/common/@1489 examples/common/]: 96 [source:trunk/mutekh/examples/common/pf_soclib_tutorial_arm.dts@1489 pf_soclib_tutorial_arm.dts]. 97 97 98 98 === Configuring and compiling the application along with MutekH ===