ts-7000
[Top] [All Lists]

[ts-7000] Re: Looking for the kernel config file for ts7260-linux2.6-etc

To:
Subject: [ts-7000] Re: Looking for the kernel config file for ts7260-linux2.6-etch.dd.bz2...
From: "" <>
Date: Sat, 02 Oct 2010 21:55:21 -0000
I'll answer my own question since I figured it out on my own!

The key was to get a compiled "kernel/config.ko" module that you can copy and 
"modprobe" into the 7260 and it's current 2.6 kernel.

With the 2.6 source I linked to above, I first extracted it, then did a "make 
ts72xx_defconfig". This configuration is close enough to the one running on the 
image to make us a "kernel/config.ko" module. Then do "make menuconfig" and 
enable the "get current configuration at /proc/config.gz" setting (wording not 
verbatim). After that "make modules". This results in a "kernel/config.ko" file 
that you need to copy to "/lib/modules/2.6.21-ts/kernel/kernel/config.ko" on 
the 7260.

Now on the 7260, run "depmod && modprobe -f config". After that, a new file 
should be located a "/proc/config.gz". This a a gzipped version of the 
configuration used to compile the current kernel!!! Horray!


End of my story... I was able to use the config file to build the custom kernel 
module successfully.

--- In  "" <> wrote:
>
> Hello group, I have downloaded this image and are successfully running it 
> with a TS-7260:
> 
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/binaries/ts-images/ts7260-linux2.6-etch.dd.bz2
> 
> Now I am needing to compile a custom kernel module for it and require 
> compiling the kernel source with the exact same configuration. I've found the 
> source here:
> 
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/sources/tskernel-2.6.21-ts-src.tar.gz
> 
> But cannot find the configuration used anywhere on the image. Usually you 
> would find that kind of thing in the "/boot" directory, but on this image, 
> that directory is completely empty (is that right?)
> 
> Where oh where can I find that kernel configuration file? Thanks in advance!
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU