This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: i386 FAT HDD support
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Scott Bailie <bailie at ll dot mit dot edu>
- Cc: ecos-discuss at sourceware dot org
- Date: Fri, 4 Nov 2005 22:34:33 +0100
- Subject: Re: [ECOS] i386 FAT HDD support
- References: <200511042004.jA4K4cK4003476@ll.mit.edu>
On Fri, Nov 04, 2005 at 03:04:29PM -0500, Scott Bailie wrote:
> I'm attempting to mount an IDE hard drive on an i386 target. As a basic test
> of file I/O I mounted a RAMFS first, which worked. Next I added the
> fat16.ecm in the \packages\fs\fat\current\doc directory. Now I'm using the
> same program and trying - mount( "/dev/disk0/1", "/mymount", "fatfs" ),
> however mount() is failing. I'm booting via REDBOOT floppy and using TFTP
> to grab my program from my development box. And yes, I have a FAT formatted
> HDD installed.
FAT what though? FAT16? FAT32? Plain old FAT?
Try enabling the DEBUG code in packages/io/disk/current/src/disk.c See
if it is correctly finding the partition table, etc.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss