Block devices

Camilo Alejandro Arboleda camilo.arboleda at spymac.com
Thu Aug 11 13:47:35 UTC 2005


My driver is not like an IDE driver (it's actually a port of an old 
linux driver), but i'm going to check the driver you are telling me.

Thanks

Thomas Doerfler (nt) escribió:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>
>Camilo Alejandro Arboleda schrieb:
>  
>
>>Hi,
>>
>>Short question: is there any documentation about how to create block
>>device drivers?
>>    
>>
>
>I am not aware about a real documentation (although I might be wrong...)
>
>Do you know about the interface of your flash driver? If it is something
>like IDE (you have that with compact flash cards e.g.) you might use an
>existing IDE driver and adapt it to your hardware. Otherwise, you have
>to replace the generic ata driver (see c/src/libchip/ide/ata.c). The ata
>driver mainly supports two ioctl calls and performs certain callbacks,
>when the actual block transfers are done.
>
>wkr,
>Thomas.
>
>  
>
>>Long history: we are using RTEMS 4.5, with a pre-cpukit FAT-12 support
>>and flash driver. Now we want to move to RTEMS 4.6.2, but our flash
>>driver doesn't work with the new fat support, i guess because it doesn't
>>use libblock. What steps should we take?
>>
>>Thanks in advance,
>>
>>Camilo Alejandro Arboleda.
>>
>>    
>>
>
>
>- --
>- --------------------------------------------
>IMD Ingenieurbuero fuer Microcomputertechnik
>Thomas Doerfler           Herbststrasse 8
>D-82178 Puchheim          Germany
>email:    Thomas.Doerfler at imd-systems.de
>PGP public key available at:
>     http://www.imd-systems.de/pgpkey_en.html
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.5 (MingW32)
>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
>iD8DBQFC+yp+wHyg4bDtfjQRAn82AKCI2/yFeM+OYzp8M33fvyVaJ8omBACfbPWK
>wvBg2+D249OWBKDUJkpXMcM=
>=kmEI
>-----END PGP SIGNATURE-----
>
>  
>



More information about the users mailing list