friderman napsal(a):
> --- In "phygman" <> wrote:
>> To compile the kernel without the tsscard.c file, which is not
>> included in the source distribution, edit the Makefile in
>> /linux-2.6.21-ts/drivers/mmc. and comment out the line:
>>
>> obj-$(CONFIG_TS_SDCARD) += tssdcard.o
>>
>> to look like:
>> # obj-$(CONFIG_TS_SDCARD) += tssdcard.o
>>
>> The kernel will then compile, and you will still be able to use the
>> tssdcard.ko that comes with the system. I am doing this with the
>> kernel I am recompiling, and it still works with the SD card when I
>> install the new kernel
>>
>>
>> regards,
>> Jim Newton
>>
>>
>>
>>
>> --- In "friderman" <friderman@> wrote:
>>> I have a ts7800 and I want to compile a custom kernel, so I dowloaded
>>>
> ftp://ftp.embeddedarm.com/ts-7800-linux-sd/sources/linux-2.6.21-ts-src-oct092007
>>> When building the folowicompile the kernel without the tsscard.c
> file, which is not
> included in the source distribution, edit the Makefile in
> /linux-2.6.21-ts/drivers/mmc. and comment out the line:
>
> obj-$(CONFIG_TS_SDCARD) += tssdcard.o
>
> to look like:
> # obj-$(CONFIG_TS_SDCARD) += tssdcard.o
>
> The kernel will then compile, and you will still be able to use the
> tssdcard.ko that comes with the system. I am doing this with the
> kernel I am recompiling, and it still works with the SD card when I
> install the new kernng error appears:
>>> make[2]: *** No rule to make target `drivers/mmc/tssdcard.c', needed
>>> by `drivers/mmc/tssdcard.o'. Stop.
>>>
>>> There is no tssdcard.c in the source tree.
>>> Where can I download it? Has anybody had problems compiling the
> kernel?
>>> Greetings.
>>>
>>> Frederic Pérez Ordeig
>>>
>
> Thanks for the tip but I'm trying to compile another version of the
> kernel and the module complains when I try to insert it into the kernel.
> I would need the source of tssdcard.c or a free alternative.
>
> Greetings.
>
There still isn't way how to compile tssdcard.c. Look to my post to the
list.
Two main reason:
sdcard2.h doesn't fit to sdcore2.o
sdcore2.o is compiled with --with-hard-float but normal kernel
--with-soft-float
Dan
--
Mydatex s r.o.
http://www.mydatex.cz
email:
mob: 604200362
tel: 226210085
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/
|