This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: I have problem memory-access in Redboot
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: ddanggi <ddanggi at adam dot kaist dot ac dot kr>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 15 Oct 2002 11:14:47 -0600
- Subject: Re: [ECOS] I have problem memory-access in Redboot
- References: <00ec01c2746d$a78d0750$95a5f88f@ddanggi>
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