Changes between Version 17 and Version 18 of QuickStartSoclib
- Timestamp:
- Nov 14, 2009, 10:00:15 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuickStartSoclib
v17 v18 174 174 == Getting the cross-compilers == 175 175 176 You can rely on the {{{tools/crossgen.mk}}} script which comes along with MutekH to build some GNU cross- compilers:176 You can rely on the {{{tools/crossgen.mk}}} script which comes along with MutekH to build some GNU cross-toolchains: 177 177 {{{ 178 178 $ tools/crossgen.mk … … 180 180 }}} 181 181 182 == Configuration de MutekH==182 == MutekH Configuration == 183 183 184 184 Note: This example is readily available in the `examples/hello` directory in the MutekH source tree. … … 227 227 228 228 You may have noticed the processor definition change: 229 we are now building for a 4 little-endian Mips processor platform.229 we are now building for a 4 little-endian Mips processors platform. 230 230 231 231 Have a look to the BuildSystem page for more information about configuration system. … … 233 233 == Platform description == 234 234 235 As this hardware platform use now hardware enumeration (plug and play), the `CONFIG_ARCH_DEVICE_TREE` 236 token in the configuration file let the kernel get the platform layout description from a 237 FlattenedDeviceTree which will be built-in. 238 239 We have to provided the platform description FlattenedDeviceTree and add it to the Makefile to have it compiled in. 235 This hardware platform uses now hardware enumeration (plug and play), so the `CONFIG_ARCH_DEVICE_TREE` token is defined in the configuration file. It will let the kernel get the platform layout description from a FlattenedDeviceTree which will be built-in. 236 237 Therefore, we have to provide the platform description FlattenedDeviceTree and add it to the Makefile to have it compiled in. 240 238 The `hello/Makefile` file must contain: 241 239 … … 244 242 }}} 245 243 246 The actualFlattenedDeviceTree source file `platform-mips.dts` contains:244 The current FlattenedDeviceTree source file `platform-mips.dts` contains: 247 245 248 246 {{{ … … 333 331 == Compiling the application along with MutekH == 334 332 335 The MutekH kernel and th application may be built out of the source tree.333 The MutekH kernel and the application may be built out of the source tree. 336 334 337 335 Change to the SoCLib platform directory and apply the following steps to experiment … … 350 348 }}} 351 349 352 This will build the MutekH kernel al long with the application.350 This will build the MutekH kernel along with the application. 353 351 You can still build MutekH separately as explained in the first part. The simulator can then be built using: 354 352 … … 360 358 == Execution == 361 359 362 The simulator needs the MutekH executable file name and the processor type and count:360 The simulator needs the MutekH executable file name and the processor type and the number of processors of this type: 363 361 {{{ 364 362 $ ./system.x mutekh/kernel-soclib-mips.out:mips32:4