This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: More recent LPC-H2294 package
- From: Sergei Gavrikov <w3sg at SoftHome dot net>
- To: "Gaste, Olivier" <Olivier dot Gaste at AirLiquide dot com>
- Cc: 'Sergei Gavrikov' <w3sg at SoftHome dot net>, eCos discuss mail list <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 19 Jul 2006 21:00:55 +0300 (EEST)
- Subject: [ECOS] RE: More recent LPC-H2294 package
- References: <18182F89C735104B9C712265BE133CE806AC4C68@anthemis.eu.corp.airliquide.com>
On Wed, 19 Jul 2006, Gaste, Olivier wrote:
I just try your new pakage with last snapshot of ecoscentrix
I'm trying to build a redboot with your target
I fall into the issue following :
`/ecos-d/cygwin/opt/ecos/2NDTES~1/2ndTest_RedBoot_build/hal/common/current'
collect2: ld returned 1 exit status
make: Leaving directory
`/ecos-d/cygwin/opt/ecos/2NDTES~1/2ndTest_RedBoot_build'
make[1]: ***
[/ecos-d/cygwin/opt/ecos/2NDTES~1/2ndTest_RedBoot_install/tests/hal/common/c
urrent/tests/context] Error 1
make: *** [tests] Error 2
Did you want to build the Redboot images? Why did you run `make tests`?
To build RedBoot images needn't to build any tests. That error will be
occur again for any targets. Lets follow me in bash (can even paste it
to terminal):
mkdir -p /tmp/lpch_redboot \
&& cd /tmp/lpch_redboot \
&& ecosconfig new lpch2294 redboot \
&& ecosconfig import \
$ECOS_REPOSITORY/hal/arm/lpc2xxx/lpch2294/v1_0/misc/redboot_ROM.ecm \
&& ecosconfig resolve \
&& ecosconfig tree \
&& make
It's very important to import target specific redboot_ROM.ecm file
before a building of the ROM images.
There are all images there
$ tree install/bin
install/bin/
|-- redboot.bin
|-- redboot.elf
|-- redboot.img
`-- redboot.srec
I've try the tips that garry speaks about in message :
http://sourceware.org/ml/ecos-discuss/2006-07/msg00004.html
I ve add : requires { !CYGBLD_BUILD_REDBOOT_WITH_EXEC } at line 254 of
the
D:\cygwin\opt\ecos\ecos_last\packages\hal\arm\lpc2xxx\lpch2294\v1_0\cdl\hal_
arm_lpc2xxx_lpch2294.cdl
my redboot_ROM.ecm contains same rule:
cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {
user_value 0
};
That's it. Lets me know about your results.
regards,
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss