* [ECOS] New commer's question.
@ 2001-05-27 18:55 ÃÃ
êÃ
0 siblings, 0 replies; 2+ messages in thread
From: ÃÂÃÂ
êà@ 2001-05-27 18:55 UTC (permalink / raw)
To: ecos-discuss
hi, here
I wish to build eCos for a PC-motherboard target, my host is Linux and I have built the host development tools for my purpose, but I read the docs about eCos and have not found some build instructions for it, what can I do? use the "ecosconfig" tool? how to. I am a new commer here, so pls help me, thanks in advance.
arkz
arkz@21cn.com
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <200105280156.SAA15073@cygnus.com>]
* Re: [ECOS] New commer's question.
[not found] <200105280156.SAA15073@cygnus.com>
@ 2001-05-29 11:03 ` Jonathan Larmour
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-05-29 11:03 UTC (permalink / raw)
To: ÃÂÃÂ
êÃÂ
Cc: ecos-discuss
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1650 bytes --]
"ÃÃ
êÃ" wrote:
>
> hi, here
>
> I wish to build eCos for a PC-motherboard target, my host is Linux and I have built the host development tools for my purpose, but I read the docs about eCos and have not found some build instructions for it, what can I do? use the "ecosconfig" tool? how to. I am a new commer here, so pls help me, thanks in advance.
Definitely read the eCos Getting Started manual.
Assuming you're using sh or bash shell, a *very* potted summary is:
ECOS_REPOSITORY=/path/to/your/eCos/repository
export ECOS_REPOSITORY
mkdir /tmp/linux-ecos-stubs
cd /tmp/linux-ecos-stubs
ecosconfig new pc stubs
ecosconfig tree
make
(put a formatted floppy in the drive)
dd if=install/bin/gdb_module.bin of=/dev/fd0
Now follow the instructions in the getting started manual for x86 (
http://sources.redhat.com/ecos/docs-latest/ ) to put this on a floppy.
You should be able to boot off this floppy image on your target PC, and if
you connect to the serial port, it should print something like
+$T05:12345[etc.]
Now to build eCos itself:
mkdir /tmp/linux-ecos
cd /tmp/linux-ecos
ecosconfig new pc
ecosconfig tree
make tests
Which will build eCos and some tests. You can then try downloading these
tests to the PC over serial using i386-elf-gdb:
i386-elf-gdb -b 38400 -nw install/tests/kernel/<VERSION>/tests/tm_basic
target remote /dev/ttyS0 (or ttyS1)
load
continue
Hopefully this will all make sense in conjunction with you reading the
Getting Started manual.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-29 11:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-27 18:55 [ECOS] New commer's question ÃÃ
êÃ
[not found] <200105280156.SAA15073@cygnus.com>
2001-05-29 11:03 ` Jonathan Larmour
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).