Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Mohamed Thalib H
On Wednesday 25 May 2011 09:12 AM, naren.me...@gmail.com wrote: >> Why not take this a little bit higher and rewrite the LDD3 book >> > sections that need updating, not (only) the source code examples. >> > > This sounds like an excellent idea. > Can a project like that could be started in sourcef

Re: Self modifying code in ARM 11 architectures

2011-05-24 Thread Mulyadi Santosa
Hi... On Tue, May 24, 2011 at 17:15, Ashok Babu wrote: > So here my questions/doubts : > 1) Is'nt it the kernel itself is self modifying code with lots of function > pointers ? AFAIK, yes there are many.. however, some of them, even in the form of pointer assignment, are rarely changing. But if

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread naren . mehra
On Wed, May 25, 2011 at 2:02 AM, Leon Woestenberg wrote: > Hello all, > > On Tue, May 24, 2011 at 10:26 PM, Robert P. J. Day > wrote: >> On Tue, 24 May 2011, Javier Martinez Canillas wrote: >> >>> On Tue, May 24, 2011 at 8:14 PM, DG wrote: >>> > On Tue, May 24, 2011 at 11:47 AM, Robert P. J. Day

Re: Rv: Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Javier Martinez Canillas
>> > >> > There is a repo on GitHub with the same purpose.  I >> > haven't checked it >> > out personally, but it's probably worth a look. >> > >> > https://github.com/martinezjavier/ldd3 >> >> I've found the same googlecode svn repo a while ago, but >> since it was very out-dated, I decided to sta

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Javier Martinez Canillas
> >  i would take a closer look at the samples/ directory in the kernel > source tree.  i am, in fact, writing a number of sample modules and > drivers to be incorporated into an introductory kernel programming > and device drivers course but i don't think i can share them all as > they're part of

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Manohar Vanga
> I would see this identical to kernel/Documentation/* except that the > pieces are targetting device driver developers. > Take a look at the smallsample at the link below. The examples are well documented and it could be expanded to include more features of the kernel. http://gnudd.com/workdoc.s

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Robert P. J. Day
On Tue, 24 May 2011, Leon Woestenberg wrote: > Hello all, > > On Tue, May 24, 2011 at 10:26 PM, Robert P. J. Day > wrote: > > On Tue, 24 May 2011, Javier Martinez Canillas wrote: > > > >> On Tue, May 24, 2011 at 8:14 PM, DG wrote: > >> > On Tue, May 24, 2011 at 11:47 AM, Robert P. J. Day > >> >

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Leon Woestenberg
Hello all, On Tue, May 24, 2011 at 10:26 PM, Robert P. J. Day wrote: > On Tue, 24 May 2011, Javier Martinez Canillas wrote: > >> On Tue, May 24, 2011 at 8:14 PM, DG wrote: >> > On Tue, May 24, 2011 at 11:47 AM, Robert P. J. Day >> > wrote: >> >> On Tue, 24 May 2011, Jim Cromie wrote: >> >> >> >

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Robert P. J. Day
On Tue, 24 May 2011, Javier Martinez Canillas wrote: > On Tue, May 24, 2011 at 8:14 PM, DG wrote: > > On Tue, May 24, 2011 at 11:47 AM, Robert P. J. Day > > wrote: > >> On Tue, 24 May 2011, Jim Cromie wrote: > >> > >>> over at http://code.google.com/p/ldd3/ > >>> it says: > >>> The famous "Linux

Rv: Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Ezequiel García
> > De: DG > > Asunto: Re: knewbies project? - updating LDD3 source > > Para: "Jim Cromie" > > Cc: "kernelnewbies" > > Fecha: martes, 24 de mayo de 2011, 15:14 > > On Tue, May 24, 2011 at 11:47 AM, > > Robert P. J. Day > > > > wrote: > > > On Tue, 24 May 2011, Jim Cromie wrote: > > > > > >> o

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Javier Martinez Canillas
On Tue, May 24, 2011 at 8:14 PM, DG wrote: > On Tue, May 24, 2011 at 11:47 AM, Robert P. J. Day > wrote: >> On Tue, 24 May 2011, Jim Cromie wrote: >> >>> over at http://code.google.com/p/ldd3/ >>> it says: >>> The famous "Linux Device Drivers" released the sample code. but the >>> code does not r

Re: knewbies project? - updating LDD3 source (Jim Cromie)

2011-05-24 Thread Vikram Narayanan
> over at http://code.google.com/p/ldd3/ > it says: > The famous "Linux Device Drivers" released the sample code. but the > code does not reflect the latest kernel updates, some of code cannot > even compile. This project is to make it compatible with the current > kernel. > > http://lwn.net/Kernel

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread DG
On Tue, May 24, 2011 at 11:47 AM, Robert P. J. Day wrote: > On Tue, 24 May 2011, Jim Cromie wrote: > >> over at http://code.google.com/p/ldd3/ >> it says: >> The famous "Linux Device Drivers" released the sample code. but the >> code does not reflect the latest kernel updates, some of code cannot

Re: knewbies project? - updating LDD3 source

2011-05-24 Thread Robert P. J. Day
On Tue, 24 May 2011, Jim Cromie wrote: > over at http://code.google.com/p/ldd3/ > it says: > The famous "Linux Device Drivers" released the sample code. but the > code does not reflect the latest kernel updates, some of code cannot > even compile. This project is to make it compatible with the cur

knewbies project? - updating LDD3 source

2011-05-24 Thread Jim Cromie
over at http://code.google.com/p/ldd3/ it says: The famous "Linux Device Drivers" released the sample code. but the code does not reflect the latest kernel updates, some of code cannot even compile. This project is to make it compatible with the current kernel. http://lwn.net/Kernel/LDD3/ http://e

Re: Problem registering the Platform ADC driver

2011-05-24 Thread conn intel
> > On Tue, May 24, 2011 at 1:42 PM, Joachim Holst > > wrote: > > > >> > >> Thanks Jocke, for your reply. As you said in your example of > > board-msm7x30.c file which uses platform_add_devices, my board file > > board-icnova_adb4000.c uses platform_device_register for the registration > > of > >

Self modifying code in ARM 11 architectures

2011-05-24 Thread Ashok Babu
Hi All, I am no success in booting up the ARM1176 processor with the linux-2.6.32 kernel. While googling about the ARM Harvard architecture, I came to know that we have to flush/invalidate the D-Cache and I-Cache when using the self modifying codes. So here my questions/doubts : 1) Is'nt it the

Re: Problem registering the Platform ADC driver

2011-05-24 Thread Joachim Holst
> On Tue, May 24, 2011 at 1:42 PM, Joachim Holst > wrote: > >> >> Thanks Jocke, for your reply. As you said in your example of > board-msm7x30.c file which uses platform_add_devices, my board file > board-icnova_adb4000.c uses platform_device_register for the registration > of > all peripherals i

Re: Problem registering the Platform ADC driver

2011-05-24 Thread conn intel
On Tue, May 24, 2011 at 1:42 PM, Joachim Holst wrote: > Hi again! > > Sorry if I answered questions You were already aware of. Was too quick to > answer. > > :-( > > /Jocke! > > Thanks Jocke, for your reply. As you said in your example of board-msm7x30.c file which uses platform_add_devices, my b

Re: Problem registering the Platform ADC driver

2011-05-24 Thread Joachim Holst
Hi again! Sorry if I answered questions You were already aware of. Was too quick to answer. :-( /Jocke! >> Dear Friends, >> >> I am having issue with registering the platform device driver for ADC. >> >> http://pastebin.com/Ym1NTkfL - Link contains the snip code of kernel >> platform device an

Re: Problem registering the Platform ADC driver

2011-05-24 Thread jocke
> Dear Friends, > > I am having issue with registering the platform device driver for ADC. > > http://pastebin.com/Ym1NTkfL - Link contains the snip code of kernel > platform device and driver registration code . > > I have build the driver as module. When I load the driver as module, the > probe