From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Hovang To: Grant Edwards Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] ARM vectors.S question Date: Wed, 27 Oct 1999 01:04:00 -0000 Message-id: <3816B15B.E19F8BD8@cpen.com> References: <19991026154448.A15481@visi.com> X-SW-Source: 1999-10/msg00094.html Grant Edwards wrote: > > I'm in the process of getting eCOS to run on a Samsung SNDS eval board > (ARM7TDMI core w/ a bunch of on-chip Samsung peripherals). The file > ecos-1.2.1/packages/hal/arm/arch/v1_2_1/src/vectors.S claims to be > platform independent, yet it seems to make assumptions about the > memory map that are platform-dependent. > > For example, it assumes that there is RAM at address 0 so the > startup code initializes the exception vectors that are at address 0. > > Am I missing something? I'm using eCos in two different (allthough similar) StrongARM designs. Both of theese start from FlashROM and works fine. When creating the buildtree I use the option --startup=rom to define CYG_HAL_STARTUP_ROM and undefine CYG_HAL_STARTUP_RAM. The default option is --startup=ram. -- Dan Hovang (dh@cpen.com) CTechnologies AB Ideon Research Park Scheelev 15 223 70 Lund Sweden