public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RedBoot for Assabet (strongarm) problem
@ 2001-11-13  3:41 todd.kallam
  2001-11-13  5:41 ` Jordi Colomer
  0 siblings, 1 reply; 9+ messages in thread
From: todd.kallam @ 2001-11-13  3:41 UTC (permalink / raw)
  To: ebenard; +Cc: ecos-discuss




Hi,

This looks like a similar problem that I had with the reset vector being
initiailized
to the wrong address.  You can tell by looking at the third line of your hex
dump.
The first entry shows the address of the the reset_vector and should be 0040
instead of 0060.

You can search the archives for more info about reset_vector and UNMAPPED_PRT
to find out more about this problem, but here are three solutions from Chris
Lesiak:

        1. Add the following to your hal_platform_setup.h file:
                #define CYGHWR_HAL_ROM_VADDR 0x50000000
        2. Change your binutils.  Binutils-011002 does not have this problem .
        3. Define CYGSEM_HAL_ROM_RESET_USES_JUMP (I haven't tried this myself.)

I used method 1 to fix my problem.

Todd

> Hi Jesper,
>
> Yes the flash is 32 bits width but I don't think this is the problem :
> I've got a running binary of redboot and mine non working binary.
>
> I've checked with hexdump and the bytes seems to be properly ordered in both
files :
> working redboot.bin :
> 0000000 f018 e59f f018 e59f f018 e59f f018 e59f
> 0000010 f018 e59f 0000 0000 f018 e59f f018 e59f
> 0000020 0060 0000 037c 5000 0400 5000 0438 5000
>
> non-working redboot.bin :
> 0000000 f018 e59f f018 e59f f018 e59f f018 e59f
> 0000010 f018 e59f 0000 0000 f018 e59f f018 e59f
> 0000020 0040 0002 0128 0002 01ac 0002 01e4 0002
>
> Thanks
> Eric



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ECOS] RedBoot for Assabet (strongarm) problem
  2001-11-13  3:41 [ECOS] RedBoot for Assabet (strongarm) problem todd.kallam
@ 2001-11-13  5:41 ` Jordi Colomer
  2001-11-14 20:36   ` [ECOS] Building ecos RolandKane
  0 siblings, 1 reply; 9+ messages in thread
From: Jordi Colomer @ 2001-11-13  5:41 UTC (permalink / raw)
  To: todd.kallam; +Cc: ebenard, ecos-discuss

> You can search the archives for more info about reset_vector and UNMAPPED_PRT
> to find out more about this problem, but here are three solutions from Chris
> Lesiak:
> 
>         1. Add the following to your hal_platform_setup.h file:
>                 #define CYGHWR_HAL_ROM_VADDR 0x50000000
>         2. Change your binutils.  Binutils-011002 does not have this problem .
>         3. Define CYGSEM_HAL_ROM_RESET_USES_JUMP (I haven't tried this myself.)
> 

FYI:
I have tried method #3 and it works.

-- 
Jordi Colomer

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ECOS] Building ecos
  2001-11-13  5:41 ` Jordi Colomer
@ 2001-11-14 20:36   ` RolandKane
  2001-11-15  4:50     ` Julian Smart
  0 siblings, 1 reply; 9+ messages in thread
From: RolandKane @ 2001-11-14 20:36 UTC (permalink / raw)
  To: ecos-discuss

I am having a problem with Ecosconfig locating the rules.mak file. It is in
the path it is looking for. Also I mount the C: drive like instructed.
     bash-2.05$ mount -f c:/ /c

*** Process 492 created "make -j1"
make -r -C hal/i386/arch/v1_3_1 headers
make[1]: Entering directory `/home/RKane/first_build/hal/i386/arch/v1_3_1'
makefile:92: //C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak: No such
host or network path
make[1]: stat://C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak: No such
host or network path
make[1]: *** No rule to make target
`//C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak'.  Stop.
make[1]: Leaving directory `/home/RKane/first_build/hal/i386/arch/v1_3_1'
make: *** [headers] Error 2

*** Process 492 terminated (rc=2)
*** Killing process 492 (TerminateProcess)


Windows 2000, Ecos Config 1.3.1
Thanks,
Roland Kane

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ECOS] Building ecos
  2001-11-14 20:36   ` [ECOS] Building ecos RolandKane
@ 2001-11-15  4:50     ` Julian Smart
  0 siblings, 0 replies; 9+ messages in thread
From: Julian Smart @ 2001-11-15  4:50 UTC (permalink / raw)
  To: RolandKane, ecos-discuss

It could be that you're using a newer version of Cygwin that no longer recognises the //c notation. Please try the newer version of ecosconfig which can be found on the ftp site, inside the archive containing the updated Windows-only Configuration Tool. Sorry, I'm having trouble accessing the eCos pages right now so I can't give the exact URL.

Regards,

Julian

At 07:09 AM 11/24/01 -0600, RolandKane wrote:
 >I am having a problem with Ecosconfig locating the rules.mak file. It is in
 >the path it is looking for. Also I mount the C: drive like instructed.
 >     bash-2.05$ mount -f c:/ /c
 >
 >*** Process 492 created "make -j1"
 >make -r -C hal/i386/arch/v1_3_1 headers
 >make[1]: Entering directory `/home/RKane/first_build/hal/i386/arch/v1_3_1'
 >makefile:92: //C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak: No such
 >host or network path
 >make[1]: stat://C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak: No such
 >host or network path
 >make[1]: *** No rule to make target
 >`//C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak'.  Stop.
 >make[1]: Leaving directory `/home/RKane/first_build/hal/i386/arch/v1_3_1'
 >make: *** [headers] Error 2
 >
 >*** Process 492 terminated (rc=2)
 >*** Killing process 492 (TerminateProcess)
 >
 >
 >Windows 2000, Ecos Config 1.3.1
 >Thanks,
 >Roland Kane

-- 
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1 7EG Tel: +44 (1223) 271063

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ECOS] Building eCos.
@ 2014-04-02 19:52 kalibar6
  0 siblings, 0 replies; 9+ messages in thread
From: kalibar6 @ 2014-04-02 19:52 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

I am trying to play a bit with eCos on STM32F4 Discovery board. I am
working under Ubuntu 12.04 (32bit). I know that in downloaded binaries
there is no support for this platform. I have to download source files from
CVS repository and compile them myself. OK. I have downloaded them:

cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P ecos
cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P host

System variable $ECOS_REPOSITORY has been set up to my downloaded files:
/home/kalbar/CVS_repo/ecos_host/packages

Now after multiple approaches I can't get this thing fully compiled and
installed. In main source folder I have created folder 'build' and run
configure script and make and install:

/home/kalbar/CVS_repo/ecos_host/configure
--prefix=/home/kalbar/CVS_repo/ecos_host/build --with-tcl=/usr/lib/tcl8.4
--with-tk=/usr/lib/tk8.4
make
sudo make install


Some files are getting compiled/build but not all of them. There is still
lack of GUI for eCos configuration and package for for my board does not
seem to build. I would really appreciate some help on this matter as I have
spend quite a lot of time on this and got stuck in dead end with no help
from README files nor google.

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [ECOS] Building eCos
       [not found] <200003011700.e21H0Aq62955@smtp.abac.com>
@ 2000-03-01 10:24 ` John Finley
  0 siblings, 0 replies; 9+ messages in thread
From: John Finley @ 2000-03-01 10:24 UTC (permalink / raw)
  To: eCos Discussion List

> Is anyone building eCos under UNIX ?
> 
> If so, is there any documentation that describes how to do this.
> 
> If I try to use pkgconf.tcl to configure a build tree I just get:
> 
> % gmake
> makefile:9: pkgconf/pkgconf.mak: No such file or directory
> gmake: *** No rule to make target `pkgconf/pkgconf.mak'. Stop.
> 
> Robert Swindells
> GenRad Ltd

I think I tried that and decided it was a line-ending
thing. After dos2unixing all the source and make files,
that went away but a different bunch of errors started
popping up. It was as if there was a '\r' at the end of
some of the filenames, so make couldn't find them.

I never did get a full build on Unix, but didn't try
all that hard, since I'm just evaluating this stuff in
my "spare" time. I think my sources at the time were the
latest anoncvs ones (about a week ago), although I might
have been using the ones off the sourceware CD.

John

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ECOS] Building eCos
       [not found] <200003011701.JAA18830@cygnus.com>
@ 2000-03-01  9:27 ` Bart Veer
  0 siblings, 0 replies; 9+ messages in thread
From: Bart Veer @ 2000-03-01  9:27 UTC (permalink / raw)
  To: rjs; +Cc: ecos-discuss

>>>>> "Robert" == Robert Swindells <swindellsr@genrad.co.uk> writes:

    Robert> Is anyone building eCos under UNIX ?

Yes. Most of the core eCos developers have been running various
versions of Red Hat Linux since the project began. Quite a few
application developers also use some flavour of Unix.

    Robert> If so, is there any documentation that describes how to do
    Robert> this.

http://sourceware.cygnus.com/ecos/docs-1.2.1/guides/user-guides/manual-configuration.html

    Robert> If I try to use pkgconf.tcl to configure a build tree I
    Robert> just get:

    Robert> % gmake
    Robert> makefile:9: pkgconf/pkgconf.mak: No such file or directory
    Robert> gmake: *** No rule to make target `pkgconf/pkgconf.mak'. Stop.

It looks like the toplevel makefile was generated correctly, but your
build tree should also contain a pkgconf sub-directory and the
pkgconf.mak file.

Please check the documentation I mentioned above. If that does not
help, please let me know the following:

1) your OS
2) the version of Tcl you are using
3) any output that pkgconf.tcl generates
4) what your build tree looks like after running pkgconf.tcl

It may be better to email me directly, I suspect the gory details are
not going to be particularly interesting for most people on the
mailing list.

Bart Veer // eCos net maintainer

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ECOS] Building eCos
       [not found] <200003011700.JAA18722@cygnus.com>
@ 2000-03-01  9:14 ` Jonathan Larmour
  0 siblings, 0 replies; 9+ messages in thread
From: Jonathan Larmour @ 2000-03-01  9:14 UTC (permalink / raw)
  To: rjs; +Cc: ecos-discuss

Robert Swindells wrote:
> 
> Is anyone building eCos under UNIX ?
> 
> If so, is there any documentation that describes how to do this.
> 
> If I try to use pkgconf.tcl to configure a build tree I just get:
> 
> % gmake
> makefile:9: pkgconf/pkgconf.mak: No such file or directory
> gmake: *** No rule to make target `pkgconf/pkgconf.mak'. Stop.

What was the output of running pkgconf.tcl and how did you invoke it?

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ECOS] Building eCos
@ 2000-03-01  8:59 Robert Swindells
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Swindells @ 2000-03-01  8:59 UTC (permalink / raw)
  To: ecos-discuss

Is anyone building eCos under UNIX ?

If so, is there any documentation that describes how to do this.

If I try to use pkgconf.tcl to configure a build tree I just get:

% gmake
makefile:9: pkgconf/pkgconf.mak: No such file or directory
gmake: *** No rule to make target `pkgconf/pkgconf.mak'. Stop.

Robert Swindells
GenRad Ltd

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-04-02 19:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-13  3:41 [ECOS] RedBoot for Assabet (strongarm) problem todd.kallam
2001-11-13  5:41 ` Jordi Colomer
2001-11-14 20:36   ` [ECOS] Building ecos RolandKane
2001-11-15  4:50     ` Julian Smart
  -- strict thread matches above, loose matches on Subject: below --
2014-04-02 19:52 [ECOS] Building eCos kalibar6
     [not found] <200003011700.e21H0Aq62955@smtp.abac.com>
2000-03-01 10:24 ` John Finley
     [not found] <200003011701.JAA18830@cygnus.com>
2000-03-01  9:27 ` Bart Veer
     [not found] <200003011700.JAA18722@cygnus.com>
2000-03-01  9:14 ` Jonathan Larmour
2000-03-01  8:59 Robert Swindells

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).