Your request totally lacks any information that might permit somebody to help you.
What are you trying to add? What have you already done for yourself? What are you unsure of?
If in doubt, start by:
- Describing what you intend to create so you have a clear idea of what you are aiming at
- Reading the kernel documentatation on the related subsystems (ie if it's a USB device driver, the drivers/usb subsystem and its' documentation)
- Doing at least a rough design of how what you are trying to create will work and how it will hook into the kernel. If you have problems at this stage, it is appropriate to ask SPECIFIC questions that CLEARLY EXPLAIN what you are doing and what you are having problems understanding.
Am plznning to add my own scheduler to the existing kernel. Before writing scheduler program , I want to remove some unwanted drivers that is not required for my board. I want only the bare minimum kernel. If u know could you
plz help me.
I removed the chararacter drivers from /usr/src/linux-2.4.24/drivers/ folder but its not compiling its giving an error. I dont know how to do it.
Am waitning for you reply.
In my source directory I want only the kernel related folders. I dont want anything from menuconfig .
I want to delete the drivers folder itself, I deleted the drivers folder from source but its giving lot of errors, can anybody help me. After deleting the drivers folder what I need to remove from the Makefile .
Look, if you want to build your own kernel then everything you want is in the menuconfig. All the drivers and options are there, you don't make choices by deleting the source files. If you don't understand the menuconfig options then you just have to take your time and learn. And yes, it is quite a big task if you're in it for the first time.
Calm down: use the full kernel tree to build the kernel. It comes with a configuration tool to strip out the bits you don't want. 'make config', 'make menuconfig' and 'make guiconfig' are three means to configure the tree to build only what you want. Building the kernel from a full tree configured to your needs is far more likely to successfully build a working kernel.
> In my source directory I want only the kernel related folders. I dont want anything from menuconfig .
Ehh, you are not making any sense. menuconfig is part of the kernel. It's what you use to select what drivers to build (and thus include in the kernel) - along with configuring various other aspects of the kernel.
> I want to delete the drivers folder itself, I deleted the drivers folder from source but its giving lot of errors,
Ofcourse it is giving lots of errors. You just broke the kernel source. Don't do that.
> can anybody help me.
Don't delete parts of the kernel source. Just use the configuration system to choose what to build.
> After deleting the drivers folder what I need to remove from the Makefile .
Forget it, you are never going to get it working like that...
Hi,
How can i set the ethernet mode like 100baseTx,10baseT etc.
When a driver is module is loaded.
I know We can set the ethernet type through mii-diag ,mii-tool.
I dont know how can set these types when driver module is loaded
Is there any command line option when driver module is loaded.?
If yes, where can i set it.
I want know above things for 2.6 kernel
kernelnewbies.org
kernelnewbies.org
Information void
Your request totally lacks any information that might permit somebody to help you.
What are you trying to add? What have you already done for yourself? What are you unsure of?
If in doubt, start by:
- Describing what you intend to create so you have a clear idea of what you are aiming at
- Reading the kernel documentatation on the related subsystems (ie if it's a USB device driver, the drivers/usb subsystem and its' documentation)
- Doing at least a rough design of how what you are trying to create will work and how it will hook into the kernel. If you have problems at this stage, it is appropriate to ask SPECIFIC questions that CLEARLY EXPLAIN what you are doing and what you are having problems understanding.
I want to remove all unwanted device driver in existing kernel
Hi ,
Am plznning to add my own scheduler to the existing kernel. Before writing scheduler program , I want to remove some unwanted drivers that is not required for my board. I want only the bare minimum kernel. If u know could you
plz help me.
I removed the chararacter drivers from /usr/src/linux-2.4.24/drivers/ folder but its not compiling its giving an error. I dont know how to do it.
Am waitning for you reply.
Thnx in advance.
Bheem
don't remove the source
don't remove the source code. Use 'make menuconfig' to de-select drivers you don't want to compile.
I want remove the source code of drivers,
Hi,
In my source directory I want only the kernel related folders. I dont want anything from menuconfig .
I want to delete the drivers folder itself, I deleted the drivers folder from source but its giving lot of errors, can anybody help me. After deleting the drivers folder what I need to remove from the Makefile .
Regards
bheem
Look, if you want to build
Look, if you want to build your own kernel then everything you want is in the menuconfig. All the drivers and options are there, you don't make choices by deleting the source files. If you don't understand the menuconfig options then you just have to take your time and learn. And yes, it is quite a big task if you're in it for the first time.
Mate, Calm down: use the
Mate,
Calm down: use the full kernel tree to build the kernel. It comes with a configuration tool to strip out the bits you don't want. 'make config', 'make menuconfig' and 'make guiconfig' are three means to configure the tree to build only what you want. Building the kernel from a full tree configured to your needs is far more likely to successfully build a working kernel.
Don't do that.
> In my source directory I want only the kernel related folders. I dont want anything from menuconfig .
Ehh, you are not making any sense. menuconfig is part of the kernel. It's what you use to select what drivers to build (and thus include in the kernel) - along with configuring various other aspects of the kernel.
> I want to delete the drivers folder itself, I deleted the drivers folder from source but its giving lot of errors,
Ofcourse it is giving lots of errors. You just broke the kernel source. Don't do that.
> can anybody help me.
Don't delete parts of the kernel source. Just use the configuration system to choose what to build.
> After deleting the drivers folder what I need to remove from the Makefile .
Forget it, you are never going to get it working like that...
set ethernet mode
Hi,
How can i set the ethernet mode like 100baseTx,10baseT etc.
When a driver is module is loaded.
I know We can set the ethernet type through mii-diag ,mii-tool.
I dont know how can set these types when driver module is loaded
Is there any command line option when driver module is loaded.?
If yes, where can i set it.
I want know above things for 2.6 kernel
I really appreciate your help!!