This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Latest redboot for PC - how to build?
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] Latest redboot for PC - how to build?
- From: Dmitry Ryzhkov <rdim_outside at softhome dot net>
- Date: Wed, 17 Oct 2001 23:57:57 +0200
- Organization: Me
- Reply-To: rdim_outside at softhome dot net
Hi All,
May be you can help me with this stuff? Some couple of problems was
experienced, some workaround was applied, but ... no success :(
May be somebody can please tell me what I done wrong trying to build it?
Conditions @ start:
build tools: gcc - 2.95.2 + patch;
ecosconfig - from latest cvs;
ECOS_REPOSITORY=.../CVS/ecos/packages;
empty current (build) directory.
Actions:
šššššššš 1. ecosconfig --srcdir=${ECOS_REPOSITORY} new pc redboot
šššššššš 2. ecosconfig --srcdir=${ECOS_REPOSITORY} import
${ECOS_REPOSITORY}/hal/i386/pc/current/misc/redboot_FLOPPY.ecm
šššššššš 3. ecosconfig --srcdir=${ECOS_REPOSITORY} tree
šššššššš 4. ecosconfig --srcdir=${ECOS_REPOSITORY} check
šššššššš 5. make
Problems/Questions:
a) I'm forced to specify srcdir, but as I understood from redboot's doc (User
Guide 3.1.1.1) I wouldn't need to do that. Without this it says it can't find
ecos.db in .../packages/redboot directory. Is there any other workaround?
b) while make it says:
==
...
/eCos/CVS/ecos/packages/hal/i386/arch/current/src/vectors.S:243: unterminated
character constant
...
==
and stops. Looks like error in S file? OK, line 243 was corrected so that "'"
was removed from comment's part of operator. "doesn't" -> "does not".
This correction helps to go through.
c) so suspicious warnings of two kinds are indicated while build:
1:
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:76: warning:
alignment of `_cmd_tab_do_version' is greater than maximum object file
alignment. Using 4.
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:81: warning:
alignment of `_cmd_tab_do_help' is greater than maximum object file
alignment. Using 4.
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:86: warning:
alignment of `_cmd_tab_do_go' is greater than maximum object file alignment.
Using 4.
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:91: warning:
alignment of `_cmd_tab_do_dump' is greater than maximum object file
alignment. Using 4.
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:96: warning:
alignment of `_cmd_tab_do_x' is greater than maximum object file alignment.
Using 4.
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:101: warning:
alignment of `_cmd_tab_do_cksum' is greater than maximum object file
alignment. Using 4.
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:106: warning:
alignment of `_cmd_tab_do_caches' is greater than maximum object file
alignment. Using 4.
/home/rdim/eCos/CVS/ecos/packages/redboot/current/src/main.c:112: warning:
alignment of `_cmd_tab_do_reset' is greater than maximum object file
alignment. Using 4.
and 2nd kind, concering ld:
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text'
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text.udelay'
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text.i82559_init'
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text.i82559_start'
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text.PacketRxReady'
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text.i82559_recv'
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text.i82559_can_send'
/tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
specified for section `.rel.text.i82559_send'
..
and so on.
As result, the built version of redboot is not working...
I would be very grateful for any comments/suggestions concering this
situation! May be you've already solved such kind of problem(s)?
Lot of thanks in advance,
R.Dim.