ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: cannot build kernel ts7800 cygwin, please help!

To:
Subject: Re: [ts-7000] Re: cannot build kernel ts7800 cygwin, please help!
From: "John Shaffer, PhD" <>
Date: Tue, 05 Feb 2008 17:06:20 -0600
No, you do not need to rebuild the entire kernel just to load a new module device driver.  Here is a link to a page for building a module.  Use modprobe or insmod to load the module.  Note the "-f" switch if you get a "...will taint the kernel" message.

http://en.wikibooks.org/wiki/Linux_Guide/Kernel_modules#Compiling_the_simple_module

If you are the one writing the driver for the joystick, building a kernel is the least of your worries unless you are already familiar with system programming.  Applications programming it is not.  On the other hand, you might  be able to find a driver for your particular device somewhere on-line.  Follow the steps in the above link to get it compiled and loaded.

If you are bound and determined to learn device driver/system programming, consider the book "Linux device drivers" by Corbet, Rubini and Kroah-Hartman

You could also try running a Knoppix (or other) live CD/DVD to get a linux running on your box without mucking with your installed system.  I haven't used cygwin for a while and cannot comment on its use/facilities.

Good Luck!

John

artcar12 wrote:

Yeah I know I'm in way over my head on this one. I need to rebuild
the kernel in order to use a usb joystick to control a robot. I
tried make and make bzimage but I still get the error about an
undefined reference to _libintl_gettext. I don't know if the error
is because I'm using cygwin but I think building the kernel is beyond
my abilities, do you know of any way to load a joystick driver as a
module without building the whole kernel?

--- In .com, "John Shaffer, PhD" <.>
wrote:
>
> man are you jumping into the deep end for a newbie. Do you actually
> NEED to build the whole kernel? The 7800 comes with a 2.6 kernel
> already installed. If you are writing kernel code of some sort
consider
> building a loadable module.
>
> The other thing is that you state you are entering "*make
> ts72xx_defconfig*" yet you say you have a 7800. That may be the
cause of
> the problem.
>
> Have you tried simply "make" or "make bzImage" ??
>
> John
>
> artcar12 wrote:
> >
> > I'm a newb with Unix and I have to build a 2.6 kernel for the
ts7800
> > for a school project.
> >
> > I do not have a Linux PC so I'm trying to buld the kernel using
> > Cygwin.
> >
> > First I dowloaded this kernel source:
> >
> > ftp://ftp.embeddedarm.com/ts-7800-linux-sd/sources/linux-2.6.21-
ts-
> > <ftp://ftp.embeddedarm.com/ts-7800-linux-sd/sources/linux-2.6.21-
ts->
> > src-latest.tar.gz
> >
> > I have edited the makefile in the source directory to point to the
> > windows crosstoolchain downloaded from:
> >
> > ftp://ftp.embeddedarm.com/ts-7800-linux-sd/cross-toolchains/arm-
> > <ftp://ftp.embeddedarm.com/ts-7800-linux-sd/cross-toolchains/arm->
> > 2005q3-2-arm-none-linux-gnueabi-i686-pc-windows.exe
> >
> > I changed the export path to point to the this toolchain.
> >
> > ie.
> >
> > export PATH=$PATH:/toolchain path
> >
> > after "make ts72xx_defconfig"
> >
> > I got this error:
> >
> > scripts/kconfig/conf.o:conf.c:<:text+0x91>: undefined reference
> > to '_libintl_gettext'
> >
> > I tried using the toolchain below also and got the same error.
> >
> > http://www.embeddedarm.com/linux/ARM.htm#armlinux/Cygwin
> > <http://www.embeddedarm.com/linux/ARM.htm#armlinux/Cygwin>
Crosstool
> > gcc-3.3.4-glibc-2.3.2
> >
> > I have searched previous posts, but I still cannot figure out why
> > this is not working.
> >
> > Does anybody know what I am doing wrong, or if there is a guide
for
> > doing this somewhere? Any help would be greatly appreciated.
> >
> >
>
> --
> ----------------------------------------------------------
----
> John H Shaffer PhD
> Managing Partner
> 507-202-6661
>
> Lakota Innovations LLC
> 2015 Valkyrie Dr NW
> Rochester, MN 55901
>
> ----------------------------------------------------------
----
>


--

John H Shaffer PhD
Managing Partner

507-202-6661
m("lakotainnovations.com","jshaffer");">

Lakota Innovations LLC
2015 Valkyrie Dr NW
Rochester, MN 55901

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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