SORRY!! Re: (Fwd) Re: DOSFS bug fixes, IDE drivers and sample released
Thomas Doerfler
Thomas.Doerfler at imd-systems.de
Wed Apr 9 19:56:39 UTC 2003
Hello Angelo,
so I really broke it!!!!
In the patch of PR368, some modifications I implemented since
I needed them for tests were still there. The following lines
should NOT be part of the patch:
diff -x '*~' -x Makefile.in -x configure.in -x configure -x
autom4te.cache -P -r -u rtems-
4.6.0pre1/c/src/lib/libbsp/i386/pc386/console/console.c rtems-
4.6.0pre1-ide/c/src/lib/libbsp/i386/pc386/console/console.c
--- rtems-
4.6.0pre1/c/src/lib/libbsp/i386/pc386/console/console.c
Wed Jul 17 00:32:54 2002
+++ rtems-4.6.0pre1-
ide/c/src/lib/libbsp/i386/pc386/console/console.c Thu Feb
27 10:25:38 2003
@@ -61,8 +61,13 @@
* to same serial device it does not work that great
*/
+#if 0 /* IMD hack */
int BSPConsolePort = BSP_CONSOLE_PORT_CONSOLE;
int BSPPrintkPort = BSP_CONSOLE_PORT_CONSOLE;
+#else
+int BSPConsolePort = BSP_UART_COM1;
+int BSPPrintkPort = BSP_UART_COM1;
+#endif
To fix it, either change "#if 0" to "#if 1", or remove the
unnecessary stuff completely, so that only the lines
int BSPConsolePort = BSP_CONSOLE_PORT_CONSOLE;
int BSPPrintkPort = BSP_CONSOLE_PORT_CONSOLE;
are left in your "console.c"
Sorry again. I will open a PR on that right now..
wkr,
Thomas.
> I have tried to build and run my application, however, the patch for the
> IDE has redirected my console to com1.
> I require both the console and com 1.
> What do I need to do to change it back?
>
> Angelo Fraietta wrote:
>
> >
> > Thomas Doerfler wrote:
> >
> >> Hello Angelo,
> >>
> >> the "sample" program is located in the patch filed in the gnat system
> >> as PR369. So if you go to
> >> http://www.oarcorp.com/cgi-bin/gnatsweb.pl
> >>
> >> and inspect PR369 and download/apply the patch and then look into
> >> c/src/tests/samples/fileio, you will see the sample application.
> >>
> >> BTW, you will also need PR368 and PR367 to get everything running
> >> (these PRs contain modifications for the DOSFS code and added drivers
> >> for PC386 and MBX8xx).
> >>
> >> wkr,
> >> Thomas.
> >>
> > I have downloaded all the patches and performed the build, however,
> > the sasmple is not being built.
> > I also configured with --enable-tests, but still the sample was not
> > built.
> >
> > I tried to build it using a makefile, however, I got a compile error
> > unable to include /rtems/ata.h
> >
> > I looked in the install directories, however, ata.h is not there (it
> > is in the source directory)
> >
> > Do I have to do something special in the configure to build this?
> >
>
> --
> 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)
>
>
>
--------------------------------------------
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/pgp_keys.htm
More information about the users
mailing list