From: "zheng wujun" <wj_zheng10@hotmail.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] why flash package can not be added ?
Date: Wed, 26 Nov 2003 02:13:00 -0000 [thread overview]
Message-ID: <BAY13-F29sjbmDoP6j8000016f5@hotmail.com> (raw)
Thanks !!! all
I also want to include the flash package to generate redboot.bin file,but
when I include flash package CYGPKG_IO_FLASH and compile sa below and
compile error will happen;Another,when I use configtool to generate the
redboot.bin file,this error also happened.
*****************************************************************
[root@zheng kernel]#
[root@zheng kernel]# ./ecosconfig new snds redboot
[root@zheng kernel]# ./ecosconfig import
/opt/ecos/ecos-2.0/packages/hal/arm/snds/v2_0/misc/redboot_ROM.ecm
[root@zheng kernel]# ./ecosconfig add CYGPKG_IO_FLASH
[root@zheng kernel]# ./ecosconfig check
Target: snds
Template: redboot
Added:
CYGPKG_IO_FLASH
No conflicts
[root@zheng kernel]# ./ecosconfig tree
[root@zheng kernel]# make
make -r -C hal/arm/arch/v2_0 headers
make[1]: Entering directory `/home/examples/kernel/hal/arm/arch/v2_0'
make[1]: Leaving directory `/home/examples/kernel/hal/arm/arch/v2_0'
make -r -C hal/arm/snds/v2_0 headers
......
make[1]: Leaving directory `/home/examples/kernel/hal/arm/arch/v2_0'
make -r -C redboot/v2_0 /home/examples/kernel/install/bin/redboot.elf
make[1]: Entering directory `/home/examples/kernel/redboot/v2_0'
arm-elf-gcc -c -I/home/examples/kernel/install/include
-I/opt/ecos/ecos-2.0/packages/redboot/v2_0
-I/opt/ecos/ecos-2.0/packages/redboot/v2_0/src
-I/opt/ecos/ecos-2.0/packages/redboot/v2_0/tests -I. -mcpu=arm7tdmi -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g
-O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
-fvtable-gc -finit-priority -o /home/examples/kernel/install/lib/version.o
/opt/ecos/ecos-2.0/packages/redboot/v2_0/src/version.c
arm-elf-gcc -mcpu=arm7tdmi -g -nostdlib -Wl,--gc-sections -Wl,-static
-L/home/examples/kernel/install/lib -Ttarget.ld -o
/home/examples/kernel/install/bin/redboot.elf
/home/examples/kernel/install/lib/version.o
/home/examples/kernel/install/lib/libtarget.a(redboot_main.o): In function
`do_go':
/home/examples/kernel/install/include/cyg/hal/hal_if.h:607: undefined
reference to `_flash_info'
collect2: ld returned 1 exit status
make[1]: *** [/home/examples/kernel/install/bin/redboot.elf] Error 1
make[1]: Leaving directory `/home/examples/kernel/redboot/v2_0'
make: *** [build] Error 2
[root@zheng kernel]#
[root@zheng kernel]#
[root@zheng kernel]#
************************************************************************
Can someone give me some hints?
Thank in advance!
_________________________________________________________________
Groove on the latest from the hot new rock groups! Get downloads, videos,
and more here. http://special.msn.com/entertainment/wiredformusic.armx
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
next reply other threads:[~2003-11-26 2:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-26 2:13 zheng wujun [this message]
2003-11-26 8:40 ` Andrew Lunn
2003-11-26 9:23 ` Roland Caßebohm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY13-F29sjbmDoP6j8000016f5@hotmail.com \
--to=wj_zheng10@hotmail.com \
--cc=ecos-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).