File system and CompactFlash question on MCF5485EVB board

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 13 15:59:36 UTC 2012


On 11/13/2012 04:31 PM, Chris Xenophontos wrote:
> ////////////////  from application initialization code  ////////////////////////
>      sc = rtems_bdpart_register_from_disk( "/dev/hda" );
>
>      rv = rtems_fsmount( fs_table, sizeof(fs_table)/sizeof(fs_table[0]), NULL);
>
> ////////////////////////////////////////////////////////////////////////////////
>
> what are we doing wrong?

You should check the return status codes.

Does the rtems_bdpart_register_from_disk() create the "/dev/hda1" and 
"/dev/hda2" device files?

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the users mailing list