public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problems with FAT and IDE
@ 2007-03-12 18:54 Maurice Müller
  2007-03-12 19:34 ` Donald Walton
  0 siblings, 1 reply; 2+ messages in thread
From: Maurice Müller @ 2007-03-12 18:54 UTC (permalink / raw)
  To: ecos-discuss

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Problems with FAT and IDE
  2007-03-12 18:54 [ECOS] Problems with FAT and IDE Maurice Müller
@ 2007-03-12 19:34 ` Donald Walton
  0 siblings, 0 replies; 2+ messages in thread
From: Donald Walton @ 2007-03-12 19:34 UTC (permalink / raw)
  To: Maurice Müller; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-12 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-12 18:54 [ECOS] Problems with FAT and IDE Maurice Müller
2007-03-12 19:34 ` Donald Walton

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).