From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <475AC9D9.5080005@domain.hid> Date: Sat, 08 Dec 2007 17:44:09 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <200712072347.07847.niklaus.giger@domain.hid> <475A72DA.5090008@domain.hid> <200712081651.09378.niklaus.giger@domain.hid> In-Reply-To: <200712081651.09378.niklaus.giger@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: Philippe Gerum Subject: Re: [Xenomai-help] Are these results running the xeno-test on a Sequoia board okay? Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: niklaus.giger@domain.hid Cc: xenomai@xenomai.org Niklaus Giger wrote: > Am Samstag, 8. Dezember 2007 schrieb Philippe Gerum: >> Niklaus Giger wrote: >>> Hi > <...> >> I built it like this using the DENX-kernel >>> cd /home/hcu/celsius/linux-2.6-xenomai >>> /home/hcu/celsius/xenomai-trunk/scripts/prepare-kernel.sh --linux=/home/hcu/celsius/linux-2.6-xenomai --adeos=/home/hcu/celsius/xenomai-trunk/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.23-powerpc-DENX-2.0-03.patch --arch=powerpc >> You need to use adeos-ipipe-2.6.23-ppc-1.6-00.patch for the sequoia >> since it still depends on the ppc/ tree, on top of DENX-v2.6.23.8. >> Passing --arch=ppc to prepare-kernel.sh instead of --arch=powerpc >> without specifying an Adeos patch would pre-select the right one. > > However the kernel built this way (based on the git hash given in the > patches/README) my sequoia board just hangs after Mm, entering the twilight zone? Here is the configuration which works here: CPU: AMCC PowerPC 440EPx Rev. A at 528 MHz (PLB=132, OPB=66, EBC=66 MHz) ... Board: Sequoia - AMCC PPC440EPx Evaluation Board, Rev. F, PCI=66 MHz $ type ppc_4xxFP-gcc ppc_4xxFP-gcc is /opt/eldk-4.1/usr/bin/ppc_4xxFP-gcc (works with 4.0 and latest the same way). >>From a cloned Denx's GIT baseline: $ git checkout -b sequoia 208aa3df8645608ff3febb65f83219173dfe4979 $ ~/xenomai-trunk/scripts/prepare-kernel.sh --arch=ppc --linux=. ... accept the default suggestion, i.e. adeos-ipipe-2.6.23-ppc-1.6-00 $ make ARCH=ppc CROSS_COMPILE=ppc_4xxFP-gcc sequoia_defconfig ... use all default Xenomai options $ make ARCH=ppc CROSS_COMPILE=ppc_4xxFP-gcc [uImage] -- Philippe.