building a module against given kernel tree (makefile with crosscompiler selection)
nazgee — Thu, 04/22/2010 - 15:05
There are two ways to build a *.ko file for a specific kernel version. New module can be added directly to a kernel source tree, or it can be build outside it. There are pros and cons of both scenarios, so and deciding on a way to go is a matter of personal favour.
Building a module outside a kernel tree is straightforward- all it takes is to use a makefile like the one attached to this text. By editing content of the configuration section shown below you can alter:
- path to the kernel sources that you'd like to finally insert your module to
booting IGEP from LAN (kernel from tftp and rootfs via nfs)
nazgee — Mon, 03/29/2010 - 17:31
To make IGEP boot using kernel and file system hosted locally on your PC, one has to install some additional software and do some tweaking to get it working.
- Prepare a structure of directories to store rootfs and kernel for your project. I like having srv and tftp directories in my home folder, and creating a symbolic link in /srv pointing to those folders
android@android:~$ mkdir ~/srv/tftp/angstrom/X11/igep0020b -p
android@android:~$ mkdir ~/srv/nfs/angstrom/X11/igep0020b -p
android@android:/srv$ sudo ln -s ~/srv/tftp/ /srv/
forcing Eclipse to work with Linux kernel (indexing kernel source)
nazgee — Tue, 02/09/2010 - 00:06
When working with linux kernel, powerful editor with symbols referencing is a must. As I am an Eclipse fan, I spent a lot of time trying to force it to cooperate with kernel. After some struggling I had found a great tutorial, that helped me a lot: http://simonkagstrom.livejournal.com/31079.html. Simon Kågström did a great job there (especially with the perl script), however there are few things I would do other way, e.g. I would not setup a project in kernel's directory, as it makes it even more messy.
So here is "my way" of making Eclipse and kernel come together.
angstrom's kernel reconfiguring to support Belkin/Bright Keyboards
nazgee — Wed, 02/03/2010 - 00:48
Kernel image, which is built for IGEP during bitbake, is by default configured to not support Bright/Belkin USB Keyboard (1241:1503). If support for this device is needed, one has to rebuild kernel with .config file different than default one.
SPIN tutorials
nazgee — Sun, 09/06/2009 - 00:31
This series of articles is going to provide all the support that user of SPIN persistance of vision display might ever need.
Program evolved as integral part of SPIN project. It is used to convert input image (bmp format) to it's equivalent in radial form (either text or plain binary). Binary files are quite specific, and reusing theese may not be straightforward, but you can easily use text files in your persistence of vision projects.
Long, long time ago, when I began to loose my mind and money for RC helis, I came across Lithium-polymer batteries for the first time. My LiPo charger was... let's say "not perfect", so I decided to make something that will suit my needs and satisfy my will of creation - my own LiPo charger with integrated balancer.
LEDs were my fetish since I've managed to light first of them up, using 51 uc. This project is the result of this fascination.
Single SPIN unit is built of two boards:
- each of the two boards has 32 LEDs on each side
- both boards are equipped with single AA battery socket
SPIN can hold up to 16 images (32x256 radial pixels) which can be edited by user. It displays images only if bike is moving fast enough to let ti display persistent images (so it does not consume energy thoughtlessly).
