This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Build ecos with TCP/IP/i82559 for i386 pc


Hi all,

I want to build ecos with TCP/IP/i82559 for i386 pc.
I think someone has already succesfully tried it.
Which method below should I use or all are not correct?

1. use ecos 1.3.1 released version
    install net-1.0b1.epk
    install Fabrice's i82559 driver
    apply Fabrice's patch hal-i386-pc.patch
    use i386 pc target default template
    add networking package
    add i82559 driver package

2. use ecos cvs current version
    install Fabrice's i82559 driver
    apply Fabrice's patch hal-i386-pc.patch
    use i386 pc target net template
    add i82559 driver package(Fabrice's version)

3. use ecos cvs current version
    apply Fabrice's patch hal-i386-pc.patch
    use i386 pc target net template
    add i82559 driver package(cvs current version)

4. use ecos cvs current version
    use i386 pc target net template
    add i82559 driver package

If the answer is 3 or 4, my problem is Configuration Tool forbidden to add i82559 driver package.
If the answer is 1,2 or 3, my problem is when I apply Fabrice's patch hal-i386-pc.patch, it seems that the patch program can not find the files to be patched and skip them.
But I think the path is right.
Maybe it can not be used on cvs current version ecos.
my command is
    tr -d '\r' < hal-i386-pc.patch | patch -p0  -d /d/john/ecos/packages

The message is
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|? hal/i386/pc/current/include/plf_io.h
|Index: hal/i386/arch/current/include/basetype.h
|===================================================================
|RCS file: /cvs/ecos/ecos/packages/hal/i386/arch/current/include/basetype.h,v
|retrieving revision 1.7
|diff -u -w -b -B -r1.7 basetype.h
|--- basetype.h 2000/09/05 15:44:11     1.7
|+++ basetype.h 2000/11/02 20:50:30
--------------------------
File to patch:
[snip]

Thanks in advance.

----
謝豪哲
John Hsieh
發現者國際股份有限公司
iMining Technology Co., Ltd.
john@imining.com.tw
TEL: 886-2-27235122
FAX: 886-2-27232287
www.imining.com.tw

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]