HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver)

2005-04-08 Thread nobin matthew
Dear Friends,

  I am trying to port Linux PXA audio
driver to RTLinux. I am using pxa-ac7.c and
pxa-audio.c
 and eliminated sound_core.c, and i will register two
device /dev/mixer and /dev/dsp to RTLinux kernel.

   The real need is, i wants to generate a sin
wave using audio codec. With in 600us DMA controller
should fill the codec FIFO, if that is not met
distortion will happen. I think normal linux
interrupts and Process scheduling may cause some
problems.

In porting it seems difficult to port kernel
scheduling , dynamic memory allocation(for DMA) and
synchronization.

Please help me


Nobin Mathew

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver)

2005-04-08 Thread nobin matthew
Dear Friends,

  I am trying to port Linux PXA audio
driver to RTLinux. I am using pxa-ac7.c and
pxa-audio.c
 and eliminated sound_core.c, and i will register two
device /dev/mixer and /dev/dsp to RTLinux kernel.

   The real need is, i wants to generate a sin
wave using audio codec. With in 600us DMA controller
should fill the codec FIFO, if that is not met
distortion will happen. I think normal linux
interrupts and Process scheduling may cause some
problems.

In porting it seems difficult to port kernel
scheduling , dynamic memory allocation(for DMA) and
synchronization.

Please help me


Nobin Mathew

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


HELP:(VIPER BOARD)AC'97 controller driver for rtlinux(rtlinux core driver)

2005-04-06 Thread nobin matthew
Dear friends,

I am trying to develop a codec driver (rtlinux driver)
from scratch.
In Viper board (PXA255) physical memory range
0x4000-0x43FF is used by the PXA255
peripherals.In that address range
0x4050-0x405005FC is needed for AC'97 controller
registers. Is this memory range is already mapped to
virtual address space, else How to map this to virtual
address space.

When i tried ioremap() it is giving same virtual
address with different physical address(i tried
ioremap with another driver(same board)with different
physical memory address)
 
Or if this driver already available for RTLinux Please
sent me.

Nobin Mathew





__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


HELP:(VIPER BOARD)AC'97 controller driver for rtlinux(rtlinux core driver)

2005-04-06 Thread nobin matthew
Dear friends,

I am trying to develop a codec driver (rtlinux driver)
from scratch.
In Viper board (PXA255) physical memory range
0x4000-0x43FF is used by the PXA255
peripherals.In that address range
0x4050-0x405005FC is needed for AC'97 controller
registers. Is this memory range is already mapped to
virtual address space, else How to map this to virtual
address space.

When i tried ioremap() it is giving same virtual
address with different physical address(i tried
ioremap with another driver(same board)with different
physical memory address)
 
Or if this driver already available for RTLinux Please
sent me.

Nobin Mathew





__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


HELP: PC104 IO card driver Problem

2005-03-30 Thread nobin matthew
Dear Friends,

Can anybody Help me in this Pc104 driver Problem;
What is the basics steps in doing read and write on
Pc104 cards.

Deatails Given Below:
  I am writing a Linux device driver for
Diamond systems
IR104 digital IO card. This is a PC104 bus device(that
means it ISA
bus compatible).
The Platform is Arcom Viper borad(with support for
PC104), This is a
Xscale, Little endian Platform.

The Specification of PC104 interface  given in Viper
borad manual is:
0x3C00-0x3CFF PC/104 memory space(16MB)
0x3000-0x33FF PC/104 IO space(1KB)

Specification given in IR104 manual is:
I made the jumber setting so that, the IO space
addresses  taken by 8
registers will be 0x300-0x307

The driver should do read and write on this
registers(character device
driver).

I took two approaches one is:
i added IO space and 0x300, did inb() and oub().(IO
space base address
and 0x300)
otherway i did ioremap on added result, did inb() and
oub().

In the second method:
I did same procedures using IO memory space

both methods are giving errors, i think that is
related to paging. i think
there is a need for disabling paging in this space.

Please help regarding this. How to solve this.

Nobin Mathew




__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


HELP: PC104 IO card driver Problem

2005-03-30 Thread nobin matthew
Dear Friends,

Can anybody Help me in this Pc104 driver Problem;
What is the basics steps in doing read and write on
Pc104 cards.

Deatails Given Below:
  I am writing a Linux device driver for
Diamond systems
IR104 digital IO card. This is a PC104 bus device(that
means it ISA
bus compatible).
The Platform is Arcom Viper borad(with support for
PC104), This is a
Xscale, Little endian Platform.

The Specification of PC104 interface  given in Viper
borad manual is:
0x3C00-0x3CFF PC/104 memory space(16MB)
0x3000-0x33FF PC/104 IO space(1KB)

Specification given in IR104 manual is:
I made the jumber setting so that, the IO space
addresses  taken by 8
registers will be 0x300-0x307

The driver should do read and write on this
registers(character device
driver).

I took two approaches one is:
i added IO space and 0x300, did inb() and oub().(IO
space base address
and 0x300)
otherway i did ioremap on added result, did inb() and
oub().

In the second method:
I did same procedures using IO memory space

both methods are giving errors, i think that is
related to paging. i think
there is a need for disabling paging in this space.

Please help regarding this. How to solve this.

Nobin Mathew




__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/