public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Donald Walton <dwalton@dramail.com>
To: "Maurice Müller" <maurice.mueller@web.de>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Problems with FAT and IDE
Date: Mon, 12 Mar 2007 19:34:00 -0000	[thread overview]
Message-ID: <1173731652.3627.20.camel@localhost> (raw)
In-Reply-To: <45F5A1CB.5020904@web.de>

On Mon, 2007-03-12 at 19:54 +0100, Maurice Müller wrote:
> Hi,
> 
> i am trying to set up an eCos with an internal IDE harddisk (40GB) on a 
> standard x86-PC-target. When running the fatfs1 test case, the details 
> of the harddisk are shown, but the mounting fails with a return code of 
> -1 (unknown error). I tried many configurations like using FAT16 instead 
> of FAT32, but nothing worked. The MBR of the harddisk includes the grub 
> boot loader, through which i start my applications. I also tried to run 
> the test case via GDB (RedBoot) but this case doesn't work too. I wpuld 
> be very thankful if somebody can tell me how to get my config working.
> 
> Please help me. I spent a lot of time on this problem.
> 
> Best regards
> Maurice
> 
The IDE interface in eCos does work quite well.  But there are a couple
of items to look at.

- Do you have the current version of the IDE code because there was a
bug fix a few months ago concerning the reading and writing of a block
of data from the IDE drive?
- Is the hard drive partition that you are trying to read formatted as a
fat32 filesystem?

I have not used the eCos test software so I don't know if it is OK.  You
might want to insure that debugging output is enable for the drives and
file system.  Hopefully, that will give you more information about what
is happening.

Have a great day,
Don



-- 
Don Walton
Defense Research Associates, Inc.
3915 Germany Lane, Suite 102
Beavercreek, OH 43431
(937) 431-1644  x118    (office)
(937) 427-4526          (fax)

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2007-03-12 19:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 18:54 Maurice Müller
2007-03-12 19:34 ` Donald Walton [this message]

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=1173731652.3627.20.camel@localhost \
    --to=dwalton@dramail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=maurice.mueller@web.de \
    /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).