This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i386 FAT HDD support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]