Hi .... I want to Develop Linux Board Supported Packages for mini2440. Can some one Guide me .... How to start and where to start .... Is there any Document for this ? Thanks in Advance ....
How to Develop LINUX BSP for mini2440
Which BSPs targeted at the mini2440 have you used? Are you able to compare their performances? Do you understand how they work? Maybe, an explanation of what you hope to achieve might bring some useful answers.
Hi .... If i want to write a module program for I2C based devices for mini2440. The I2C kernel code is broken up into a number of logical pieces: the I2C core, I2C bus drivers, I2C algorithm drivers and I2C chip drivers. I need to use/include these above header file in my module. so i want to write my module from the scratch with independent to kernel. can you guide me ? If I'm wrong please excuse me ....
Ah, so you want to modify a kernel module. Right? http://oreilly.com/openbook/linuxdrive3/book/ I, with quite a bit of help, managed to modify the SPI driver to work on the mini2440. So, I can only suggest looking at other people's work and Google to try to understand what needs changing. "independent to kernel"? Are you aware there is a significant way different hardware platforms are being handled in newer kernel versions? see Device trees. You just might spend quite a bit of effort and find that it does not conform to the new methodology.
If you want to write a device driver for an I2C device you just program a I2C slave device. An I2C slave device is connected to an I2C bus. And your I2C slave device driver only needs to know the I2C bus it is connected to. You don't need to know anything about the I2C master that puts your data onto this bus. You should program your slave without any knowledge and assumption about the I2C master driver to be as architecture independent as possible. That is why you should write a driver for an I2C slave device, not for the Mini2440. This new driver will then run on the Mini2440 (or Mini6410 or Mini210 and so on) if the I2C slave device is populated on one of these boards.