From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27910 invoked by alias); 21 May 2004 15:03:19 -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 27744 invoked from network); 21 May 2004 15:03:14 -0000 Received: from unknown (HELO msgdirector3.onetel.net.uk) (212.67.96.159) by sourceware.org with SMTP; 21 May 2004 15:03:14 -0000 Received: from miso.calivar.com (213-78-74-5.friaco.onetel.net.uk [213.78.74.5]) by msgdirector3.onetel.net.uk (MOS 3.4.6-GR) with ESMTP id CGA33010; Fri, 21 May 2004 16:03:05 +0100 (BST) Received: from miso.calivar.com (miso.calivar.com [127.0.0.2]) by miso.calivar.com (Postfix) with ESMTP id 58EC515ABFB; Fri, 21 May 2004 16:03:04 +0100 (BST) To: Savin Zlobec Cc: jam2000@pisem.net, ecos-discuss@sources.redhat.com References: <40AE0F3F.7080604@elatec.si> From: Nick Garnett Date: Fri, 21 May 2004 16:18:00 -0000 In-Reply-To: <40AE0F3F.7080604@elatec.si> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] Re: building redboot with eCos kernel X-SW-Source: 2004-05/txt/msg00258.txt.bz2 Savin Zlobec writes: > Nick Garnett wrote: > > >Michael Jastrebtsoff writes: > > > >> Hello, All. > >> I need to build Redboot with FAT support. But FAT requires eCos > >> kernel. > >> I try build Redboot with eCos kernel, but this don't work.(when i > >> connected to redboot via terminal, i'v got a random chars on screen.) > > > >The FAT filesystem will not work in RedBoot since it requires too many > >kernel facilities to work. You cannot put the kernel into RedBoot > >since RedBoot is intended to be a stand alone application, there are > >just too many assumptions for this to work. > > > There shouldn't be a lot do to get fatfs into RedBoot - all I can think of > right now is the cyg_mempool_* api which is not available in nonkernel > configurations. > > >The only use that RedBoot would have for FAT filesystem support is to > >load executables. So a simple read-only loader similar to the one that > >already exists for ext2 would be a better solution. > > > This has already beed done - check The DODES project at > http://www.m17n.org/dodes/ecos/index.en.html. Give or take a bit of fixing to bring it up to date -- it is 2.5 years old -- that is what I meant. It's a pity it has never been contributed back to the public repository. However, the main point is that putting the whole FAT fs into RedBoot is overkill when RedBoot can only use it for read-only access. We need to do our best to keep RedBoot small. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss