From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45210858.2070604@domain.hid> Date: Mon, 02 Oct 2006 14:38:48 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 Subject: Re: [Xenomai-help] Xenomai on 2.6.17 ppc References: <451A6E2B.2040901@domain.hid> <451E8999.2000801@domain.hid> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Syed Amer Gilani Cc: xenomai-help Syed Amer Gilani wrote: > 2006/9/30, Wolfgang Grandegger : >> I realized, that the differences to Linux 2.6.18 are quite small and non >> critical. Attached is a ADEOS-IPIPE patch for Linux 2.6.17, which should >> work on your MPC5200 as well (the idle loop problem for 6xx is solved). >> Would be nice if you could test the patch and report the results. It's >> difficult these days to get a 2.6.x kernel built and booted on an >> MPC5200 :-(. >> >> Note: this patch requires another small fix for Xenomai (see >> attachment). Philippe, could you please apply it? TIA. > > Thank you for the 2.6.17 patch, but unfortunately it did not work. > I had problems with both patches. The xenomai patch expected 2 lines > in the source that are not in the original xenomai sources. But i > patched it manual. What version of Xenomai did you use? You need the head of SVN trunk (or take the snapshot): $ svn co http://svn.gna.org/svn/xenomai/trunk xenomai $ wget http://svn.gna.org/daily/xenomai-snapshot.tar.gz > The Kernel Patch does not work with the prepare-kernel script. It stops > with: > > grep: /home/amg/linux-2.6.17/include/asm-powerpc/ipipe.h: No such file > or directory > prepare-kernel.sh: /home/amg/linux-2.6.17 has no Adeos support for powerpc See above. And with a recent version of Xenomai you have to use --arch=ppc (-arch=powerpc does not work any more for the ppc tree). > ipipe.h is in asm-ppc so i think it has something to do with the ppc > -> powerpc merge. > So i patched is manually. But in menuconfig the xenomai entries are > missing so i could not activate it to test it. Likely you do just not use a recent version of Xenomai 2.3.x. It is working with my setup. Wolfgang. > Syed Amer Gilani > >