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/
|