From: Andy Jackson <andy@xylanta.com>
To: Chris Zimman <czimman@bloomberg.com>
Cc: joseph biswal <joseph.biswal@gmail.com>,
ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Re: FAT32 and SD card support on Redboot.
Date: Wed, 11 Mar 2009 21:11:00 -0000 [thread overview]
Message-ID: <49B80B1C.1090004@xylanta.com> (raw)
In-Reply-To: <AE37CDDF7D55EB4AB77E0D63F38594CB0488C4@ny2545.corp.bloomberg.com>
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
next prev parent reply other threads:[~2009-03-11 19:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 19:44 [ECOS] " joseph biswal
2009-03-11 19:04 ` [ECOS] " joseph biswal
2009-03-11 20:02 ` Chris Zimman
2009-03-11 21:11 ` Andy Jackson [this message]
2009-03-12 15:04 ` joseph biswal
2009-03-12 16:06 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49B80B1C.1090004@xylanta.com \
--to=andy@xylanta.com \
--cc=czimman@bloomberg.com \
--cc=ecos-discuss@sources.redhat.com \
--cc=joseph.biswal@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).