To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *499 (-40)
  Re: O_ASYNC problem (Solaris again)
 
BTW, a really good article on Solaris aio is here: (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Problem with asm statement in loader.c
 
(...) Hi Klaus, first: forget gcc-2.95.2 for CROSS-compiling for the moment, it does NOT work with legOS-0.2.2. You can compile legOS using it, but legOS will hang immediately when you try to download any user program. I guess only Markus is able to (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: O_ASYNC problem (Solaris again)
 
(...) I think it is quite likely that Solaris does not have it- neither Solaris i386 or Solaris Sparc (at least the versions that I have access to) have it. (...) Hmm. O_ASYNC is defined in /usr/include/bits/fcntl.h under Linux. The equivalent file (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Problem with asm statement in loader.c
 
hi, as many others, i also want to succeed in building legOS (0.2.2). :) my platform is linux, kernel 2.0.38, glibc1. i've builded binutils-2.9.1.0.25 and gcc-2.95.2 as described in the howto. version 0.1.7 works just fine, but if i attempt to build (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  O_ASYNC problem (Solaris again)
 
Hi all, We are persisting with our build on solaris for legOS 0.2.2 things are getting closer. We have sorted out the getopt.h problems by just copying the getopt.c and getopt.h into the dll-src directory (because it is a known path for the Makefile (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
(...) In fact, as currently configured, building user-land programs also requires one of the perl programs in util, so we can't quite get rid of it yet. Here is my perl analysis- As far as I can tell (via extensive grepping and make-file reading), (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Yippie, heLLo world (was: Re: Kernel dies after loading)
 
Well, Markus is probably better qualified, but I'm going to try to get to it eventually. Don't bet on it for anytime soon- I seem to be getting less and less freetime, instead of more :( -Luis (...) ###...### Profanity is the one language that all (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
(...) I think that making .lx files doesn't involve Perl, even though building legOS.srec and the util stuff still uses Perl. This implies that you could distribute a precompiled legOS.srec and a smaller set of tools, sans Perl, for people to build (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
Thanks for the notes. I briefly tried to get legOS to compile on NT and gave up before I got as far as you did. Let us know if you get it all working. (...) Joel Shafer joel@connect.net (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
(...) It's quite possible that the -nostdinc line will block out the getopt.h mentioned in an earlier post. Could this be what you recall having to move? (...) This would be Markus's bit, but do we have anyone who knows cross-platform make stuff (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: compiling legOS
 
(...) getopt.h is part of the standard gnu C libraries. In a normal Linux system, it is in /usr/include/. What compiler are you using on Solaris? Is it gcc or something else? If it's gcc, then it should be there. IF you are not using gcc, then there (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Notes on WinNT and legOS 0.2.2
 
No, I don't have it working yet. However, I've made progress, and I thought my experience might be helpful to others who are more savvy with the GNU tools than I am. - I did get everything to compile. As Luis suggested, the -nostdinc flag takes care (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  compiling legOS
 
Hi all, I think we have finally gotten a cross compiler built for Solaris. I am still not 100% sure. I will not say that we have until I have seen a robot driving around the table which has a program written in legOS and downloaded in it. However at (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: argh
 
Hmm. I'm using 2.95.2 and getting all these weird errors. Oh well- I'll report more later. -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: argh
 
(...) Do you mean gcc 2.95.x ? If so, yes, i did it 2 days ago. The native compiler on my linux box (kernel 2.2.13, glibc 2.0 ) is a self compiled gcc 2.95.1. The cross compiler egcs-1.1.2 for h8300 built without problems on this machine, and i was (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  argh
 
So, I have a quick question: has anyone built egcs 1.1.1 or 1.1.2 with gcc 2.9.5? I'm getting some very weird errors when I try to build the cross compiler- basically, it appears that the parser is trying to read certain comments as assembly (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  rotation sensors
 
Hello, one of my beautiful new rotation sensors was jammed right out of the box. I built a robot to try out dynamic equilibrum, i.e., balancing a weighted stick, only to notice that my construction didn't turn at all because of sensor friction. (...) (25 years ago, 17-Nov-99, to lugnet.robotics.rcx.legos)
 
  dkey_multi (was: Kernel dies after loading)
 
(...) Now I know what makes the RCX freeze: On my RCX , the variable dkey_multi, which stores the status of the keys, always has the first bit (0x1) set. This causes the debounce loop at boot up to hang, because it thinks that the On-Off key is (...) (25 years ago, 17-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: I love my mailbox
 
(...) I have to comment here that the O'Reilly "The Unofficial Guide to LEGO® MINDSTORMS™ Robots" (By Jonathan B. Knudsen, 1st Edition October 1999, 1-56592- 692-7, Order Number: 6927, 266 pages, $24.95) is one of the best "tech" books I've read in (...) (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: I love my mailbox
 
Gee. I need to write a book for O'Reilly... or at least an OS... -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  I love my mailbox
 
Look what I got in the mail today: two rotation sensors, courtesy of O'Reilly. Thanks, guys! Now to fix that driver for good... Markus. (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Win95
 
(...) There was a report at one point that someone could get the cross-compiler running on Solaris, but that never materialized. My own half-hearted attempts built binutils (a beta version which might not have actually worked anyway) but never made (...) (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS on Win95
 
Hi We are a couple of 4th year Computer Science students who have been given the enviable task of programming a set of 6 RCX's to do something "impressive" (please forward any cool ideas for a project to michael.yates@studen...le.edu.au) anyhow in (...) (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Yippie, heLLo world (was: Re: Kernel dies after loading)
 
Hi Luis, i got thes egcs-1.1.2 sources today and rebuilt the cross-compiler and legOS and -- it works now. Thanks a lot for your help !! Could you perhaps give me a starting point to get some understanding of how legOS works internally ? (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) A quick grep of the sources show that only a few things (other than lnp, which depends very heavily on interrupts) need the interrupts- task visualization and sound appear to be the two victims. If you don't need these and don't want to worry (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) In theory, everything should work with an unpatched cross compiler, too. legOS code checks a preprocessor define, CONF_RCX_COMPILER, I think, to determine whether patched or unpatched compilers are used. The problem is, I don't have an (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
As I understand it, the patch provides support for interrupts, which, at least from my glance over the code, are necessary only for LNP stuff. (Markus, feel free to correct me on this.) So, it will compile with your "old" cross compiler and provide (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) does this mean legOS will or at least should compile and run without the patch ? if that's true -- what is the actual effect of the patch ? (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac
 
Chris, check if gnu tools (gcc and binutils) is available for MAC, I guess they are: (URL) says: ---...--- Newsflash: gcc is included in Mac OS X Server after all. Apple just renamed it to cc. To make apps see gcc, open a terminal and type: ln -s (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
Don't know much about the compiler differences (except that I thought most of the 1.1.2->2.9.5 differences would mainly cause compile-time failures, not run-time) but I have compiled every legOS thing I've done (including 0.2.1) with 1.1.2. I have (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) Hello Heiko & all other brave legOS'sers, i think i got some ideas related to my (and maybe someone else's) troubles. gcc 2.95.2 with Markus's patch applied looks like having general problems... I downloaded the legOS kernel contained in the (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Kernel dies after loading (was: Re: legOS-0.2.2)
 
Hi, if I am not wrong, I have a problem similar to Martin's: When I load the legOS-0.2.2 kernel to the RCX, the kernel dies leaving "on -" on the LCD. It doesn't accept any key input, only removing the batteries helps. When I nevertheless try to (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS on Mac
 
Hello, I've decided to post this question since I've not found the answer so far in previous posts. Has anyone expolored building a legOS system on the Macintosh? I've just entered the world of RC, and am intrigued by the possibilities of using (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS-0.2.2 and C++
 
in the old legOS-0.1.7 there was this first-c++ demo program. I don't see it in latest version of legOS. however the sensor class is still there... what's the status on all this (parts of legOS being in C++)? does it work at all? (yes, I can try it (...) (25 years ago, 13-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS-0.2.2
 
Hi Markus, sorry for the delayed response, but finally i'm back: (...) i found a way that may be somewhat cleaner, by separating the lnp related header files needed by the utilities from the libc stuff: created a directory in legOS/include named (...) (25 years ago, 12-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS
 
I'm looking for a complete package which includes all the tools I need to work with legOS on a Windows95 platform (or DOS). Something for a beginner if you like... Anyone know where to find this? CU Bert Lego robots and artificial intelligence (URL) (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: communication PC <-IR-> RCX
 
Hi Pavel, check out the program loader. Basically, you have to register your own port handler for incoming packets on the PC. You should also acknowledge them in some way, so the RCX knows what's going on. Maybe IR networking should become secure. (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: communication PC <-IR-> RCX
 
(...) You can use lnp_logical_write. But - the IR tower automatically turns off if nothing has been sent through it, so in order to see the data coming in, you have to keep sending something through the tower. [...] -- Regards, Modemch (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  communication PC <-IR-> RCX
 
Does anybody have an example of a LegOS program that sends data back from the RCX to the PC? Is this possible also with SPIRIT.OCX poll/datalog protocol? Tnanks, Pavel. e-mail: petrovic@ifi.ntnu.no (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS-0.2.2
 
Hi Martin, the FD_ZERO bug sounds interesting. Maybe there's a way to work around this issue in a more portable way? Like, remove /usr/include from the Makefile and hope for the best? The debugging output shows that the host is sending packets and (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR