All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] building image error regarding xenomai/can/mscan/rtcan_mscan.o
@ 2009-02-19 19:15 "Marco Antônio Possamai"
  2009-02-19 22:00 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: "Marco Antônio Possamai" @ 2009-02-19 19:15 UTC (permalink / raw)
  To: XENOMAI

[-- Attachment #1: Type: text/plain, Size: 2066 bytes --]

Greetings, all.

I'm working on building a kernel image for the mpc5200b board with
Xenomai and CAN settings. I wish to generate a cuImage.lite5200b.

Got the xenomai-2.4.3 and the linux-2.6.24. Patched it with
adeos-ipipe-2.6.24-powerpc-DENX-2.1-04.patch.

Then I've configured the CAN settings as I wanted:

$ make ARCH=powerpc lite5200_defconfig
$ make ARCH=powerpc menuconfig

... enable RT-Socket-CAN and MSCAN driver ...
<*> RT-Socket-CAN, CAN raw socket interface
[*]   Enable debug output (NEW)
[ ]   Enable TX loopback to local sockets (NEW)
(1024) Size of receive ring buffers (must be 2^N) (NEW)
(4)   Maximum number of devices (NEW)
(16)  Maximum number of receive filters per device (NEW)
< >   Virtual CAN bus driver (NEW)
<*>   MSCAN driver for MPC52xx
[*]     Enable CAN 1 (NEW)
[*]     Enable CAN 2 (NEW)
(66000000) Clock Frequency in Hz (NEW)
Pin Configuration (CAN 1 on I2C1 pins, CAN 2 on TMR01 pin
...

But I've got the following error message after doing the 'make
ARCH=powerpc zImage' command:

...
LD      drivers/video/built-in.o
CC      drivers/xenomai/can/rtcan_dev.o
CC      drivers/xenomai/can/rtcan_socket.o
CC      drivers/xenomai/can/rtcan_module.o
CC      drivers/xenomai/can/rtcan_raw.o
CC      drivers/xenomai/can/rtcan_raw_dev.o
CC      drivers/xenomai/can/rtcan_raw_filter.o
LD      drivers/xenomai/can/xeno_can.o
CC      drivers/xenomai/can/mscan/rtcan_mscan.o
drivers/xenomai/can/mscan/rtcan_mscan.c:32:25: error: asm/ppcboot.h: No
such file or directory
make[4]: ** [drivers/xenomai/can/mscan/rtcan_mscan.o] Erro 1
make[3]: ** [drivers/xenomai/can/mscan] Erro 2
make[2]: ** [drivers/xenomai/can] Erro 2
make[1]: ** [drivers/xenomai] Erro 2
make: ** [drivers] Erro 2

It seems to have something to do with this asm/ppcboot.h which seems to
be absent. What can I do about it?

Thanks for the attention.

Marco Antônio Possamai

Universidade Federal de Santa Catarina

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


[-- Attachment #2: Type: text/html, Size: 2858 bytes --]

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

end of thread, other threads:[~2009-02-19 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 19:15 [Xenomai-help] building image error regarding xenomai/can/mscan/rtcan_mscan.o "Marco Antônio Possamai"
2009-02-19 22:00 ` Gilles Chanteperdrix

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.