* [ECOS] Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?)
@ 2003-11-12 2:21 Michael Trozzo
2003-11-12 8:02 ` Andrew Lunn
0 siblings, 1 reply; 3+ messages in thread
From: Michael Trozzo @ 2003-11-12 2:21 UTC (permalink / raw)
To: ecos-discuss
Hello all,
I'm trying to put together the HTTP server on an i386 target as it is on the
MLB Associates website, but I'm stuck in a couple of places. My development
environment is SuSE 8.2.
First I tried to set up the kernel:
mht@linux:~/work> cd httpd_test
mht@linux:~/work/httpd_test> cd ecos_kernel
mht@linux:~/work/httpd_test/ecos_kernel> ecosconfig new i386 net
ecos.db: error
couldn't read file "/home/mht/work/httpd_test/ecos_kernel/ecos.db": no
such file or directory
Invalid package database.
I used the eCos GUI and I was able to build it. One question I have at this
point is: Should I set the startup type to floppy or leave it at ROM?
Anyway, on to the next step. I unzipped the necessary files and patch...now I
´m trying to set up the application. (NOTE: My work directory sits outside
the eCos structure, at /home/mht/work...could this be an issue as well?)
mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params /home/mht/work/
httpd_test/ecos_kernel
Not an eCos install tree
usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]
mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params /home/mht/work/
httpd_test/ecos_kernel/httptest1_install
Not an eCos install tree
usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]
mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params /home/mht/work/
httpd_test/ecos_kernel/httptest1_build
Not an eCos install tree
usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]
mht@linux:~>
I'm not quite sure what I'm missing...but I'm pulling what's left of my hair
out on this! Can anyone help?
Thanks,
Mike Trozzo
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?)
2003-11-12 2:21 [ECOS] Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?) Michael Trozzo
@ 2003-11-12 8:02 ` Andrew Lunn
2003-11-14 21:20 ` Michael Trozzo
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2003-11-12 8:02 UTC (permalink / raw)
To: Michael Trozzo; +Cc: ecos-discuss
> First I tried to set up the kernel:
> mht@linux:~/work> cd httpd_test
> mht@linux:~/work/httpd_test> cd ecos_kernel
> mht@linux:~/work/httpd_test/ecos_kernel> ecosconfig new i386 net
> ecos.db: error
> couldn't read file "/home/mht/work/httpd_test/ecos_kernel/ecos.db": no
> such file or directory
> Invalid package database.
Set the environment variable ECOS_REPOSITORY to your packages
directory. Thats where the ecos.db lives.
> I used the eCos GUI and I was able to build it. One question I have at this
> point is: Should I set the startup type to floppy or leave it at ROM?
Floopy.
> Anyway, on to the next step. I unzipped the necessary files and patch...now I
> ?m trying to set up the application. (NOTE: My work directory sits outside
> the eCos structure, at /home/mht/work...could this be an issue as well?)
>
> mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params /home/mht/work/
> httpd_test/ecos_kernel
> Not an eCos install tree
> usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]
The install tree is normally inside work tree with the name install. To try
mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params /home/mht/work/httpd_test/ecos_kernel/install
etc
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [ECOS] Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?)
2003-11-12 8:02 ` Andrew Lunn
@ 2003-11-14 21:20 ` Michael Trozzo
0 siblings, 0 replies; 3+ messages in thread
From: Michael Trozzo @ 2003-11-14 21:20 UTC (permalink / raw)
To: ecos-discuss
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Andrew Lunn
Sent: Mittwoch, 12. November 2003 09:03
To: Michael Trozzo
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Angst-ridden eCos newbie trying to build HTTP server
(Gary Thomas?)
> First I tried to set up the kernel:
> mht@linux:~/work> cd httpd_test
> mht@linux:~/work/httpd_test> cd ecos_kernel
> mht@linux:~/work/httpd_test/ecos_kernel> ecosconfig new i386 net
> ecos.db: error
> couldn't read file
> "/home/mht/work/httpd_test/ecos_kernel/ecos.db": no
> such file or directory
> Invalid package database.
Set the environment variable ECOS_REPOSITORY to your packages directory.
Thats where the ecos.db lives.
> I used the eCos GUI and I was able to build it. One question I have at
> this
> point is: Should I set the startup type to floppy or leave it at ROM?
Floopy.
> Anyway, on to the next step. I unzipped the necessary files and
> patch...now I ?m trying to set up the application. (NOTE: My work
> directory sits outside the eCos structure, at /home/mht/work...could
> this be an issue as well?)
>
> mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params
> /home/mht/work/ httpd_test/ecos_kernel Not an eCos install tree
> usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]
The install tree is normally inside work tree with the name install. To
try
mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params
/home/mht/work/httpd_test/ecos_kernel/install
etc
Andrew
Andrew,
Thanks a million...I got it to work! I set the ECOS_REPOSITORY
variable, went back to ecosconfig and built the kernel successfully.
From there, the rest was painless. I realize now that using the GUI
tool may have been another source of aggravation. The layout of all the
directories in the GUI build was *radically* different from the CLI
build.
Regards,
Mike
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-14 21:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12 2:21 [ECOS] Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?) Michael Trozzo
2003-11-12 8:02 ` Andrew Lunn
2003-11-14 21:20 ` Michael Trozzo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).