QUOTE(Martin @ Jan 12 2007, 08:05 PM)
I want to use my serial keyboard with my Simpad ... I found a nice, small howto here ...
but have problems with making a new kernel ...
same procedure with crosscompile on my laptop :-( getting to work and not to destroy my other compiling environment ... using gcc 4.x
anybody able to give me some more hint on doing that ... or maybe do it for me ... creating new kernel zimage with newton keyboard patch ?
there's already a lot of information in this thread. If you use a precompiled toolchain, as mentioned, it is very simple and i don't think you'll harm your distri. Let me point out what i did:
The OE toolchains i used are static and compiled for /usr/local.
If you don't want to use the OE environment (which is very comfortable), grab a snapshot from their toolchain, as i did
If you want to avoid any trouble at all with your existing gcc 4.x rename the /usr/local directory to, for example /usr/local_disable and create a new /usr/local directory with the OE toolchain in it. This should be O.K. for kernel and module compilation.
Then you might set the PATH variable to the OE toolchain temporarily in your console window. Get the kernel, apply the patches and compile. It's done.
Afterwards you might tar the OE toolchain and put it where ever you like.
Don't forget to rename your original /usr/local again, so all PATH settings will point at your 4.x toolchain again.
Of course there are a million other and more elegant ways, but this is very simple and without any effects to the host, i suppose. Finally it works for me.
At least the version of your host toolchain should work together with the cross toolchain, for make menuconfig etc.
What is the kernel & gcc version you intend to use?