From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14774 invoked by alias); 8 Sep 2009 09:23:13 -0000 Received: (qmail 14712 invoked by uid 22791); 8 Sep 2009 09:23:12 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_50,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Sep 2009 09:22:58 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id DDC3F2F7800F for ; Tue, 8 Sep 2009 10:22:55 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BhwbMt3A2D+K; Tue, 8 Sep 2009 10:22:54 +0100 (BST) Message-ID: <4AA6226F.3030107@ecoscentric.com> Date: Tue, 08 Sep 2009 09:23:00 -0000 From: Ross Younger User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: eCos discuss-list References: <20090908090117.GA7098@sg-laptop> In-Reply-To: <20090908090117.GA7098@sg-laptop> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] RedBoot's load and fileio X-SW-Source: 2009-09/txt/msg00072.txt.bz2 Hi Sergei, > Does anybody know what was a reason to suppress in RedBoot an ability > to load files in RAM from a file on the mounted filesystem(s)? Support for loading from fileio is present, but hiding; I think what you found was the old code. It really lives in fs/fileio.c, switched on by the option CYGPKG_REDBOOT_FILEIO. All you should need to do is add CYGPKG_IO_FILEIO to your config, and resolve any conflicts, before you build RedBoot. Then, the syntax "load -m fileio /some/file" is what you're looking for. It all Just Worked for me when I tried it out a few months ago. (I was using a YAFFS filesystem and my NAND library, but there's no reason why jffs2 shouldn't work.) Ross -- Embedded Software Engineer, eCosCentric Limited. Barnwell House, Barnwell Drive, Cambridge CB5 8UU, UK. Registered in England no. 4422071. www.ecoscentric.com >>>> Visit us at ESC-UK http://www.embedded.co.uk <<<< >>>> Oct 7-8 on Stand 433 at FIVE ISC, Farnborough <<<< -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss