* [Xenomai-help] rtdm driver Problems
@ 2007-08-27 11:14 Axel Beierlein
2007-08-27 11:23 ` Wolfgang Grandegger
0 siblings, 1 reply; 3+ messages in thread
From: Axel Beierlein @ 2007-08-27 11:14 UTC (permalink / raw)
To: Xenomai-help@domain.hid
Hello,
i try to port a standard serial Driver into an RTDM one following Jan´s
example 16550A.c.
When i try to initialize the rx/tx timeouts in my set_config routine with:
if (testbits(config->config_mask, RTSER_SET_TIMEOUT_RX))
ctx->config.rx_timeout = config->rx_timeout;
and call an rt_dev_open("sername",0) in my testapplikation i get an
"floating point used in kernel ...." on my ppc.
I use all the structures that Jan have defined.
Could it bee that the uint64_t var´s rx_timeout / tx_timeout are the
reasons (especially the <unsigned long long int> typedef for an ppc)?
Axel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] rtdm driver Problems
2007-08-27 11:14 [Xenomai-help] rtdm driver Problems Axel Beierlein
@ 2007-08-27 11:23 ` Wolfgang Grandegger
[not found] ` <op.txpuqax7t06gyn@domain.hid>
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Grandegger @ 2007-08-27 11:23 UTC (permalink / raw)
To: Axel Beierlein; +Cc: Xenomai-help@domain.hid
Axel Beierlein wrote:
> Hello,
>
> i try to port a standard serial Driver into an RTDM one following Jan´s
> example 16550A.c.
> When i try to initialize the rx/tx timeouts in my set_config routine with:
>
> if (testbits(config->config_mask, RTSER_SET_TIMEOUT_RX))
> ctx->config.rx_timeout = config->rx_timeout;
>
> and call an rt_dev_open("sername",0) in my testapplikation i get an
> "floating point used in kernel ...." on my ppc.
> I use all the structures that Jan have defined.
> Could it bee that the uint64_t var´s rx_timeout / tx_timeout are the
> reasons (especially the <unsigned long long int> typedef for an ppc)?
How do you compile the RTDM driver?
Wolfgang.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] rtdm driver Problems
[not found] ` <op.txpuqax7t06gyn@domain.hid>
@ 2007-08-27 12:38 ` Wolfgang Grandegger
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Grandegger @ 2007-08-27 12:38 UTC (permalink / raw)
To: Axel Beierlein; +Cc: xenomai-help
Axel Beierlein wrote:
> Am 27.08.2007, 13:23 Uhr, schrieb Wolfgang Grandegger <wg@domain.hidm>:
>
>> Axel Beierlein wrote:
>>> Hello,
>>> i try to port a standard serial Driver into an RTDM one following
>>> Jan´s example 16550A.c.
>>> When i try to initialize the rx/tx timeouts in my set_config routine
>>> with:
>>> if (testbits(config->config_mask, RTSER_SET_TIMEOUT_RX))
>>> ctx->config.rx_timeout = config->rx_timeout;
>>> and call an rt_dev_open("sername",0) in my testapplikation i get an
>>> "floating point used in kernel ...." on my ppc.
>>> I use all the structures that Jan have defined.
>>> Could it bee that the uint64_t var´s rx_timeout / tx_timeout are the
>>> reasons (especially the <unsigned long long int> typedef for an ppc)?
>>
>> How do you compile the RTDM driver?
>>
>
> ppc_6xx-gcc -Wall -O2 -c -DMODULE -D__KERNEL__ -D__IN_XENOMAI__ <the
> includes> testdrv.c -o testdrv.o
Please compile it properly either by including it into the kernel tree
or as shown in "examples/rtdm".
Wolfgang.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-27 12:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 11:14 [Xenomai-help] rtdm driver Problems Axel Beierlein
2007-08-27 11:23 ` Wolfgang Grandegger
[not found] ` <op.txpuqax7t06gyn@domain.hid>
2007-08-27 12:38 ` 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.