Re: [maemo-developers] compiling kernel Re: Fwd: [maemo-users] howto use the 770 as wlan-card replacement?

2006-01-13 Thread Ilkka Poutanen
On Fri, Jan 13, 2006 at 11:44:55AM +0100, Delitsyn Igor wrote:
> I´ve compiled the kernel exactly like Clemens said and I´ve also used ´make 
> n770_defconfig´ like Ed proposed. Then I´ve used flasher to flash the kernel. 
> The problem is, in both cases the kernel works, the system starts loading and 
> just before the actual start it hangs and after a while the device restarts. 
> If I flash the original kernel extracted from FIASCO image back to the 
> device, it works just fine. Do you have any ideas on how to fix the problem?

In my experience this is due to initfs inconsistency as somebody already
pointed out.

IIRC there's a module or two that don't get built from the kernel
sources, possibly because of license issues. In other words, just
replacing the old modules in /mnt/initfs/lib/modules/current with the
ones that *do* get built isn't enough, you also need the binary-only
ones.

Replacing only the ones that do get built and using the old versions of
the other ones might work but I've never tried it myself.


-- 
Ilkka Poutanen, research assistant
Tampere University of Technology, Institute of Software Systems
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] compiling kernel Re: Fwd: [maemo-users] howto use the 770 as wlan-card replacement?

2006-01-13 Thread Delitsyn Igor
Hi,

I´ve compiled the kernel exactly like Clemens said and I´ve also used ´make 
n770_defconfig´ like Ed proposed. Then I´ve used flasher to flash the kernel. 
The problem is, in both cases the kernel works, the system starts loading and 
just before the actual start it hangs and after a while the device restarts. 
If I flash the original kernel extracted from FIASCO image back to the 
device, it works just fine. Do you have any ideas on how to fix the problem?

Best regards,
Igor

Ed Bartosh wrote:

> On Wed, 2006-01-04 at 10:10, ext Frantisek Dufka wrote:
>> Clemens Eisserer wrote:
>> >  I   don't feel that comfortable with compiling my own kernel
>> > with all the nokia patches for this exotic device ;)
>> 
>> It is not so hard. N770 specific kernel sources are here
>> http://repository.maemo.org/pool/maemo1.1rc6/free/k/kernel-source-2.6.12.3/
>> original kernel config is here
>> http://maemo.org/maemowiki/KernelConfig
>> 
>> You just need to unpack/install it, copy kernel config to .config and do 
>> usual 'make oldconfig; make menuconfig; make'
>
> I'd suggest to just 'make n770_defconfig' instead of copy&paste config from 
> wiki.
>
> -- 
> Best regards,
> Ed
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] compiling kernel Re: Fwd: [maemo-users] howto use the 770 as wlan-card replacement?

2006-01-04 Thread Ed Bartosh
On Wed, 2006-01-04 at 10:10, ext Frantisek Dufka wrote:
> Clemens Eisserer wrote:
> >  I   don't feel that comfortable with compiling my own kernel
> > with all the nokia patches for this exotic device ;)
> 
> It is not so hard. N770 specific kernel sources are here
> http://repository.maemo.org/pool/maemo1.1rc6/free/k/kernel-source-2.6.12.3/
> original kernel config is here
> http://maemo.org/maemowiki/KernelConfig
> 
> You just need to unpack/install it, copy kernel config to .config and do 
> usual 'make oldconfig; make menuconfig; make'

I'd suggest to just 'make n770_defconfig' instead of copy&paste config from 
wiki.

-- 
Best regards,
Ed
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] compiling kernel Re: Fwd: [maemo-users] howto use the 770 as wlan-card replacement?

2006-01-04 Thread Frantisek Dufka

Clemens Eisserer wrote:

 I   don't feel that comfortable with compiling my own kernel
with all the nokia patches for this exotic device ;)


It is not so hard. N770 specific kernel sources are here
http://repository.maemo.org/pool/maemo1.1rc6/free/k/kernel-source-2.6.12.3/
original kernel config is here
http://maemo.org/maemowiki/KernelConfig

You just need to unpack/install it, copy kernel config to .config and do 
usual 'make oldconfig; make menuconfig; make'


Beware that you need 3.4 gcc compiler. I used gcc3.4.cs-glibc-0.9.8.5 
from scratchbox

http://scratchbox.org/download/files/sbox-releases/0.9.8/tarball/
because I have scratchbox installed anyway and this compiler was 
probably used to compile the original kernel (see /proc/version on the 
device)
But I did not compile it inside scratchbox arm or i386 target, just 
directly in i386 debian (in colinux on XP machine :) with

/scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin
prepended to PATH

Frantisek

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers