From: Hicks, Jamey (Jamey.Hicks@compaq.com)
Date: Thu Mar 28 2002 - 14:50:48 EST
Thanks!
Interesting. Ignoring bytes per sector from the drive actually works? So much for trying to follow the spec.
Jamey
> -----Original Message-----
> From: George G. Davis [mailto:gdavis@mvista.com]
> Sent: Thursday, March 28, 2002 2:26 PM
> To: bootldr@handhelds.org
> Subject: [Bootldr] CF flash cards report "unformatted bytes
> per sector"!
> : |
>
>
> Greetings,
>
> Has anyone been able to `boot vfat` while using a CF flash
> card?
>
> I've finally managed to boot from my CF flash cards! : )
>
> I've had no problems using an IBM microdrive. But none of my
> SanDisk 32/64/128MB cards worked. Meanwhile, I've read a few
> specs lately and learned that CF flash cards (well SanDisk
> anyway) report the "Number of unformatted bytes per sector"
> whereas the microdrive reports _only_ (useable) bytes per
> sector.
>
> Doh, I only care about the useable number of "bytes per sector"!
>
> Anyway, by forcing bytes_per_sector to 512, my CF flash cards
> work. BTW, it looks to me like the linux IDE driver forces bps
> to 512 for hard disks too, CF flash based or otherwise. But
> don't take my word for it... : )
>
> My quick and dirty patch is attached.
>
> Works for me! : )
>
> --
> Regards,
> George
>
This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:03 EST