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; 11+ 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] 11+ messages in thread
* RE: [ECOS] RedBoot for Assabet (strongarm) problem
@ 2001-11-13  4:40 Tim Michals
  2001-11-13  5:33 ` Eric BENARD / FREE
  0 siblings, 1 reply; 11+ messages in thread
From: Tim Michals @ 2001-11-13  4:40 UTC (permalink / raw)
  To: 'todd.kallam@acterna.com', ebenard; +Cc: ecos-discuss


Used 3 to fix this issue.
-----Original Message-----
From: todd.kallam@acterna.com [mailto:todd.kallam@acterna.com]
Sent: Monday, November 19, 2001 3:30 PM
To: ebenard@free.fr
Cc: ecos-discuss@sources.redhat.com
Subject: [ECOS] RedBoot for Assabet (strongarm) problem





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] 11+ messages in thread
* [ECOS] RedBoot for Assabet (strongarm) problem
@ 2001-11-12  6:12 Eric BENARD / FREE
  2001-11-12  8:51 ` Jesper Skov
  0 siblings, 1 reply; 11+ messages in thread
From: Eric BENARD / FREE @ 2001-11-12  6:12 UTC (permalink / raw)
  To: ecos-discuss

Hi,

I compiled lastest RedBoot from cvs using a freshly built arm-elf-gcc 3.0.2 :
Reading specs from /usr/local/arm/3.0.2/lib/gcc-lib/arm-elf/3.0.2/specs
Configured with: ../gcc-3.0.2/configure --target=arm-elf 
--prefix=/usr/local/arm/3.0.2 --with-gnu-as --with-gnu-ld --enable-languages=c,c++
Thread model: single
gcc version 3.0.2

I did :
# ./tools/configtool/standalone/common/ecosconfig new assabet redboot
# ./tools/configtool/standalone/common/ecosconfig import 
../redboot/ecos/packages/hal/arm/sa11x0/assabet/current/misc/redboot_ROM.ecm
# ./tools/configtool/standalone/common/ecosconfig tree
# make

I get the following binaries :
-rwxr-xr-x    1 root     root        99760 nov 19 03:50 redboot.bin
-rwxr-xr-x    1 root     root       640434 nov 19 03:50 redboot.elf
-rwxr-xr-x    1 root     root       159144 nov 19 03:50 redboot.img
-rwxr-xr-x    1 root     root       286930 nov 19 03:50 redboot.srec

I tried to flash redboot.bin to my Assabet board using JFlash.
It flashs properly but nothing happens on the serial port even after reseting 
the board.

Are there known issues with cvs redboot for strongarm ?

If so, which is the good cvs tag to checkout to have a running redboot for assabet ?

Many thanks

Eric

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

end of thread, other threads:[~2001-11-26 12:54 UTC | newest]

Thread overview: 11+ 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 --
2001-11-13  4:40 [ECOS] RedBoot for Assabet (strongarm) problem Tim Michals
2001-11-13  5:33 ` Eric BENARD / FREE
2001-11-12  6:12 Eric BENARD / FREE
2001-11-12  8:51 ` Jesper Skov
2001-11-12 13:10   ` Eric BENARD / FREE
2001-11-12 13:10     ` Jesper Skov
2001-11-12 13:15       ` Eric BENARD / FREE

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