From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3404 invoked by alias); 12 Jul 2005 01:30:39 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 3394 invoked by uid 22791); 12 Jul 2005 01:30:34 -0000 Received: from sta-206-168-96-204.rockynet.com (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 12 Jul 2005 01:30:34 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 3B90B10043B; Mon, 11 Jul 2005 19:30:32 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 9671A100438; Mon, 11 Jul 2005 19:30:20 -0600 (MDT) From: Gary Thomas To: Michael Anburaj Cc: eCos Discussion In-Reply-To: References: Content-Type: text/plain Date: Tue, 12 Jul 2005 01:30:00 -0000 Message-Id: <1121131818.5931.35.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] SOS: [ECOS] issues: memcpy in flash_config_insert_value & exec -r X-SW-Source: 2005-07/txt/msg00129.txt.bz2 On Tue, 2005-07-12 at 01:22 +0000, Michael Anburaj wrote: > Can someone help me please! > > Thanks, > -Mike. > > >From: "Michael Anburaj" > >To: ecos-discuss@ecos.sourceware.org > >Subject: [ECOS] issues: memcpy in flash_config_insert_value & exec -r > >Date: Mon, 11 Jul 2005 10:30:16 +0000 > > > >Hi, > > > >H/w : MIPS atlas, 4Kc > >Build: Redboot_ROM > >source: latest from CVS > > > >Issue #1: memcpy in flash_config_insert_value (fconfig.c), case CONFIG_ESA > >throws an exception (I guess) casues Redboot to hang-up (with GDB command > >$T0b25...) > > > >dp = 0x80fbf016 > >&opt-dflt = 0x800010bc > >size = 6 > > > >Other cases work fine: > > > >case CONFIG_BOOL: > >dp = 0x80fbf02e > >&opt-dflt = 0x800010d4 > >size = 4 > > > >Let me know the reason behind this. For now, I have bypassed this by > >commenting out the memcpy for the CONFIG_ESA case. > > Try looking carefully at how the flash_config structures are set up in the ethernet driver you are using. The way RedBoot handles CONFIG_ESA data changed (about 2 years ago) and I suspect that this driver was not updated. > >Issue #2: > >The redboot command "exec" is supposed to have -r option for RamDisk, but > >in my Redboot build I don't see this option. Let me know if I need to > >included some packages for this or enable some option in Redboot config. There does not seem to be any support for ramdisks in the MIPS HAL. What makes you think this option is supported? n.b. the 'exec' command is highly HAL/target specific. Not all options are available for all targets, etc. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss