HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Kernel Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=6)
-   -   Precompiled kernel with Nokia DKU-2 (http://www.howtoforge.com/forums/showthread.php?t=6785)

the87boy 11th September 2006 14:49

Precompiled kernel with Nokia DKU-2
 
Hey

I'm having some problems, because I'm going to USA soon, and I'm going to have a mobile phone connected to my mobile phone, while I'm overthere, so I can send smses to my friends and so on
I have a Nokia 6230i, I will like to have connected to my computer
Otherwise I'm searching for a precompiled kernel, where usb_serial.h is included

falko 12th September 2006 16:11

Quote:

Originally Posted by the87boy
Otherwise I'm searching for a precompiled kernel, where usb_serial.h is included

I don't know where you can find such a kernel... Maybe it's easier to compile your own one?

the87boy 12th September 2006 16:14

I have given it a try, but it wasn't successful
I had a config-file, but it's failing everytime, so if someone can compile it for me, I will be very happy

Ben 12th September 2006 16:22

Can you copy any output why it is failing and what you are doing stepy by step maybe it is easier to help then...

Is it failing while compiling or on reboot?

the87boy 12th September 2006 16:25

Quote:

Originally Posted by Ben
Can you copy any output why it is failing and what you are doing stepy by step maybe it is easier to help then...

Shall I also copy the whole config file in here or?

Quote:

Originally Posted by Ben
Is it failing while compiling or on reboot?

It's failing on compiling

falko 12th September 2006 17:36

Quote:

Originally Posted by the87boy
It's failing on compiling

Just post this error for now.

the87boy 13th September 2006 14:18

1 Attachment(s)
Now I had compiled it with just this errors, who are written in the zipped log-file, I had attached.
Now I can't remember, what I have to do, and the howto, I had followed isn't avaible more
I had compiled the kernel with this commando:
Code:

make-kpkg --revision=custom.1.0 --initrd --rootcmd fakeroot binary-arch
Shall I just use this commandoes:
Code:

dpkg -i linux-image-2.6.17.11_custom.1.0_i386.deb linux-headers-2.6.17.11_custom.1.0_i386.deb
And then just reboot or what?

Ben 13th September 2006 14:45

Ah I thought of compiling the "real" source from kernel.org with "patching" or adding the dku2 sources....

the87boy 13th September 2006 14:54

It was also my meaning, but I couldn't find out of how to do that, so I will make the DKU-2 driver as a module (as described on the http://www.gnokii.org/docs.shtml#dku2) when I can't find out of the other thing

Ben 13th September 2006 15:29

Well I would use this:

Quote:

Install

* Get / configure / build a set of kernel sources.
* make sure that you are running this kernel, and /lib/modules/`uname -r`/build points to the kernel sources directory
* cd $gnokii_sources/patches/kernel_2.{4,6}
* make
* Become root
* make install
* modprobe nokia_dku2
* dmesg
* Look for the lines as shown above!
* Edit .gnokiirc to include port=/dev/ttyUSB.. and connection=dku2
For the first part I would download the actual kernel image from kernel.org,
unzip it in e.g. /usr/local/src
cd into the kernel dir
if you already have a kernel config for that kernel tree (eihter 2.4 or 2.6) copy it into that dir
run "make menuconfig" and change things which you need or do not need.
then run the above steps till make (excluding make) and run
"make bzImage modules modules_install"

then follow the rest.

at least do

cp arch/i386/boot/bzImage /boot/kernel-2.X.XX.X
cp System.map /boot/System.map-2.X.XX.X
cp .config /boot/.config-2.X.XX.X

the rest depends now on your bootloader config if it is lilo or grub...


All times are GMT +2. The time now is 20:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.