From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20263 invoked by alias); 19 Nov 2001 21:32:08 -0000 Mailing-List: contact ecos-discuss-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 20193 invoked from network); 19 Nov 2001 21:32:01 -0000 Received: from unknown (HELO chaos.wg.com) (198.85.47.240) by sourceware.cygnus.com with SMTP; 19 Nov 2001 21:32:01 -0000 Received: from wg.com ([198.85.45.244]) by chaos.wg.com (8.10.1/8.9.1) with SMTP id fAJLNtd25165; Mon, 19 Nov 2001 16:23:55 -0500 (EST) Received: by wg.com(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id 85256B09.0074D9F9 ; Mon, 19 Nov 2001 16:16:19 -0500 X-Lotus-FromDomain: GLOBAL From: todd.kallam@acterna.com To: ebenard@free.fr cc: ecos-discuss@sources.redhat.com Message-ID: <85256B09.0074D8AC.00@wg.com> Date: Tue, 13 Nov 2001 03:41:00 -0000 Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [ECOS] RedBoot for Assabet (strongarm) problem X-SW-Source: 2001-11/txt/msg00153.txt.bz2 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