[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] FAT FS troubles
Jivin Rudolf Usselmann lays it down ...
>
> Howdy Gang,
>
> After some more investigation, I have determined that the FAT
> FS driver in uCLinux is broken (or at least incomplete).
> It assumes a single FAT without any partitions. Even though
> I can create that type of disk, my boot loader (based on
> the xilinx FAT libraries) can not boot from that type of
> card anymore. This FAT driver, after reading the MBR, assumes
> that the FAT is located at sector 233. Which of course is
> not the case.
>
> Is there any way to incorporate the FAT fs driver from "real"
> linux in to the ucLinux ? Or does anybody know of a "full" FAT
> FS driver for ucLinux ?
The fat driver in uClinux is unchanged AFAICT from linux.
I run the current uClinux kernel on my desktop and my MP3 player hooks
up fine so I am fairly sure it works ok ;-).
If the fat code is not working for you then I would suspect the
platform differences first. Big-endian/little endian ? Interface
problems ? It's hard to say really.
Are you using the VFAT driver or just the FAT driver ?
Are you mounting the correct device ? If thereare partitions
you need to mount the partition (ie., /dev/sad1 for partition 1),
Cheers,
Davidm
--
David McCullough, davidm@snapgear.com Ph:+61 7 34352815 http://www.SnapGear.com
Custom Embedded Solutions + Security Fx:+61 7 38913630 http://www.uCdot.org
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/