RAMDisk and DOSFS example program wanted

Angelo Fraietta afraiett at bigpond.net.au
Thu Jul 1 23:03:11 UTC 2004



Chris Johns wrote:

> Joel Sherrill <joel at OARcorp.com> wrote:
>
>>
>> I recall someone having posted these before but can't seem to find
>> them.  I would greatly appreciate it if they could be sent to me again.
>>
>
> I assume you are looking for the driver, and file system 
> initialisation. If you need a test program try bonnie. I uploaded it 
> to the ftp site a while ago.

Where exactly is this example. I am trying out a new PC104 module 
(CM587)  which has a compact flash formatted with DOS. I am using the 
project that I use for my DIMMPC, which has an on board flash IDE, which 
works fine (the ethernet is great - thanks).
he PC104 locks up during the device driver initialisation at the 
IDE_CONTROLLER_TABLE ENTRY (see below)

rtems_driver_address_table Device_drivers[] = {
        CONSOLE_DRIVER_TABLE_ENTRY,
        TTY1_DRIVER_TABLE_ENTRY,
        TTY2_DRIVER_TABLE_ENTRY,
                MIDIPORT_1_DRIVER_TABLE_ENTRY,
        CLOCK_DRIVER_TABLE_ENTRY,

#ifdef RTEMS_BSP_HAS_IDE_DRIVER

                IDE_CONTROLLER_DRIVER_TABLE_ENTRY,
                ATA_DRIVER_TABLE_ENTRY ,

#endif
        {NULL,NULL,NULL,NULL,NULL,NULL},
};

If I comment out the IDE_CONTROLLER_DRIVER_TABLE_ENTRY, and 
IDE_CONTROLLER_DRIVER_TABLE_ENTRY, my app starts fine (except it does 
not read the files from DISK of course).

I though I might try your example to see what it does on the PC104.

-- 
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


http://www.users.bigpond.com/angelo_f/

There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)






More information about the users mailing list