Reply to comment
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.
- Generate new .conf file using menuconfig, to support device-specific drivers for Belkin/Bright. To generate it, run command below, and go to: Device Drivers >>> HID Devices >>> Special HID drivers. Select your keyboard's manufacturer from the list, and off you go. If you'll choose to add it as module, then you'll have to manually install it over your rootfs.
- Compile your kernel
- Deploy your kernel
~$ bitbake -c menuconfig linux-igep2-2.6.28.10-0
It will overwrite .config file in openembedded/build/tmp-igep0020/work/igep0020-angstrom-linux-gnueabi/linux-igep2-2.6.28.10-0-r51/linux-omap-2.6.28.10-igep0020b-0, which is OE's working directory for IGEP kernel. It means, that files in this directory can be overwritten during next bitbake process, so if you wish to save your new .config file for some time later- make a copy of it.
~$ bitbake -f -c compile linux-igep2-2.6.28.10-0
~$ bitbake -f -c deploy linux-igep2-2.6.28.10-0
New uImage can be found under openembedded/build/tmp-igep0020/work/igep0020-angstrom-linux-gnueabi/linux-igep2-2.6.28.10-0-r51/image/boot. It's ready for install on your TFTP server.
TODO: How to install newly added modules over OE rootfs,
TODO: How to make this config default for all IGEP builds (exchanging defconfig in openembedded/recipes/linux/linux-igep2-2.6.28.10-0/igep0020?)
