[ECOS] software reset

Jonathan Larmour jifl@eCosCentric.com
Wed Oct 23 22:11:00 GMT 2002


Vinayak P Risbud wrote:
>             Hi,
> 
>             I am working on ARM940T processor.
>             If I enter, reset command at console,
>             Redboot crashes.
> 
>             Before calling
>                     goto *HAL_PLATFORM_RESET_ENTRY;
>                     (in reset(void) function hal_if.c)
> 
>             do we need to take care of anything else ?

Maybe. It's your hardware, you tell us ;-).

Actually if you're using one of the existing ARM9 ports (aaed2000, 
excalibur) you should see the following defined in hal_platform_ints.h:

#define HAL_PLATFORM_RESET() cyg_hal_arm9_soft_reset(0)

If you do have it, maybe it's broke ;).

If it's your own port and you don't have that, add it to your own 
hal_platform_ints.h, assuming you are using the arm9 variant hal 
(hal/arm/arm9/var/current).

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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



More information about the Ecos-discuss mailing list