From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52CD132C.6030609@xenomai.org> Date: Wed, 08 Jan 2014 09:58:20 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <44lhyrmuw9.fsf@be-well.ilk.org> <52CC7D71.4040703@steinkuehler.net> <52CC83F1.40000@xenomai.org> <52CC85C5.4060703@steinkuehler.net> <52CC8A18.2020807@xenomai.org> <52CCA101.2040604@steinkuehler.net> <52CCCE4F.4050304@steinkuehler.net> In-Reply-To: <52CCCE4F.4050304@steinkuehler.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Altera Cyclone V List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Charles Steinkuehler Cc: xenomai@xenomai.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/08/2014 05:04 AM, Charles Steinkuehler wrote: > On 1/7/2014 6:51 PM, Charles Steinkuehler wrote: >> >> Thanks for the details! My to-do list just got longer... :) >> >> I'll do some testing (on the BeagleBone) and post the results, >> but it might take a couple of days. > > I did a quick check with the BeagleBone kernels I've already built > (no IPipe debugging) and I'm getting much better results than the > last time I tested. Typical latency is around 20 uS, and worst > case is about 45 uS (although I obviously didn't run overnight!). > > I've got about half of the suggested kernel settings "correct" > already, but the others need to be tweaked (including disabling > SMP, thanks for the hint!). I tried using all the recommended > settings, but the kernel build failed when linking: > > LD init/built-in.o arch/arm/kernel/built-in.o: In function > `__irq_usr': :(.kprobes.text+0x3c2): relocation truncated to fit: > R_ARM_THM_JUMP19 against symbol `__ipipe_ret_to_user_irqs_disabled' > defined in .text section in arch/arm/kernel/built-in.o > arch/arm/kernel/built-in.o: In function `ret_from_exception': > :(.kprobes.text+0x600): relocation truncated to fit: > R_ARM_THM_JUMP19 against symbol `__ipipe_ret_to_user_irqs_disabled' > defined in .text section in arch/arm/kernel/built-in.o make: *** > [vmlinux] Error 1 > > The link error goes away if I disable CONFIG_THUMB2_KERNEL, which > wasn't set in the original kernel config. > > I'll report details when I get some debug kernels tested and > capture the requested data. > Also, something to be checked is whether the "PIC muting" is enabled for the beaglebone. PIC muting is already implemented for the OMAP3 interrupt controller and GPIOS, you simply need to check that the initialization function (omap3_pic_muter_register) gets called in the BeagleBone processor initialization. - -- Gilles. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iD8DBQFSzRMsGpcgE6m/fboRAmP6AJ46enpi6Yy9+cJ3iP1FBvLGOKjQIQCggg8y pcHgitqDiBjDR0lxmjDhbdE= =4/vB -----END PGP SIGNATURE-----