Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Paul Fertser
Fox Mulder  writes:
> Could it be that i have to issue some command which produces the modules
> tar.gz file?

Oh, man... If you don't want to read ``build'' then please do it by
hand in the root of the build:

rm -rf staging
mkdir -p staging
make ARCH=arm modules_install INSTALL_MOD_PATH=staging
cd staging
tar czf ../modules-whatever.tar.gz .
cd ..

And then scp your modules-whatever.tar.gz to FR and untar to /.

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Fox Mulder
Paul Fertser wrote:
> Hi,
> 
> Fox Mulder  writes:
>> I installed the om toolchain and compiled the 2.6.28 kernel after some
>> help of [1] and google with "./build dummy". After i compiled the kernel
>> i got "dummy/uImage-GTA02.bin" what looks quite good so far.
>> But how do i extract the compiled modules from the dummy directory to
>> package them for transfer to the freerunner?
> 
> You gave a parameter to the build script, so it should have installed
> the modules to the "staging" directory and made a file named
> modules$VERSION.tar.gz . Just scp it to your FR and untar to / .
> 
That's what is also described on the wiki page but there is no modules
tar.gz file. I searched the whole linux-2.6 directory with all subdirs
without luck.

I did a "./build dummy" again and i see that at some point it shows
"Building modules, stage 2.". And after that all modules are listed with
extension *.ko which is correct. After i took a closer look i can see
that within dummy and all these other files are the wanted *.ko files.
But it doesn't exist any archive with all of them in it. Now i could
search for every *.ko file and extract it out of dummy, but i don't
think this is normal. :/

Could it be that i have to issue some command which produces the modules
tar.gz file?

Ciao,
 Rainer

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Paul Fertser
Hi,

Fox Mulder  writes:
> I installed the om toolchain and compiled the 2.6.28 kernel after some
> help of [1] and google with "./build dummy". After i compiled the kernel
> i got "dummy/uImage-GTA02.bin" what looks quite good so far.
> But how do i extract the compiled modules from the dummy directory to
> package them for transfer to the freerunner?

You gave a parameter to the build script, so it should have installed
the modules to the "staging" directory and made a file named
modules$VERSION.tar.gz . Just scp it to your FR and untar to / .

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Fox Mulder
Fox Mulder wrote:
> Paul Fertser wrote:
>> Hi,
>>
>> Fox Mulder  writes:
 Actually, you can try to change from 2.6.24 after applying an ad-hoc
 patch from http://trac.freesmartphone.org/ticket/293 even on old
 version that's provided by Debian (that's exactly what i did a month ago).

>>> Ok.
>>> I downloaded the fso-frameworkd source, copied the patch into it and
>>> applied it without any problems. Now do i install the fso-frameworkd
>>> with "./setup.py install" ?
>> That's distribution-dependent. I'd suggest to apply the patch to the
>> frameworkd you have already installed and change
>> /etc/freesmartphone/oevents/rules.yaml by hand.
>>
>> Or if you want to try to install from source, you probably don't need
>> any patches at all, as you can install a version recent enough (though
>> it's possible that some SHR apps are not ready yet).
>>
>>> But i have the problem that on [1] only the 2.6.28 kernel but no modules
>>> are online. Where do i get the corresponsing modules for this kernel?
>>> Last time i checked there was an older kernel with a modules package but
>>> no more.
>> I think it's assumed that everything you need for everyday work is
>> compiled-in. If you want to use some webcams or other unusual devices,
>> just compile a kernel yourself from git, it's not hard. Or ask Andy to
>> provide all the modules ;)
>>
> I don't think that all modules are compiled in because the current
> kernel is only 896K in size. And the OM kernels are ~1,7M.
> I already though about compiling the freerunner kernel myself having a
> bit knowledge about normal pc linux kernel compilation.
> But for this i have to set up cross compile what i never did before. So
> first i have to find a good how-to which describes how i fetch the
> kernel with git (never used it) and how to cross compile it for my
> freerunner on my pc.
> It would be much easier if i got a working kernel and modules. Maybe
> andy has a bit spare time to update his website. Else i have to jump in
> the cold water and do this on my own. :/

I installed the om toolchain and compiled the 2.6.28 kernel after some
help of [1] and google with "./build dummy". After i compiled the kernel
i got "dummy/uImage-GTA02.bin" what looks quite good so far.
But how do i extract the compiled modules from the dummy directory to
package them for transfer to the freerunner?
On my pc i just would do "make modules_install" to copy the compiled
modules to the right place. And in the subdirectories of the dir "dummy"
are predominantly *.cmd and *.o files but modules normally end with
*.ko. So i don't know what to to at this point to get the modules out of it.

I hope someone can help me a bit. :)

Ciao,
 Rainer


[1]
http://wiki.openmoko.org/wiki/Toolchain#Building_Openmoko_Kernel_from_git_repo_using_Toolchain

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Fox Mulder
Paul Fertser wrote:
> Hi,
> 
> Fox Mulder  writes:
>>> Actually, you can try to change from 2.6.24 after applying an ad-hoc
>>> patch from http://trac.freesmartphone.org/ticket/293 even on old
>>> version that's provided by Debian (that's exactly what i did a month ago).
>>>
>> Ok.
>> I downloaded the fso-frameworkd source, copied the patch into it and
>> applied it without any problems. Now do i install the fso-frameworkd
>> with "./setup.py install" ?
> 
> That's distribution-dependent. I'd suggest to apply the patch to the
> frameworkd you have already installed and change
> /etc/freesmartphone/oevents/rules.yaml by hand.
> 
> Or if you want to try to install from source, you probably don't need
> any patches at all, as you can install a version recent enough (though
> it's possible that some SHR apps are not ready yet).
> 
>> But i have the problem that on [1] only the 2.6.28 kernel but no modules
>> are online. Where do i get the corresponsing modules for this kernel?
>> Last time i checked there was an older kernel with a modules package but
>> no more.
> 
> I think it's assumed that everything you need for everyday work is
> compiled-in. If you want to use some webcams or other unusual devices,
> just compile a kernel yourself from git, it's not hard. Or ask Andy to
> provide all the modules ;)
> 
I don't think that all modules are compiled in because the current
kernel is only 896K in size. And the OM kernels are ~1,7M.
I already though about compiling the freerunner kernel myself having a
bit knowledge about normal pc linux kernel compilation.
But for this i have to set up cross compile what i never did before. So
first i have to find a good how-to which describes how i fetch the
kernel with git (never used it) and how to cross compile it for my
freerunner on my pc.
It would be much easier if i got a working kernel and modules. Maybe
andy has a bit spare time to update his website. Else i have to jump in
the cold water and do this on my own. :/

Ciao,
 Rainer

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Paul Fertser
Hi,

Fox Mulder  writes:
>> Actually, you can try to change from 2.6.24 after applying an ad-hoc
>> patch from http://trac.freesmartphone.org/ticket/293 even on old
>> version that's provided by Debian (that's exactly what i did a month ago).
>> 
> Ok.
> I downloaded the fso-frameworkd source, copied the patch into it and
> applied it without any problems. Now do i install the fso-frameworkd
> with "./setup.py install" ?

That's distribution-dependent. I'd suggest to apply the patch to the
frameworkd you have already installed and change
/etc/freesmartphone/oevents/rules.yaml by hand.

Or if you want to try to install from source, you probably don't need
any patches at all, as you can install a version recent enough (though
it's possible that some SHR apps are not ready yet).

> But i have the problem that on [1] only the 2.6.28 kernel but no modules
> are online. Where do i get the corresponsing modules for this kernel?
> Last time i checked there was an older kernel with a modules package but
> no more.

I think it's assumed that everything you need for everyday work is
compiled-in. If you want to use some webcams or other unusual devices,
just compile a kernel yourself from git, it's not hard. Or ask Andy to
provide all the modules ;)

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Fox Mulder
Paul Fertser wrote:
> Hi,
> 
> Fox Mulder  writes:
>> Paul Fertser wrote:
>>> Sander van Grieken  writes:
> So the question is, when will the default kernel be replaced by the new
> 2.6.28 andy kernel so that userspace tools could be adapted to it?
 That would be my question as well. 

 I only care for userspace to be adapted to test the suspend/resume 
 functionality (on FSO, only frameworkd?).
>>> frameworkd newer than 31 Dec should properly support both kernels. I'm
>>> afraid it's not included in any images yet (please correct me if i am 
>>> wrong).
>> Latest fso-frameworkd in debian is 0.8.4.3-20081215-1 which is older
>> than 31 dec i would guess.
>> I hope a new version comes very soon so i can try to change from 2.6.24
>> to the new 2.6.28 kernel. :)
> 
> Actually, you can try to change from 2.6.24 after applying an ad-hoc
> patch from http://trac.freesmartphone.org/ticket/293 even on old
> version that's provided by Debian (that's exactly what i did a month ago).
> 
Ok.
I downloaded the fso-frameworkd source, copied the patch into it and
applied it without any problems. Now do i install the fso-frameworkd
with "./setup.py install" ?
But i have the problem that on [1] only the 2.6.28 kernel but no modules
are online. Where do i get the corresponsing modules for this kernel?
Last time i checked there was an older kernel with a modules package but
no more.


Ciao,
 Rainer

[1] http://people.openmoko.org/andy/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-06 Thread Sander van Grieken
> Hi,
>
> Fox Mulder  writes:
>> Paul Fertser wrote:
>>> Sander van Grieken  writes:
> So the question is, when will the default kernel be replaced by the new
> 2.6.28 andy kernel so that userspace tools could be adapted to it?
 That would be my question as well.

 I only care for userspace to be adapted to test the suspend/resume
 functionality (on FSO, only frameworkd?).
>>>
>>> frameworkd newer than 31 Dec should properly support both kernels. I'm
>>> afraid it's not included in any images yet (please correct me if i am 
>>> wrong).
>>
>> Latest fso-frameworkd in debian is 0.8.4.3-20081215-1 which is older
>> than 31 dec i would guess.
>> I hope a new version comes very soon so i can try to change from 2.6.24
>> to the new 2.6.28 kernel. :)
>
> Actually, you can try to change from 2.6.24 after applying an ad-hoc
> patch from http://trac.freesmartphone.org/ticket/293 even on old
> version that's provided by Debian (that's exactly what i did a month ago).

Aah exactly what I was looking for, thanks Paul.

grtz,
Sander



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread Paul Fertser
Hi,

Fox Mulder  writes:
> Paul Fertser wrote:
>> Sander van Grieken  writes:
 So the question is, when will the default kernel be replaced by the new
 2.6.28 andy kernel so that userspace tools could be adapted to it?
>>> That would be my question as well. 
>>>
>>> I only care for userspace to be adapted to test the suspend/resume 
>>> functionality (on FSO, only frameworkd?).
>> 
>> frameworkd newer than 31 Dec should properly support both kernels. I'm
>> afraid it's not included in any images yet (please correct me if i am wrong).
>
> Latest fso-frameworkd in debian is 0.8.4.3-20081215-1 which is older
> than 31 dec i would guess.
> I hope a new version comes very soon so i can try to change from 2.6.24
> to the new 2.6.28 kernel. :)

Actually, you can try to change from 2.6.24 after applying an ad-hoc
patch from http://trac.freesmartphone.org/ticket/293 even on old
version that's provided by Debian (that's exactly what i did a month ago).

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread Fox Mulder
Paul Fertser wrote:
> Hi,
> 
> Sander van Grieken  writes:
>>> So the question is, when will the default kernel be replaced by the new
>>> 2.6.28 andy kernel so that userspace tools could be adapted to it?
>> That would be my question as well. 
>>
>> I only care for userspace to be adapted to test the suspend/resume 
>> functionality (on FSO, only frameworkd?).
> 
> frameworkd newer than 31 Dec should properly support both kernels. I'm
> afraid it's not included in any images yet (please correct me if i am wrong).

Latest fso-frameworkd in debian is 0.8.4.3-20081215-1 which is older
than 31 dec i would guess.
I hope a new version comes very soon so i can try to change from 2.6.24
to the new 2.6.28 kernel. :)

Ciao,
 Rainer

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread arne anka
> I have no SIM inserted so it should not be a Calypso problem.

i am not sure if simply not inserting a sim completely disables the  
calypso. in fact, from my limited understanding of the issue and the  
little that is left month later i can imagine scenarios where not having a  
sim inserted might just make things worse ...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread Paul Fertser
Hi,

Sander van Grieken  writes:
>> So the question is, when will the default kernel be replaced by the new
>> 2.6.28 andy kernel so that userspace tools could be adapted to it?
>
> That would be my question as well. 
>
> I only care for userspace to be adapted to test the suspend/resume 
> functionality (on FSO, only frameworkd?).

frameworkd newer than 31 Dec should properly support both kernels. I'm
afraid it's not included in any images yet (please correct me if i am wrong).

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread Sander van Grieken
On Monday 05 January 2009 15:29:54 Fox Mulder wrote:
> David Garabana Barro wrote:
> > On Monday 05 January 2009 14:45:26 Fox Mulder wrote:
> >> Hi all,
> >>
> >> many mails i read in the kernel mailing list show that newer patches
> >> should only be applied to andy-tracking kernel and no more to the old
> >> 2.6.24 om kernel.
> >
> > I forgot to say
> >
> > Please, try it and let us know if it solves also your problems. :)
>
> You mean i should try the "never deep sleep" thing?
>
> If you give me a hint how to activate this feature i will try it. But i
> have to say that most times i tried suspend zhone was not running and
> therefore my gsm wasn't activated.

I see the same behaviour: suspend just after resume works, but if the FR is 
suspended for a longer time it does not always resume and the screen stays 
black.

I have no SIM inserted so it should not be a Calypso problem.

I was looking at the WSOD bug thinking it might manifest itself differently 
because I have no SIM, but I still have to check if ssh-ing works when this 
occurs.

> So the question is, when will the default kernel be replaced by the new
> 2.6.28 andy kernel so that userspace tools could be adapted to it?

That would be my question as well. 

I only care for userspace to be adapted to test the suspend/resume 
functionality (on FSO, only frameworkd?).

If one of the devs could give some pointers on what should change I can have a 
go at it :)

grtz,
Sander

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread David Garabana Barro
On Monday 05 January 2009 15:29:54 Fox Mulder wrote:

> If you give me a hint how to activate this feature i will try it. But i
> have to say that most times i tried suspend zhone was not running and
> therefore my gsm wasn't activated.

On /etc/frameworkd.conf

[ogsmd]
ti_calypso_deep_sleep = never
modemtype = ti_calypso


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread Klaus Kurzmann
* Fox Mulder  [090105 15:34]:
> David Garabana Barro wrote:
> > On Monday 05 January 2009 14:45:26 Fox Mulder wrote:
> >> Hi all,
> >>
> >> many mails i read in the kernel mailing list show that newer patches
> >> should only be applied to andy-tracking kernel and no more to the old
> >> 2.6.24 om kernel.
> > 
> > I forgot to say
> > 
> > Please, try it and let us know if it solves also your problems. :)

> You mean i should try the "never deep sleep" thing?

> If you give me a hint how to activate this feature i will try it. But i
> have to say that most times i tried suspend zhone was not running and
> therefore my gsm wasn't activated.
in /etc/frameworkd.conf:

[ogsmd]
ti_calypso_deep_sleep = never

mrmoku


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread Fox Mulder
David Garabana Barro wrote:
> On Monday 05 January 2009 14:45:26 Fox Mulder wrote:
>> Hi all,
>>
>> many mails i read in the kernel mailing list show that newer patches
>> should only be applied to andy-tracking kernel and no more to the old
>> 2.6.24 om kernel.
> 
> I forgot to say
> 
> Please, try it and let us know if it solves also your problems. :)

You mean i should try the "never deep sleep" thing?

If you give me a hint how to activate this feature i will try it. But i
have to say that most times i tried suspend zhone was not running and
therefore my gsm wasn't activated.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread David Garabana Barro
On Monday 05 January 2009 14:45:26 Fox Mulder wrote:
> Hi all,
>
> many mails i read in the kernel mailing list show that newer patches
> should only be applied to andy-tracking kernel and no more to the old
> 2.6.24 om kernel.

I forgot to say

Please, try it and let us know if it solves also your problems. :)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread David Garabana Barro
On Monday 05 January 2009 14:45:26 Fox Mulder wrote:
> Hi all,
>
> many mails i read in the kernel mailing list show that newer patches
> should only be applied to andy-tracking kernel and no more to the old
> 2.6.24 om kernel.
> Especially the suspend/resume behaviour seems to be a big problem with
> the 2.6.24 kernel. I install about once a week a new 2.6.24 kernel in
> debian but in the last few weeks the suspend behaviour didn't change
> anymore.

On my experience, it has nothing (or nearly nothing) to do with kernel, but to 
#1024 (bouncing calypso). I'm suffering from this bug since I bought my FR on 
September. I also had a lot of suspend/resume problems, with every distro I 
tried (and I tried nearly all).

At first I though that they were different problems. #1024 made that I lose 
some calls, and on the other hand sometimes I couldn't resume from sleep. 

But since I'm using SHR, with recommended 2.6.24 kernel and "never deep sleep" 
activated, I had not ONE SINGLE problem with suspend/resume nor with lost 
calls. It simply suspends and resumes every time I try it, and I receive all 
calls.

I'm not saying there were not other problems with kernel and suspend, but with 
a recent 2.6.24 kernel and "never_deep_sleep", it works like a charm for me. 
If I don't activate "never_deep_sleep", It behaves as any other distro I 
tried. It sometimes don't resume, and I lose some calls.

I hope #1024 is resolved ASAP. I think this will solve nearly all problems 
people has trying to use FR as daily phone.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


When will kernel 2.6.24 be replaced by andy 2.6.28 kernel for better suspend/resume?

2009-01-05 Thread Fox Mulder
Hi all,

many mails i read in the kernel mailing list show that newer patches
should only be applied to andy-tracking kernel and no more to the old
2.6.24 om kernel.
Especially the suspend/resume behaviour seems to be a big problem with
the 2.6.24 kernel. I install about once a week a new 2.6.24 kernel in
debian but in the last few weeks the suspend behaviour didn't change
anymore.

I can suspend/resume for short periods within a few hours mostly without
problems. But as soon as i suspend/resume for a longer period like 12 or
more hours it doesn't work reliable. Many times i got a drained battery
after such a long suspend.
With every suspend/resume i log the battery loss to a text file which
shows that a suspend for such a longer time should be no problem, but it
fails about every second time.

I read that the suspend/resume behaviour in andy-tracking has been
reworked quite a bit. So i want to try the new kernels but at the moment
they are not 100% compatible with the userspace tools in the distros.
And there is no source for getting a recent 2.6.28 kernel with modules.
On [1] the kernel is only rarely updated and the modules package is
missing many times.

So the question is, when will the default kernel be replaced by the new
2.6.28 andy kernel so that userspace tools could be adapted to it?

The not working longer suspend/resume is for me the main problem at the
monent with my freerunner. :/

I hope this mail doesn't sound to pessimistic because i really love my
freerunner. But i think that the development of the new kernel would get
much more feedback if the normal user get the chance to try it without
compiling it himself. :)

Ciao,
 Rainer

[1] http://people.openmoko.org/andy/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community