Hi
Thanks for the reply... I extracted and rebuilt the kernel again.
This time I used the 7620 config file from the TS website and ran:
make 7620_config
make oldconfig
make dep
make vmlinux
make modules
This woked for me and I was able to get a vmlinux image.
I have now ran into a snag with 'make module_install'
Since I am using Cygwin, /sbin/depmod does not work.
Does anyone have a workaround? I saw a solution using
BusyBox's './depmod.pl' script. I ran this and a modules.dep file was
created but I also saw a lot of unresolved symbols such as:
unresolved symbol try_inc_mod_count in
file /lib/modules/lib/modules/2.4.26-ts9/
kernel/drivers/input/input.o
Is this what I should expect?
Thanks again,
Ken
--- In "liliangyao" <> wrote:
>
> --- In "kendwyer" <kendwyer@> wrote:
> >
> > Hi
> >
> > I am using Cygwin with Croostools (crosstool-cygwin-gcc-3.3.4-
> glibc-
> > 2.3.2.tar.bz2) and attempting to get my toolchain corectly
> > configured. This is what I have done so far:
> >
> > 1: Installed Cygwin
> >
> > 2: Extracted cygwin crosstools to /usr/local
> > tar xvjf crosstools-cygwin-gcc-3.3.4-glibc-2.3.2.tar.bz2
> >
> > 3: Extracted TS9 source code to /usr/src
> > tar xvzf tskernel-2.4.26-ts9-src.tar.gz
> >
> > The above creates a linux24 directory in /usr/src
> >
> > 4: Next, cd to /usr/src/linux24 and update CROSS_COMPILE in the
> > Makefile:
> > CROSS_COMPILE=/usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-
> > unknown-linux-gnu/bin/arm-unknown-linux-gnu-
> >
> > 5: make memuconfig
> > 6: make dep
> > 7: make vmlinux
> >
> > The last make compiles for a while and then fails as shown
> > below.....Does anyone have any idea on this failure?
> >
> > Many thanks
> > Ken
> >
> >
> > ....
> > .......
> > /usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-
> > gnu/bin/arm-unk
> > nown-linux-gnu-ar rcs video.o
> > make[4]: Leaving directory `/usr/src/linux24/drivers/media/video'
> > make[3]: Leaving directory `/usr/src/linux24/drivers/media/video'
> > make all_targets
> > make[3]: Entering directory `/usr/src/linux24/drivers/media'
> > rm -f media.o
> > /usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-
> > gnu/bin/arm-unk
> > nown-linux-gnu-ld -r -o media.o video/video.o radio/radio.o
> > make[3]: Leaving directory `/usr/src/linux24/drivers/media'
> > make[2]: Leaving directory `/usr/src/linux24/drivers/media'
> > make -C misc
> > make[2]: Entering directory `/usr/src/linux24/drivers/misc'
> > make all_targets
> > make[3]: Entering directory `/usr/src/linux24/drivers/misc'
> > /usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-
> > gnu/bin/arm-unk
> > nown-linux-gnu-gcc -D__KERNEL__ -I/usr/src/linux24/include -Wall -
> > Wstrict-protot
> > ypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -
> fno-
> > common -pipe
> > -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -msoft-float -
> Uarm -
> > nostdinc -
> > iwithprefix include -DKBUILD_BASENAME=ts_sbcinfo -c -o
> ts_sbcinfo.o
> > ts_sbcinfo
> > .c
> > ts_sbcinfo.c: In function `sbc_setinfo':
> > ts_sbcinfo.c:44: error: `TS7XXX_MODEL' undeclared (first use in
> this
> > function)
> > ts_sbcinfo.c:44: error: (Each undeclared identifier is reported
> only
> > once
> > ts_sbcinfo.c:44: error: for each function it appears in.)
> > ts_sbcinfo.c:60: error: `TS7XXX_IO16_BASE' undeclared (first use
> in
> > this functio
> > n)
> > ts_sbcinfo.c: In function `sbc_read_proc':
> > ts_sbcinfo.c:99: warning: unused variable `temp'
> > make[3]: *** [ts_sbcinfo.o] Error 1
> > make[3]: Leaving directory `/usr/src/linux24/drivers/misc'
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory `/usr/src/linux24/drivers/misc'
> > make[1]: *** [_subdir_misc] Error 2
> > make[1]: Leaving directory `/usr/src/linux24/drivers'
> > make: *** [_dir_drivers] Error 2
> >
>
> looks like the configuration is not correct... I just re-built the
> kernel for 7250 using the autobuild_for_customer script. give it a
> try...
>
> Liangyao
>
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/
|