ts-7000
[Top] [All Lists]

[ts-7000] module versioning

To:
Subject: [ts-7000] module versioning
From: Ollie Eisman <>
Date: Fri, 1 Sep 2006 13:18:11 -0700 (PDT)
I have been stuck for the past several days with a
module versioning problem and I hope someone on this
list can point me in the right direction.

I have cross-compiled the ts-10 kernel and it seems to
work well on my TS-7260.  I run it, along with a
modified initrd from the group download area, to load
a TS-supplied SD card with Debian.  

All seems to go well but modules I have cross-compiled
and copied over don't load.  I get this error for each
module Debian attempts to use:

"couldn't find the kernel version the module was
compiled for"

I am not setting any MODFLAGS in the kernel src
Makefile and I commented out the depmod section,
figuring Debian would take care of it on boot.

make modules_install seems to work fine.  I have a
modules directory name that matches the kernel version
and copy it over.

Any suggestions on where my procedure is flawed?

Here are the steps I take when building a kernel:

# Compile
cd ~/src/linux24

vi Makefile
# set:
# CROSS_COMPILE = /home/ollie/xbin/
# CFLAGS_KERNEL = -fno-unit-at-a-time

make ts7260_config
make oldconfig
# N
# N
make menuconfig
# Choose Multimedia devices -> v4l

make dep

vi drivers/char/keyboard.c
# put ";" at start of line 413

vi include/linux/nand_ecc.h
# line 23, change "void" to "int"

make zImage
make modules

INSTALL_MOD_PATH=/home/ollie/ts
export INSTALL_MOD_PATH

make modules_install

# Note: I tried the following once but no luck.
# Build module dependencies
depmod.pl -k ./vmlinux  -b /home/ollie/ts/lib/modules
> /home/ollie/ts/lib/modules/2.4.26-ts10/modules.dep

# Load zImage into firmware on TS-7260
# boot up
# Copy over new modules and unpack in /lib/modules



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 
Yahoo! Groups Links

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

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