If you're a Linux kernel hacker, please don't read the rest of this
email (or at least don't laugh out loud :-)
This is just a note to save anyone else time who's is building drivers
for the TS-7250. The sys-include directory from the crosstools
distribution (i.e. everything beneath /usr/local/opt/crosstool) is
actually from *2.6* (or at least post 2.4). The include directory
inside the linux24_ts8 zip is what you should use, since the kernel
running on the board is 2.4. USE THE FILES WITH THE KERNEL
DISTRIBUTION, NOT CROSSTOOLS. Although many things will actually work
if you include the crosstool files, I can guarantee that lots won't!
Specficially, my symptoms (in case anyone else googles for them):
* Failure of "open" and "release" methods to be called. (Reason:
relocation of struct fields.)
* Crash (kernel oops) when calling signal_pending(current). (Reason:
apparently moving the task field in the thread_info struct.)
* Failure of some 2.4 macros to compile.
* Failure of some 2.6 macros to resolve references during insmod.
When I started, I didn't realize just how different 2.4 and 2.6 kernels
were, so it took me quite a while to figure out. Of course, *now* it
all makes perfect sense. Sigh.
--Andy Gryc
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/
|