From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 995 invoked by alias); 11 Mar 2009 19:04:10 -0000 Received: (qmail 983 invoked by uid 22791); 11 Mar 2009 19:04:09 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from cadmium.webfusion.co.uk (HELO cadmium.webfusion.co.uk) (212.67.202.132) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Mar 2009 19:04:01 +0000 Received: from grapevinetech.demon.co.uk ([80.177.222.235] helo=[192.168.1.114]) by cadmium.webfusion.co.uk with esmtpa (Exim 4.54) id 1LhTif-0001ai-KW; Wed, 11 Mar 2009 19:03:58 +0000 Message-ID: <49B80B1C.1090004@xylanta.com> Date: Wed, 11 Mar 2009 21:11:00 -0000 From: Andy Jackson Reply-To: andy@xylanta.com User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Chris Zimman CC: joseph biswal , ecos-discuss@sources.redhat.com References: <6aca9e460903100813x25669056w3aa3c9bdb0772cd0@mail.gmail.com> <6aca9e460903111055t2f613a53mdbd71bdd0d03213e@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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] Re: FAT32 and SD card support on Redboot. X-SW-Source: 2009-03/txt/msg00051.txt.bz2 Chris Zimman wrote: >> Does anybody have an idea on as to whether or not Redboot supporting >> FAT32. I am unable to modify the .ecc file to get the CDL flags >> enabled for SDHC and CYGPKG_REDBOOT_DISK but i am unable figure out >> the dependency tree for each of them . If anybody has quick hints on >> it, it would be great. >> > > The eCos FAT driver supports FAT32. If you use 'ecosconfig' to configure > your tree, it should help you with getting the dependencies sorted out. > > Last time I tried to do this (maybe 2 years ago), this is what worked for me: 1. Make sure that you have a version of the CVS Redboot code later than July 20 2006 s the range of disk handling commands was extended by the checkin that day (fs xxx commands) 1. Ignore the Redboot native disk support (don't enable CYGPKG_REDBOOT_DISK) as this doesn't provide FAT support despite appearing to at first glance. In fact you can get as far as being able to identify a disk as FAT formatted (with the disks command), but no further. 2. Instead, enable the file I/O support (CYGPKG_REDBOOT_FILEIO) 3. Add all the other bits that this requires (disk devices, block I/O, linux compat layer, FAT filesystem, POSIX file I/O compat layer etc) 4. Build 5. At the Redboot prompt use something like: fs mount -d /dev/disk0/1 -t fatfs // where disk should be replaced by the device being used Hope this is still correct, Andy -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss