[Angstrom-devel] h5000 - better support in defconfigman

Michal Panczyk mpanczyk at gmail.com
Tue Feb 5 00:49:29 CET 2008


I am not sure how is defconfig generated for h5000 in angstrom, but
Paul Sokolovsky announced an RFC on ths ML some time ago to generate
defconfigs for linux-handhelds machines using defconfigman.  If it is
not the desired way to generate them - let me know - I will just fill
necessary kernel options to bugzilla.

So I attach 3 files :
h5000_fix_defconfigman.patch - which includes all the changes that I
made, touching original files in minimal way

h5000.conf and h5000_crossport.patch - including _alternative_ way to
achieve the same result.

The difference is the style of changes in h5000.conf - the alternative
way changes the structure of the file - every machine feature except
for [machine.builtin] is in alphabetical layout. To me, it is clearer
this way.
Another thing, included in alternative files, are uncategorized kernel
options, for which I did not find any proper place in structure of
defconfigman file: options supporting buzzer and fingerprint scanner.
There should be another feature put there - light sensor, but it does
not come as an option in kernel.
Also some options were removed (commented out) as they no longer exist
in the kernel.

The kernel configuration file, generated using patched defconfigman,
differs in better bluetooth support (HCI_UART built for kernel),
proper sound options and finally usb-host and wifi (just the basic
driver) built as modules.

What this brings - generally bluetooth support (works when ), and some
progress to get the sound working (I have play with alsamixer now, but
I didn't manage to hear any sound.... yet).

Some more comments that may answer question coming after studding the changes :
In [machine.flash] options
#kernel.subsys.mtd.block=y
MTD_BLKDEVS=y
MTD_BLOCK=y
_should_ mean the same, but defconfigman interprets
kernel.subsys.mtd.block=y as modules and it is impossible to boot
without kernel panic.

GPIODEV_DIAGONAL works quite well - every key is supported in opposite to
GPIODEV_KEYS2 where only power button is seen by the system (as
/dev/input/input1)

Sleeve support in current state is currently impossible - it breaks
compilation when CPU_FREQ is selected (gcc mentions something about
frequency change...)


The changes I propose can close bugs:
 2628:  No audio driver (ak4535?) built for h5000,
 3549:  h5000 bluetooth support missing,
and after some minor adaptation (categorize IPAQ_SAMCOP_FSI )
 3560:  h5000 fingerprint scanner driver not compiled .

If anyone has some comments, I will patiently listen to them....

Cheers
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h5000_fix_defconfigman.patch
Type: application/octet-stream
Size: 1975 bytes
Desc: not available
Url : http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/attachments/20080205/6d3ee01f/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h5000.conf
Type: application/octet-stream
Size: 1453 bytes
Desc: not available
Url : http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/attachments/20080205/6d3ee01f/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h5000_crossport.patch
Type: application/octet-stream
Size: 563 bytes
Desc: not available
Url : http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/attachments/20080205/6d3ee01f/attachment-0005.obj 


More information about the Angstrom-distro-devel mailing list