All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xenomai installation on P1020RDB
@ 2012-07-20 14:31 Lukasz Zemla
  2012-07-20 18:25 ` Wolfgang Grandegger
  0 siblings, 1 reply; 21+ messages in thread
From: Lukasz Zemla @ 2012-07-20 14:31 UTC (permalink / raw)
  To: Xenomai@xenomai.org

Hello,

Has anyone some experience with installing Xenomai on P1020RDB board? I'd like to perform some benchmarks on this board.
I'm trying to install it using the latest Freescale SDK 1.2 based on Yocto. But hints for SDK 1.0.3 would be also fine. Finally every way for getting it working... ;-)

What I'm doing is getting Freescale kernel (3.0.34):
               bitbake -c unpack virtual/kernel
and then trying manually to run prepare-kernel.sh pointing to directory where sources where unpacked. I tried all i-pipe 3.x patches - but all of them returned error.

Is it true that i-pipe can be applied _only_ to the _vanilla_ kernel with version which _exactly_ matches i-pipe patch version?

Next I tried to install Xenomai on vanilla 3.1.10 kernel. I got compilation error:

        arch/powerpc/sysdev/fsl_lbc.c: In function 'fsl_lbc_ctrl_irq':
        arch/powerpc/sysdev/fsl_lbc.c:247:3: error: 'TASK_NORMAL' undeclared (first use in this function)


I fixed it by adding '#include <linux/sched.h>' in arch/powerpc/sysdev/fsl_lbc.c file. After successful build the kernel hung just after loading DTB.



Filename 'p1020rdb-pc.dtb'.

Load address: 0xc00000

Loading: ###

done

Bytes transferred = 12888 (3258 hex)

WARNING: adjusting available memory to 30000000

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-3.1.10

   Created:      2012-07-20  13:54:54 UTC

   Image Type:   PowerPC Linux Kernel Image (gzip compressed)

   Data Size:    3757211 Bytes = 3.6 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

## Loading init Ramdisk from Legacy Image at 02000000 ...

   Image Name:   fsl-image-minimal-ww-p1020rdb-20

   Created:      2012-07-18   9:30:13 UTC

   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)

   Data Size:    4596585 Bytes = 4.4 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 00c00000

   Booting using the fdt blob at 0xc00000

   Uncompressing Kernel Image ... OK

   Loading Ramdisk to 2fb9d000, end 2ffff369 ... OK

   Loading Device Tree to 00ff9000, end 00fff257 ... OK


Thank you in advance for any hints.

Pozdrawiam / Best Regards / Mit freundlichen Grüßen
Łukasz Zemła



***
The information in this email is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information.
***

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-07-29 14:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 14:31 [Xenomai] Xenomai installation on P1020RDB Lukasz Zemla
2012-07-20 18:25 ` Wolfgang Grandegger
2012-07-23  8:48   ` Richard Cochran
2012-07-23 12:01     ` Wolfgang Grandegger
2012-07-25 16:18   ` Lukasz Zemla
2012-07-25 17:11     ` Gilles Chanteperdrix
2012-07-25 17:36       ` Gilles Chanteperdrix
2012-07-25 20:15         ` Lukasz Zemla
2012-07-25 20:42           ` Gilles Chanteperdrix
2012-07-26 11:20             ` Lukasz Zemla
2012-07-26 12:00               ` Gilles Chanteperdrix
2012-07-27 15:53                 ` Lukasz Zemla
2012-07-27 16:00                   ` Gilles Chanteperdrix
2012-07-27 16:08                     ` Philippe Gerum
2012-07-27 16:12                       ` Lukasz Zemla
2012-07-27 16:19                         ` Philippe Gerum
2012-07-29 14:30                           ` Philippe Gerum
2012-07-29 14:10         ` Philippe Gerum
2012-07-25 19:26     ` Wolfgang Grandegger
2012-07-25 20:26       ` Lukasz Zemla
2012-07-25 20:55         ` Wolfgang Grandegger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.