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]
Other format: [Raw text]

Re: I have problem memory-access in Redboot


On Tue, 2002-10-15 at 11:09, ddanggi wrote:
> 
>  Hello.  I am developing MPC850-board.
> 
>  I made redboot without flash-device , ethernet-device. and I burned Redboot into MPC850-board.
>  
> Currently  I make new-Redboot enabling flash-device. This Redboot is downloaded into board through redboot.
>  
>  do_flash_init() ( in redboot/current/src/flash.c) is complete 
> but at  "memcpy(config, cfg_base, sizeof(struct _config))" in  load_flash_config()(  in redboot/current/src/flash.c) 
> error occurs.   using gdb , I know bus-error occurs in memcpy. 
>  memory-region( which cannot be accessed )  is near the CYGMEM_SECTION_heap1. 
>  what's problem? please help me~

Make sure that your whole FLASH is mapped.  Look in 
  <platform>/current/src/hal_aux.c

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


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


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