Skip to contentSkip to conversation

Some questions on configuring OE

DISCUSSION Dr. H. Nikolaus Schaller 2 participants 2 messages Feb 10, 2008 – Feb 11, 2008

lore
Share & tools
lore
#0 lore raw

I am trying to use OE and the MokoMakefile to build an OABI OpenMoko version for the Neo GTA01 - and for the Acer n30 PDA.

So far I succeeded in building everything without errors on a Debian Etch machine but it does not run. The Neo does not complete booting to X11 and the last message on the boot screen is

mcblk0: mmc0:e624 SU512 495488KiB
mmcblk0: p1

Pressing the power key produces messages like:
pcf50606_irq:entering(irq=53, pcf=c0555800): scheduling work
pcf50606_work: INT=0x42 INT2=0x00 INT3=0x00:ONKEYF SECOND pcf50606_irq:entering(irq=53, pcf=c0555800): scheduling work
pcf50606_work: INT=0x01 INT2=0x00 INT3=0x00:ONKEYR

but nothing else... The AUX button produces a ^@ on the console.

Before that there are some messages about initializing Bluetooth, CDC Ethernet, mouting the .jffs2 as root but no error messages.

The Acer n30 hangs in the X11 touchscreen calibration because the touch does not work. And the power management is worse than the one in the old Letux kernel. So I suspect that not all patches are applied when using the default machine/acern30.conf of OE.

What I need is some help how to configure the build system properly (unfortunately, chapters 7&8 of http://www.uv-ac.de/openembedded/openembedded-7.html are not completed).

Questions:
1. I could not find out if and which of the Letux n30 patches have been included to the MACHINE = "acern30" so far
2. if not, I have some patch files from the Letux project - but how and where should I configure those?
3. What do I need to change to compile OpenMoko for OABI so that it really boots?

Many thanks for any hints how to proceed,
Nikolaus

#1 lore raw

Hi,

Quoted 4 lines · Dr. H. Nikolaus Schaller

The Acer n30 hangs in the X11 touchscreen calibration because the touch does not work. And the power management is worse than the one in the old Letux kernel. So I suspect that not all patches are applied when using the default machine/acern30.conf of OE.

If the touchscreen issue is not a kernel problem check your /etc/X11/Xserver script (from xserver-(kdrive-)common package) if it has support for your device.

Quoted 3 lines

Questions:
1. I could not find out if and which of the Letux n30 patches have been included to the MACHINE = "acern30" so far

The acern30.conf defines that the linux_2.6.14.bb is used. So unless something else overrides this (your local.conf or the distro maybe) you will get 2.6.14 which applies a lot of patches for the n30. You would have to check linux_2.6.14.bb what these patches are and where they come from.

Quoted 2 lines

2. if not, I have some patch files from the Letux project - but how and where should I configure those?

Just add them to the linux kernel bb. The default linux_2.6.14.bb is a good example how additional machine dependent patches are applied.

Quoted 2 lines

3. What do I need to change to compile OpenMoko for OABI so that it really boots?

I don't think there are special needs for OpenMoko, its a setting in the distro definition you use. angstrom-2008.1-legacy.conf should contain the bits doing the right thing.

Greetings

Florian

Signature · 6 lines
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-15
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        [email protected]

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76