summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.INSTALL50
1 files changed, 28 insertions, 22 deletions
diff --git a/README.INSTALL b/README.INSTALL
index cddff0e..f9727c2 100644
--- a/README.INSTALL
+++ b/README.INSTALL
@@ -157,23 +157,19 @@ NAME DESCRIPTION [BINDING,]DEFAULT(*)
157--enable-x86-tsc Enable x86 TSC for timings strong,enabled 157--enable-x86-tsc Enable x86 TSC for timings strong,enabled
158 You must have TSC for this. 158 You must have TSC for this.
159 159
160--enable-arm-mach Select ARM machine for the none 160--enable-arm-tsc Enable ARM TSC emulation weak,kuser
161 current build tree, check 161 In the unusual situation where
162 configure --help for a list 162 Xenomai kernel support for the
163 of valid values. 163 target SOC does not support
164 Passing this option is 164 the kuser generic emulation,
165 mandatory when compiling 165 pass this option to use another
166 Xenomai for ARM 166 tsc emulation.
167 167 See --help for a list of valid
168--enable-arm-arch Define version of the target strong,"4" 168 values.
169 ARM core architecture. Using 169
170 this option is only necessary 170--enable-arm-quirks Enable quirks for specific ARM weak,disabled
171 if enable-arm-mach is 171 SOCs Currently sa1100 and
172 integrator. 172 xscale3 are supported.
173
174--enable-arm-eabi Enable ARM EABI interface weak,disabled
175
176--enable-arm-tsc Enable ARM TSC emulation strong,enabled
177 173
178(*) Each option enabled by default can be forcibly disabled by passing 174(*) Each option enabled by default can be forcibly disabled by passing
179--disable-<option> to the configure script. 175--disable-<option> to the configure script.
@@ -375,20 +371,30 @@ the last two build steps, passing the --disable-shared option to the
3752.4 Building for ARM 3712.4 Building for ARM
376-------------------- 372--------------------
377 373
378If the ARM cross-compiler is called arm-linux-gcc and compiling for a 374Using codesourcery toolchain named arm-none-linux-gnueabi-gcc and
379CSB637 board (AT91RM9200 based), a typical compilation will look like: 375compiling for a CSB637 board (AT91RM9200 based), a typical compilation
376will look like:
380 377
381$ $xenomai_root/scripts/prepare-kernel.sh --arch=arm \ 378$ $xenomai_root/scripts/prepare-kernel.sh --arch=arm \
382 --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-* \ 379 --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-* \
383 --linux=$linux_tree 380 --linux=$linux_tree
384$ cd $linux_tree 381$ cd $linux_tree
385$ make ARCH=arm CROSS_COMPILE=arm-linux- O=$build_root csb637_defconfig 382$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=$build_root \
386$ make ARCH=arm CROSS_COMPILE=arm-linux- O=$build_root bzImage modules 383 csb637_defconfig
384$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-- O=$build_root \
385 bzImage modules
387# [manually install the kernel image, system map and modules to the proper location] 386# [manually install the kernel image, system map and modules to the proper location]
388$ cd $build_root 387$ cd $build_root
389$ $xenomai_root/configure --build=i686-pc-linux-gnu --host=arm-linux --enable-arm-mach=at91rm9200 --enable-arm-tsc 388$ $xenomai_root/configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" \
389 --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi-
390$ make DESTDIR=$staging_dir install 390$ make DESTDIR=$staging_dir install
391 391
392NOTE: Contrarily to previous releases, Xenomai no longer passes any
393arm architecture specific flags, or FPU flags to gcc, so, users
394are expected to pass them using the CFLAGS and LDFLAGS variables as
395demonstrated above, where the AT91RM9200 is based on the ARM920T core,
396and so is an armv4t architecture.
397
3922.5 Building for NIOS II 3982.5 Building for NIOS II
393-------------------- 399--------------------
394 400
Mirror
http://xenomai.org/mirroring-xenomai-git-repositories-with-grokmirror/