Re: writing boot loader

2010-12-17 Thread Wouter Simons
On 12/17/2010 08:03 AM, Adam Lee wrote: On Fri, Dec 17, 2010 at 2:36 PM, vamidhar s vamsidhar@gmail.com wrote: bcm53003 processod,bootloader has to done all low level initialisation low level initialisation? not the part I'm doing. broadcom haven't done this? This is like listening

Re: SRIO user level interface

2010-12-15 Thread Wouter Simons
On 12/16/2010 07:39 AM, Asha R wrote: Please help me in understanding about how to create endpoint in /dev directory. I do not know the driver you speak off, but the device nodes are made based on functions in the driver and mknod when loading the driver or udev. Does your driver implement

Re: EXPORT_SYMBOL

2010-12-13 Thread Wouter Simons
On 12/14/2010 06:00 AM, Hemanth Kumar wrote: Hi Mulyadi and Robert, [...] itor disable module versioning entirely... Thanks for your time and suggestions,I solved this problem, I added the two modules in kernel dir(driver/misc/),updated Makefile,Kconfig file

Re: EXPORT_SYMBOL

2010-12-10 Thread Wouter Simons
if rday_3 was exported properly, i don't see why it shouldn't be visible when this module is loaded. anyone else have some thoughts on this? this clearly worked in the past. rday The code looks fine, the only time I ever had similar issues was when I had my module license

Re: is there still an active kernel janitors project?

2010-11-25 Thread Wouter Simons
On 11/25/2010 10:08 AM, Daniel Baluta wrote: Hi, On Thu, Nov 25, 2010 at 10:41 AM, Robert P. J. Day rpj...@crashcourse.ca wrote: so i'm still waiting for an answer to my original question -- is there, in fact, an active kernel janitors page that has a list of pending janitorial work?

Re: how does kernel detects presence of a particular device

2010-11-03 Thread Wouter Simons
On 11/03/2010 03:46 AM, Tapas Mishra wrote: As far as I understand once the probe function(Not too sure) detects or kernel detects then the driver would be looked up and control would be handed over to driver. If this is correct then how does probe works? Or how a particular device's presence

Re: ethernet registers

2010-11-03 Thread Wouter Simons
On 11/03/2010 12:58 PM, Tapas Mishra wrote: http://lxr.free-electrons.com/source/drivers/net/8139too.c#L289 I want to know what should I search to be able to understand the value of the registers given on above link. That sort of stuff is defined in datasheets, try here:

Re: /dev/mem

2010-10-28 Thread Wouter Simons
On 10/27/2010 06:54 PM, Rajat Sharma wrote: In any case, no one can claim its not security hole, it is definitely, but only restricted to privileged processes. Any of the vulnerable process can make life easy for hackers. Also no one can build 100% secure system. This is non-sense. It is a

Re: /dev/mem

2010-10-28 Thread Wouter Simons
On 10/28/2010 04:55 PM, Dave Hylands wrote: Hi Rajat, On Thu, Oct 28, 2010 at 2:41 AM, Rajat Sharma fs.ra...@gmail.com wrote: This is non-sense. It is a feature. I need it when working on my ARM based system and trying to debug some hardware that needs writing to specific memory locations.

Re: Learning harware ...

2010-10-18 Thread Wouter Simons
On 10/16/2010 06:01 PM, Abu Rasheda wrote: Trying once more. It did not show up in my mail box. Any suggestions ? Kernel newbies list has seen hardware related questions and good explanation by Dave, Stephan Greg. What I want is some directions. I know C well and have done kernel

Re: Trouble making module

2010-10-13 Thread Wouter Simons
On 10/13/2010 12:20 PM, Robert P. J. Day wrote: On Wed, 13 Oct 2010, Dave Hylands wrote: That looks reasonable, although the normal way of specifying multiple files in an object is like: obj-m := composite_driver.o composite_driver-objs := file1.o file2.o which is what you mentioned with

Re: Trouble making module

2010-10-12 Thread Wouter Simons
On 10/12/2010 12:30 PM, shivanth m p wrote: On Tue, Oct 12, 2010 at 12:43 PM, Wouter Simons l...@woutersimons.org mailto:l...@woutersimons.org wrote: On 10/11/2010 05:20 PM, shivanth m p wrote: I created a kernel module for the 2.6.33 kernel outside the kernel source

Re: Linux and Android

2010-08-20 Thread Wouter Simons
On 08/20/2010 08:40 AM, Tony Miller wrote: I have read a few articles that suggest that they are actually quite different. http://mjg59.livejournal.com/100221.html Well, the article starts by saying two things: 1. I was not hired and may be bitter 2. Android is a Linux Kernel What is true is

Re: linux/module.h does not exist

2010-08-20 Thread Wouter Simons
On 08/20/2010 01:53 AM, Tapas Mishra wrote: Ok I looked at man page of gcc and searched for DMODULE D__KERNEL and DLINUX got following Pattern not found (press RETURN) GCC does not have information about compiling the kernel. The information that you were suggested to read it how to

Re: How does kernel know the IRQ of a device loaded dynamically

2010-08-12 Thread Wouter Simons
On 08/12/2010 03:28 PM, Parmenides wrote: Hi, For some traditional devices, such as floppy, keyboard, etc, the IRQ is static, and their drivers know corresponding IRQs to register their ISR. While for other devices hot plugged, such as USB devices, how does the PIC or APIC allocate the IRQs