Re: linux booting

2010-02-18 Thread Shankar Ganesh
On Thu, Feb 18, 2010 at 3:44 AM, Kalpesh Rathod wrote: > Hi, > > > bootm 0xaddr > > > > What is the significance of this address ? Is this has any correlation > with > > lds file ? or i can use any random address ? > > > > This is the entry point of the uImage. > You can find it by > objdump vmlin

linux booting

2010-02-17 Thread Shankar Ganesh
Hi , I have a doubt regarding u-boot command when booting linux bootm 0xaddr What is the significance of this address ? Is this has any correlation with lds file ? or i can use any random address ? Regards, Shankar

frame buffer driver

2009-11-29 Thread Shankar Ganesh
Hi , I am adding new frame buffer driver for my custom platform and while while registering framebuffer ,[ register_framebuffer() ], the system hangs in the following call, in fbmem.c fb_notifier_call_chain(FB_EVENT_FB_REGISTERED, &event); Please kindly advice on potential flaws in my registration

Re: Console Handover

2009-11-25 Thread Shankar Ganesh
On Thu, Nov 26, 2009 at 2:25 AM, Xiangfu Liu wrote: > Hi Shankar > what is your kernel command line? > there should something like: "console=ttyS0,57600n8" in your command line. > > Hi Xiangfu Liu, Thanks for your help. Here is my command line option. Yes, there is no console option . Let me add

Console Handover

2009-11-25 Thread Shankar Ganesh
Hi Friends, I am trying to understand how console hand over option is enabled in kernel configuration. On my kernel default configuration, console is handed over to LCD diaplay from serial console. How do i enable console on both devices (serial & LCD )? is there any CONFIG value to be enabled ?

Re: JTAG debugger for MIPS platform

2009-11-04 Thread Shankar Ganesh
Thanks a lot On Wed, Nov 4, 2009 at 2:44 AM, Daniel (Youngwhan) Song wrote: > I have used Lauterbach, and it seems to work well. > > Best Regards, > Daniel (Youngwhan) Song > > > > > On Tue, Nov 3, 2009 at 11:34 PM, Shankar Ganesh > wrote: > >> Hi Friends

JTAG debugger for MIPS platform

2009-11-03 Thread Shankar Ganesh
Hi Friends, I am new to MIPS Linux. I would like to know the JTAG debuggers used for MIPS platform. Please share your flavour of debuggers used for MIPS linux . PS : Apologies if this query is not relevant to this mailing list. Thanks, Shankar

Re: KHz representation in Linux kernel

2009-09-30 Thread Shankar Ganesh
> > >> > The 32768 Hz is a special value used for Real Time Clocks (RTCs). > Check it out here: > http://en.wikipedia.org/wiki/Quartz_clock#Mechanism > > Thanks a lot . Regards, Shankar

Re: KHz representation in Linux kernel

2009-09-30 Thread Shankar Ganesh
or any calcs. 32KHz Timer will have only 32000 ticks per second , not 32768 ticks > 2009/9/30 Shankar Ganesh : > > Hi all, > > In linux kernel, all the places i found ,for ex 32KHz clock is > > represented as 32768 Hz, not as 32 x 1000 Hz . Could you

KHz representation in Linux kernel

2009-09-29 Thread Shankar Ganesh
Hi all, In linux kernel, all the places i found ,for ex 32KHz clock is represented as 32768 Hz, not as 32 x 1000 Hz . Could you please help to understand why 2 ^ x is used instead of 10 ^ y ? Regards, Shankar

DEVFS permissions

2009-09-14 Thread Shankar Ganesh
Hi , When we create a node under devfs , hwcdev_class = class_create(THIS_MODULE, DRVNAME); device_create(hwcdev_class, NULL, MKDEV(dev_major, 0), dev, DEVNAME); the node is created with default permission of 600 (root=rw, others nil) , crw root root

PMEM device

2009-09-09 Thread Shankar Ganesh
Hi , I have an use-case where i need to reserve high volume memory buffer - (Video buffer) and it has to be shared between user-space and kernel space. Please help me how to we achieve this using "/dev/pmem" device ? When registering platform device - PMEM device, we are supplying base

Re: Building Modules

2009-09-07 Thread Shankar Ganesh
On Mon, Sep 7, 2009 at 5:44 AM, Mulyadi Santosa wrote: > On Mon, Sep 7, 2009 at 4:21 PM, Shankar Ganesh > wrote: > > Hi , > > > > I am trying to build the driver as module . And my driver file includes > a > > header files pl

Re: Building Modules - PLEASE IGNORE

2009-09-07 Thread Shankar Ganesh
Hi, Please ignore as i solved this foolish-issue On Mon, Sep 7, 2009 at 5:21 AM, Shankar Ganesh wrote: > Hi , > > I am trying to build the driver as module . And my driver file includes a > header files placed in current worki

Building Modules

2009-09-07 Thread Shankar Ganesh
Hi , I am trying to build the driver as module . And my driver file includes a header files placed in current working directory. -- /* driver.c */ #include "head.h" . And there are macros defined under header fi

Re: Non-blocking IO

2009-08-26 Thread Shankar Ganesh
/09, Shankar Ganesh wrote: > > Hi Friends, > > > > I have an interrupt handler in my driver which is supposed to > > wake-up/intimate user process to proceed . How do Linux supports this > > mechanism ? > > I have a choice of using select/poll in user space and impl

Non-blocking IO

2009-08-20 Thread Shankar Ganesh
Hi Friends, I have an interrupt handler in my driver which is supposed to wake-up/intimate user process to proceed . How do Linux supports this mechanism ? I have a choice of using select/poll in user space and implementing poll fops in my driver. Is there any alternative better approach availabl

error in sysfs node create

2009-08-17 Thread Shankar Ganesh
Hi Friends , When the driver try to create node under sysfs during boot-up , i am getting following error. sysfs: duplicate filename '254:0' can not be created . Can you help me out to resolve this error ? Trace attached below . Thanks, Shankar [ cut here ] WARNING: at

Re: POLL in char drivers

2009-08-13 Thread Shankar Ganesh
On Thu, Aug 13, 2009 at 5:23 PM, Daniel Baluta wrote: > On Thu, Aug 13, 2009 at 2:17 PM, Shankar Ganesh > wrote: > > Hi , > > > > I have a doubt regarding poll function in char driver . Let us con

POLL in char drivers

2009-08-13 Thread Shankar Ganesh
Hi , I have a doubt regarding poll function in char driver . Let us consider following code -- static unsigned int random_poll(struct file *file, poll_table * wait) { unsigned int mask; * poll_wait(file, &r