driver for CyberPro 5202 Display Processor

2003-10-08 Thread Omanakuttan
Andreas Oberritter wrote: > On Wed, 2003-10-08 at 14:54, Omanakuttan wrote: > >>A google search on cyberpro 5202 chipset drivers on linux did not >>produce any significant result. I may have to write the drivers for >>this, so any input is welcome. Any help/hint

driver for CyberPro 5202 Display Processor

2003-10-08 Thread Omanakuttan
Hi, A google search on cyberpro 5202 chipset drivers on linux did not produce any significant result. I may have to write the drivers for this, so any input is welcome. Any help/hints on other cyberpro 50xx chipsets are also welcome. Thanks, om. ** Sent via the linuxppc-embedded mail list. See

fundamental driver question ??

2003-09-19 Thread Omanakuttan
Todd wrote: > When a module is driving multiple devices: does the > driver code itself have multiple instances, or is Re-entrant. Moreover the interrupt can can be shared, and based on the device file opened, handling of other functions may differ in the driver. HTH ** Sent via the linuxppc-em

looking for mpc8260 mcc driver example for linux

2003-07-10 Thread Omanakuttan
shuaiye1999 at sohu.com wrote: > hi,all: > > I'm a newbie of mpc series and linuxppc-embedded.after > searching the maillist using the keyword"mcc",I found > some mail said that some 8260 mcc driver exist,but I > can't find them.Can someone give some infomation about it, > thx a lot. You can read

use bdi2000

2003-07-09 Thread Omanakuttan
greggiraud at netcourrier.com wrote: > Hi, > I have some problem with the use of the bdi 2000 to debug linux kernel with > DDD. In fact, I am connecting to the bdi2000 (target remote ). And then, > if I do step by step. But When I click on "step", DDD print: " error > accessing memory acce

ncurses problem in telnet/serial console.

2003-07-08 Thread Omanakuttan
Hi, We have developed a Brouter on mpc8260 running linux with ncurses CUI for administrative tasks. ncurses Requirement is that when the user telnet to the router or connect to the serial port, the CUI should come up, and the usual telnet login prompt should not come up. libncurses.so.5 is the lib

mpc8260: ncurses -> keypad() failing.

2003-07-08 Thread Omanakuttan
Hi, We have developed a BRouter and use ncurses for some CUI stuff, like configuring our router on a custom designed board (ppc 8260) running eldk linux, kernel is different :-) When I issue the call keypad(), it returns failure (ERR). I don't know what the error is. it does not set errno, so I c

kernel hangs after serving interrupt

2003-07-07 Thread Omanakuttan
Hi, We are facing a strange problem in mpc8260, linux kernel 2.4.1 I have written drivers for mpc8260 MCC. We are in the process of testing them. We are getting a machine freeze after some 40k-50k write operations. I have checked all the control paths, they are as follows. 1. Application (pppd)is

jumbled characters on serial port

2003-06-27 Thread Omanakuttan
> > Have you tried playing around with the baud rate settings, parity > settings, stop/data/start bit setting? From what you have mentioned I > suspect the problem is with the mismatched settings I have listed > before. Please make sure that the port on your host (on which minicom is > running) is

jumbled characters on serial port

2003-06-27 Thread Omanakuttan
Hi, We have developed MCC drivers for mpc8260. For debugging the driver we have put several printk in the code. Since the data is not ascii all the time, sometimes the screen gets fully jumbled characters. I understand that printing some binary data causes this. We are using minicom and busybox .6

problem in /proc entries.

2003-05-08 Thread Omanakuttan
Omanakuttan wrote: > > Hi, > We cannot read any entry from /proc. The vi with busybox cannot read proc entries. cat works fine. Thanks, Om. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

problem in /proc entries.

2003-05-07 Thread Omanakuttan
Hi, We use a custom board based on mpc8260, which works fine. We cannot read any entry from /proc. We use busybox 0.60, and tried to read it using vi supplied with busybox. We could not read any files in /proc. /proc is mounted, and shows all the entris like cpuinfo, devices...etc. Anybody has fa

Error in compiling 2.4.18 kernel for PPC

2003-04-29 Thread Omanakuttan
Seems like you did not do an mrproper before starting cross compilation. try that. On Tue, 2003-04-29 at 11:22, gopi at india.tejasnetworks.com wrote: > > We are trying to compile kernel 2.4.18 for ppc(&mbxboard) with > gcc(cross compiler version 2.95.2) > > Compilation breaks with the followin

some execve related queries....

2003-04-23 Thread Omanakuttan
Hi, We use linux kernel version 2.4.1 on a custom derivative board of mpc8260ads. Kernel is booting up without any problem uptil the init call in init/main.c In the main.c file, there are four execve calls succeeded by a panic(). Now thequestions are 1. As far as I know execve is usually called o

Device Drivers calls to the Kernel (documentation)

2003-04-23 Thread Omanakuttan
Hi, My first suggestion would be the linux driver book, by rubini and corbet. www.kernelnewbies.org has some good documentation over linux kernel. Thanks, Om. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

debugging using bdi2000, unable to proceed.

2003-04-18 Thread Omanakuttan
Wolfgang Denk wrote: >>we are using http://www.ultsol.com/PDFS/Tool%20Talk%2002-001a.pdf as a >>refernce to get bdi 2000 setup running. >>Connections are made as per the document. >>bdisetup is run from the host. Using the configuration file. >>We used format IMAGE and file zImage and the image fil

debugging using bdi2000, unable to proceed.

2003-04-17 Thread Omanakuttan
We are using bdi200 for debugging linux kernel (2.4.1 and 2.4.17). our target board is mpc8260ADS, with ppcboot 2.0.0 we are using http://www.ultsol.com/PDFS/Tool%20Talk%2002-001a.pdf as a refernce to get bdi 2000 setup running. Connections are made as per the document. bdisetup is run from the h

AW: parse error before `{', stray '\' in program

2003-04-10 Thread Omanakuttan
> I would use Unix file formats if i can! > The problem is: We have developers on Windows. They are working with the > same library as we are. Visual Studio produce this f... or ^M or > \r\n. And we are generatin code from Rose. This cause the same problems. > Visual Studio has no problems with \

mpc8260 Multi channel controller howto and kernel driver code

2003-04-06 Thread Omanakuttan
Hi, I have published a howto on programming mpc8260 Multichannel communication controller using linux on www.tldp.org. Link here. http://tldp.org/authors/inprogress.html Draft is available on http://ibiblio.org/gferg/ldp/MPC8260-MCC-HOWTO.txt Any feedback on this is welcome. Driver code for thi

linux mpc8260 mcc programming howto

2003-03-16 Thread Omanakuttan
welcome. Please send them to omanakuttan at vsnl.net Thank you, Om. -- next part -- An embedded and charset-unspecified text was scrubbed... Name: mpc8260mcc_howto.txt Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20030316/051fb315/attachment.txt

accessing immap_t * variable in mpc8260

2003-03-14 Thread Omanakuttan
Thanks for the answers. Now I have a better picture, still some more doubts... Paul Mackerras wrote: > Omanakuttan writes: > > >>In FCC code, eldk/ppc_82xx/usr/src/linux/arch/ppc/8260_io/fcc_enet.c, >>immap_t * immap is simply typecasted to IMAP_ADDR, which is >>((uin

accessing immap_t * variable in mpc8260

2003-03-13 Thread Omanakuttan
Hi, We are writing existing drivers for mpc8260 FCC and writing new ones for MCC. we are unable to small (may be foolish) problem of accessing immap address registers. In FCC code, eldk/ppc_82xx/usr/src/linux/arch/ppc/8260_io/fcc_enet.c, immap_t * immap is simply typecasted to IMAP_ADDR, which is

[Fwd: how to allocate physically contiguous memory in kernel.]

2003-03-10 Thread Omanakuttan
Hi, We are using mpc8260 for our communication application. In our application, we have to allocate contiguous memory of size 1536 bytes. These memory will be used in the buffer descriptors for DMA. These will be later freed from another driver in the kernel. For DMA we require physically contiguo

how to allocate physically contiguous memory in kernel.

2003-03-09 Thread Omanakuttan
Hi, We are using mpc8260 for our communication application. In our application, we have to allocate contiguous memory of size 1536 bytes. These memory will be used in the buffer descriptors for DMA. These will be later freed from another driver in the kernel. For DMA we require physically contiguo

installing ncurses for cross compiling

2003-03-08 Thread Omanakuttan
Hi, I want to write some programs for our serial console using ncurses. I have written and tested the apps in i386, now I want to cross compile it. I ahave Monta vista linux and ncurses is not available on i386. When i tried to include the /usr/include/ for ncurses, ppc-gcc issues warnings. I down

problem in ppc-linux-gcc cross compiler.

2003-03-05 Thread Omanakuttan
Greetings Mr. Vladimir Gurevich, Thank you very much. I came across these lines in the info page, but I could not understand the meaning, which is pretty clear now. It works. Thanks a lot, have a great day, Om. Vladimir Gurevich wrote: > Hello, > > You should change the line > >> war

problem in ppc-linux-gcc cross compiler.

2003-03-04 Thread Omanakuttan
I am not very sure if this is off topic. I am facing a problem in variable argument passing in linux-gcc-ppc. [om at pandatest1 ~/prg]$ cat macro2.c #define __KERNEL__ #define bet_syslog(warning, format, msg...)\ do \ { \ printk( "<%d> In file %s, line %d, function %s(). " format "\n",\

kernel hangs in copy_and_flush while `lwzx` instruction

2003-01-25 Thread Omanakuttan
Hi, we are facing a problem in booting monta vista linux on mpc8260ads board. kernel is #define UTS_RELEASE "2.4.17_mvl21" kernel hangs while executing the following lines in arch/ppc/kernel/head.S. --code begins-- /* * Copy routine used to copy the kernel to start at physical address 0 * a

running bdi2000 (cpu in debug mode)

2003-01-25 Thread Omanakuttan
Hi, We connected bdi2000 to the jtag interface of our mpc8260ads board. The flash contains ppcboot (we installed it throgh bdi2000). The board boots up with ppcboot. But when we try to debug our kernel using bdi2000, it enters the debug mode. How to set break points and run till that break points?

uncompressing linux... (it hangs after this message)

2003-01-23 Thread Omanakuttan
Hi, I am a embedded linux newbie and I am using ppcboot to load my kernel. I use `mkimage` of ramdisk supplied in SELF. I made a linux kernel for ppc with bare minimum options, no loadable modules. The steps I followed. PPCBoot 2.0.0 (Jan 22 2003 - 12:00:07) MPC8260 Reset Status: External Soft

ppcboot for mpc8260ads board.

2003-01-22 Thread Omanakuttan
ild > environment ready. I am thinking of building vmlinux (uncompressed) and > downloading it @ address 0x0 on the board. Will it work ? > > Thanks > - Vikram > > > > > > "Omanakuttan" on 01/22/2003 02:17:52 PM > > To: linuxppc-embedded a

ppcboot for mpc8260ads board.

2003-01-22 Thread Omanakuttan
Please ignore my question. I got it up. Omanakuttan wrote: > > Hi, > I got my bdi2000, thanks to the cogent arguments supplied by WD. > > Facing a problem. > 1. Is it required to install ppcboot in an mpc8260ads board? If I make a > make bzImage , can the resultant image

ppcboot for mpc8260ads board.

2003-01-22 Thread Omanakuttan
Hi, I got my bdi2000, thanks to the cogent arguments supplied by WD. Facing a problem. 1. Is it required to install ppcboot in an mpc8260ads board? If I make a make bzImage , can the resultant image be directly loaded to flash and start running it? the bdi2000 guys says that it is not possible. I

bdi200 or powertap.. help me to decide.

2003-01-09 Thread Omanakuttan
Hi, we are developing a custom board based on mpc8260eds board and planning to run linux on it. We require a tool to debug the kernel and ppcboot, if required. I have been following the recent ( and ongoing ) discussions on bdi2000. I have recommended the company to buy bdi2000. The company is con

mcc in mpc8260.

2003-01-05 Thread Omanakuttan
patience, Om. Omanakuttan wrote: > > Hi, > We are using mcp8260 interfaced with an octal E1/T1 framer (XRT84L38). > We are using 7 E1/T1 lines as input for the MCC is from the framer. > > How does the MCC HDLC controller treat the incoming E1/T1 frames? will > the HDLC controll

mcc in mpc8260.

2003-01-04 Thread Omanakuttan
Hi, We are using mcp8260 interfaced with an octal E1/T1 framer (XRT84L38). We are using 7 E1/T1 lines as input for the MCC is from the framer. How does the MCC HDLC controller treat the incoming E1/T1 frames? will the HDLC controller will treat each E1 line as 32 different logical channels and in

partial header file for MCC in mpc8260.

2002-12-25 Thread Omanakuttan
Hi, Although not a hardcore kernel programmer, I have partially written some header information for MCC in mpc8260. Transparent info is missing. HDLC included. I will post the code as and when it is complete for the driver part. And have plans to integrate with the kernel. :-) meanwhile if somebo

starting position of linux kernel in memory -- ppc

2002-12-24 Thread Omanakuttan
Hi, I cross compiled linux kernel using gnutools for mpc8260 and got a file by name zimage.embedded. We have ordered for a demo on the target board (8260ADS) and they are asking for kernel with start address at 0x_. How will I see that info in the kernel ? Or by default it will place itsel

doubt in arch/ppc/8260_io/uart.c

2002-12-22 Thread Omanakuttan
Hi, in kernel 2.4.17, arch/ppc/8260/uart.c contains the following lines in rs_8xx_stop() { sccp->scc_sccm &= ~UART_SCCM_TX; } UART_SCCM_TX is defined to 0x0020 i.e, only the TX bit is 1 Now the manual (MPC8260UM.pdf) states that clearing a bit is 1 for both SCCE and SCCM. Following

E1/T1 on mpc8260.

2002-12-20 Thread Omanakuttan
Greetings, We are developing a bridge which will convert 7 E1/T1 channels to 100Mbps ethernet using mpc8260 and Exar XRT84L38 Octal framer. According the design, TDMs will be fed data from octal T1/E1 framer. I will have to program the MCC to accept data from the TDMs and give it to a pppd daemon

mcc support on mpc8260

2002-12-13 Thread Omanakuttan
Ing.Gianfranco Morandi wrote: > I have promised to Pete of releasing some code for such driver. We will > provide to perform such task during the next days. Thank you very much for this information. Since I will be working on that, I will also be glad to contribute something to your activities. >

mcc support on mpc8260

2002-12-12 Thread Omanakuttan
Hi, We are developing device drivers for E1/T1 (8 channels) and E3/T3 framer chipset (XRT84L38 and XRT7250 ) on mpc8260. I don't find any documents on mcc programming for E1/T1. The linux kernel lacks support for that too. (At least I could not find any in the 2.4.17 kernel) for E3/T3, we could fi

CUI on serial port for ppc

2002-12-07 Thread Omanakuttan
Hi, We want to develop a character based User interface ( like the ones using ncurses) for the bridge we develop on linux. Platform : mpc 8260 ( ppc) We need to provide pull down menus, list boxes and input fields on the serial console (like hyper terminal). I checked newt/curses. But don't have

embedded help for linux links

2002-12-04 Thread Omanakuttan
Hi, I am a newbie in the embedded linux world, we are working to build a bridge (E1/T1 ethernet and E3/T3 ) with ppc8260. Could anybody direct me some links so that I can have a good starting point of linux on PPC in order to get a better idea of what is happening in this list and embedded linux w

ppcboot, linux , hang at the last step

2002-11-26 Thread Omanakuttan
> or you have to give a ramdisk separately to the kernel boot args? > > >>when I passed the initrd option into the kernel. > > the option is " root=/dev/ram ", right? > > thank you very much! > > edmoon > > - Original M

cannot compile 2.4.19 with kgdb/xmon

2002-11-21 Thread Omanakuttan
Hi, I am a new member in this list. I am trying to build kernel 2.4.19 for ppc (mpc 8260) on i386 using ppc_82xx-gcc cross compiler. The configuration compiles fine when I exclude kernel hacking options. Once kgdb or xmon options (any of them) of the kernel hacking options is included, kernel co