From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4B4CA076.1050205@domain.hid> Date: Tue, 12 Jan 2010 17:16:54 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <001101ca930a$1052fa70$30f8ef50$@kalatchev@domain.hid> <4B4BADDD.7070900@domain.hid> <001f01ca9390$5fa20db0$1ee62910$@kalatchev@domain.hid> <4B4C84AC.3020207@domain.hid> <002001ca9399$99b07c40$cd1174c0$@kalatchev@domain.hid> <4B4C96D5.7060902@domain.hid> <002101ca93a1$a39d4050$ead7c0f0$@kalatchev@domain.hid> In-Reply-To: <002101ca93a1$a39d4050$ead7c0f0$@kalatchev@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Viper board (ARM XScale) problems with Xenomai-2.4.10 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ivan Kalatchev Cc: 'Xenomai help' Ivan Kalatchev wrote: >> Ok, what version of gcc/binutils ? You can workaround this build >> issue, by using the generic implementation of xnarch_nodiv_llimd. >> In incldude/asm-arm/arith.h, replace >> >> #if __LINUX_ARM_ARCH >= 4 with #if __LINUX_ARM_ARCH >= 4 && >> __GNUC__ >= 4 >> > > > my gcc is 3.3.4 > > I changed arith.h as you suggested, and it compiled, but then linker > couldn't find rthal_arm_nodiv_ullimd definition, as there is no code > for it for __GNUC__ < 4. Ok, you need to change the other #ifdef a bit further. > > >> Please try what I told you: replacing handle_irq with >> __ipipe_handle_irq > > I need CPLD MUX interrupts (which are ISA interrupts in my case) to > be real-time. How that should be done then - request real-time CPLD > interrupt with empty handler and request each ISA interrupt as > real-time handler as well? No, just requet the ISA interrupt you want to use. Do not touch the mux interrupts parent. This should work transparently. -- Gilles Chanteperdrix, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com