Block devices
Thomas Doerfler (nt)
Thomas.Doerfler at imd-systems.de
Thu Aug 11 10:37:51 UTC 2005
-----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