<html>
<head>
</head>
<body>
I am unable to make this build. I have two errors occurring that I cannot
get around.<br>
<br>
I will explain what I am trying to do first. I am trying to build a small
app that uses the four files that are in rtems-ss-20020807\cpukit\libblock
and seeing if it will run on my pc386dx build<br>
<br>
The first problem I am getting is I get an error that reference 2 of function
_CORE_mutex_Initialize is incompatible in the following function (I can't
see why though) in module bdbuf.c<br>
<br>
static inline void<br>
bdbuf_initialize_transfer_sema(bdbuf_buffer *bd_buf)<br>
{<br>
CORE_mutex_Attributes mutex_attr;<br>
<br>
mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;<br>
mutex_attr.only_owner_release = FALSE;<br>
mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;<br>
mutex_attr.priority_ceiling = 0;<br>
<br>
<br>
_CORE_mutex_Initialize(&bd_buf->transfer_sema, <br>
&mutex_attr, CORE_MUTEX_LOCKED);<br>
<br>
}<br>
<br>
If I comment the function out (i.e. _CORE_mutex_Initialize), I get two unresolved
externals: <br>
rtems_ramdisk_configuration_size and rtems_ramdisk_config rtems_ramdisk_configuration<br>
<br>
I have done a grep through the entire snapshot and cannot find where these
two variables are defined.<br>
Eugeny S. Mints wrote:<br>
<blockquote type="cite" cite="mid:Pine.LNX.4.10.BCL.10207201002030.716-100000@localhost.localdomain">
<blockquote type="cite">
<pre wrap="">Does the IDE driver work for the pc386 derivatives in the current snapshot?<br></pre>
</blockquote>
<pre wrap=""><!----><br>It doesn't - the implementation is hardcoded for powerpc. But you can<br>port it to pc386 with minimum changes, I think. But unfortunately current<br>IDE driver implementation have architecture which is hard to extend.<br>We propose the following architecture:<br><br>generic ATA driver (chip and CPU independant; only implementation of ATA<br>standart) locates in c/src/exec/libblock (although I'm not absolute sure<br>about this - may be another directory may be more appropriate)<br><br>generic IDE controllers driver and particular drivers for standart ide<br>controller chips locate in c/src/libchip/ide<br><br>if ide capacity is integrated into CPU then drivers for such ide locate in <br>c/src/lib/libcpu/myCPU<br><br>and if ide controller is somthing custom (for example on FPGA) then<br>driver for it goes to c/src/lib/libbsp/myBSP<br><br>Such architecture allows, for example, simply start IDE for any target<br>board - just implement particular on-b
oard IDE controller driver and go<br>on.<br><br>Currently I've done most part of the work. Because of this I don't think<br>that port of Linux driver is necessary now (but of course, than more<br>activities then better :)). Also license difference also need attention.<br><br><br>Regards,<br> Eugeny<br><br></pre>
<blockquote type="cite">
<pre wrap="">Joel Sherrill wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">"Eugeny S. Mints" wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">Angelo,<br><br>On Fri, 19 Jul 2002, Angelo Fraietta wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">Is this ready yet?<br><br></pre>
</blockquote>
<pre wrap="">Currently I'm working on the another implementation of ATA<br>driver which is a bit more chip(I mean IDE<br>controllers)/CPU independant than thye implementation<br>provided<br>by Thomas Doerfler. Currently it will be PIO mode<br>implementation but both poll and interrupt driven. Also<br>architecture of the driver will allow easy extention for<br>any IDE controller and for DMA mode. I've already have successful mount of<br>msdos partition on real IDE hard disk and successful read of a file.<br>I hope I will able to provide something stable (more or<br>less) by the end of the next week.<br><br></pre>
</blockquote>
<pre wrap="">At least the last (broken) snapshot had Thomas' driver in it.<br><br>I think the source for everything libblock, libfs, and IDE driver<br>was up to date in there minus unsubmitted code like Eugeny is<br>mentioning.<br><br></pre>
<blockquote type="cite">
<pre wrap="">Regards,<br> Eugeny<br><br></pre>
<blockquote type="cite">
<pre wrap="">root wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">Thomas Doerfler wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">Hi to all,<br><br>a collegue of me has coded a ATA/IDE driver, we<br>are currently busy testing it. We found some<br>problems in the libblock/libdosfs, but the code<br>is getting better every day :-)<br><br>So I guess in one or two weeks we have a code<br>ready to be published.<br><br></pre>
</blockquote>
<pre wrap="">Need I say more than YEAH!!! Thomas did you look<br>at the DOS FS test that is in GNATS for inclusion<br>in the test suites?<br><br>FYI I have been out of town for 4 days and the modem<br>would not connect. I have 1200 messages in my inbox and<br>am just now wading through them. Forgive me if I miss<br>something. :(<br><br>--joel<br><br></pre>
<blockquote type="cite">
<pre wrap="">Bye,<br> Thomas.<br><br></pre>
<blockquote type="cite">
<pre wrap="">So it still needs to have an ATAPI driver written for it?<br><br>Eugeny S. Mints wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">Angelo,<br><br>This is our test suit in attachment.<br>But please take into account that currently there is no any<br>IDE driver in RTEMS for any BSP. We use gdb simulator and<br>RAM disk driver which we've developed (it locates in<br>libblock also) for test purposes.<br>But it seems somebody called Camilo Alejandro Arboleda as a<br>person who is working on floppy driver.<br><br>Please, feel free ask any question you have,<br>Regards,<br> Eugeny<br><br><br></pre>
</blockquote>
<pre wrap="">--<br>Angelo Fraietta<br><br>PO Box 859<br>Hamilton NSW 2303<br><br>Home Page<br><br><br><a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a><br><br>There are those who seek knowledge for the sake of knowledge - that is CURIOSITY<br>There are those who seek knowledge to be known by others - that is VANITY<br>There are those who seek knowledge in order to serve - that is LOVE<br> Bernard of Clairvaux (1090 - 1153)<br><br><br><br></pre>
</blockquote>
<pre wrap="">--------------------------------------------<br>IMD Ingenieurbuero fuer Microcomputertechnik<br>Thomas Doerfler Herbststrasse 8<br>D-82178 Puchheim Germany<br>email: <a class="moz-txt-link-abbreviated" href="mailto:Thomas.Doerfler@imd-systems.de">Thomas.Doerfler@imd-systems.de</a><br>PGP public key available at: <a class="moz-txt-link-freetext" href="http://www.imd">http://www.imd</a>-<br>systems.de/pgp_key.htm<br><br></pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">--<br>Eugeny S. Mints<br>OKTET Ltd.<br>1 Ulianovskaya st., Petergof, St.Petersburg, 198904 Russia<br>Phone: +7(812)428-4384 Fax: +7(812)327-2246<br><a class="moz-txt-link-freetext" href="mailto:Eugeny.Mints@oktet.ru">mailto:Eugeny.Mints@oktet.ru</a><br><br></pre>
</blockquote>
</blockquote>
<pre wrap="">-- <br>Angelo Fraietta<br><br>PO Box 859<br>Hamilton NSW 2303<br><br>Home Page<br><br><br><a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a><br><br>There are those who seek knowledge for the sake of knowledge - that is CURIOSITY<br>There are those who seek knowledge to be known by others - that is VANITY<br>There are those who seek knowledge in order to serve - that is LOVE<br> Bernard of Clairvaux (1090 - 1153)<br><br><br><br></pre>
</blockquote>
<pre wrap=""><!----><br>--<br>Eugeny S. Mints<br>OKTET Ltd.<br>1 Ulianovskaya st., Petergof, St.Petersburg, 198904 Russia<br>Phone: +7(812)428-4384 Fax: +7(812)327-2246<br><a class="moz-txt-link-freetext" href="mailto:Eugeny.Mints@oktet.ru">mailto:Eugeny.Mints@oktet.ru</a><br><br><br><br><br><br><br><br><br></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
<a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a>
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)</pre>
<br>
</body>
</html>