This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: eCos with the existing boot loader problem


shobhan Kumar Ayyadevara wrote:
> 
> Hello,
> 
> I have a boot loader for my ARM 7TDMI based SOC board. It will just copy
> the image from the flash to the RAM and gives a jump to the predefined
> location. We were able to load any image built using ARM SDT 2.51 and
> multi-ICE. But we are not able to load the eCOS generated with RAM boot
> option. I am using cygwin, binutils 2.10, gcc 2.95.2 on Windows
> platform. Is it possible to use such kind of boot loader for eCos?

Probably. For a start, are you sure you are in supervisor mode when
execution is transferred. Secondly, disable CYGSEM_HAL_USE_ROM_MONITOR.
Finally check your entry point - it should be reset_vector. After that -
well, if you've got an ICE you should be able to debug it pretty well.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]