Subject:
|
Re: Modifying the BrickOS source code
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Wed, 2 Jul 2003 00:34:49 GMT
|
Viewed:
|
3195 times
|
| |
| |
In lugnet.robotics.rcx.legos, Michael Obenland wrote:
> Charles Mancinelli wrote:
>
> > My friend and I are tring to modify the BrickOS memmory management for a
> > computer Science senior project.
>
> If he wants to do this, he should better have a good understanding of
> programming in C and Operation System design. Debugging an OS is a hard job.
>
> > We where under the impression that we could just change a file, then re- archive
> > it (into .tar format) and then we could re-build the new version of the
> > OS, but we are not sure how to do this. Any help would be great.
>
> I am under the impression that you don't have any knowledge of how to
> handle a UNIX style system. That is bad. You must have an idea how to
> use make, how to edit a file (with vi, emacs or joe) and may be even how
> to use a debugger.
>
> My advice is: If your hard disk is big enough, that is if you have about
> 5 to 10 MB free, install Linux, buy a book (or read some introduction on
> linux programming), try some "hello world" like easy programs with
> multiple source files to get an idea of using make. Then install
> brickOS, the cross compiler and start working. But knowing the basics of
> UNIX would be esential. And using cygwin on top of DOS obscures the
> things more because you have another possible area for making errors.
>
> Regards,
>
> Michael
This is my friend writing this time becuase he lost his user info for
lugent and is trying to become a member but he hasnt gotten an email
back from the system so he is having me do the asking:
Thanks for the help guys. I am going to edit a file, I think kmain.c
in BrickOS. I am going to print something out from so that I make sure
I am rebuiling BrickOS correctly. So after I make the change to the
file what do I have to do for those changes to take affect? I followed
the directions my Prof. told me to use to install it
(http://legos.sourceforge.net/cygwin/INSTALL-cygwin.html). Everything
went fine and all. But looking at that all I dont is un-zip the
BrickOS files (yes in these directions it is for a legOS, but it is the
same thing for both) and then I do the following things (Step 4):
$ cd /legos-0.2.6
$ make realclean
$ make depend
$ make
$ cd util
$ make strip
Is that what is building these files? If not what is? There is
nothing else that involves the BrickOS files. Thanks everyone, this is
something I have never dealt with before and have not been able to find
anything on this on the web.
Thanks,
Mike
-----------------------------------------
Michael Martelli Jr
University of Scranton - Computer Science
List: db.etree.org/marshmeli
Site: www.cs.uofs.edu/~mcm6
|
|
Message has 2 Replies: | | Re: Modifying the BrickOS source code
|
| (...) Actually, you don't need to do all that. For the last few versions of BrickOS, things are different. The first time you install BrickOS, you: $ cd /brickos-0.2.6.10 $ configure $ make If everything has been installed correctly, you will find a (...) (21 years ago, 2-Jul-03, to lugnet.robotics.rcx.legos)
| | | Re: Modifying the BrickOS source code
|
| (...) But remember that changes in the brickOS files and therefore in the resulting brickOS code will allmost certainly crash the user programs. With every new brickOS version you must recompile the user programs that should run on the brick. (...) (21 years ago, 4-Jul-03, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Re: Modifying the BrickOS source code
|
| (...) If he wants to do this, he should better have a good understanding of programming in C and Operation System design. Debugging an OS is a hard job. (...) I am under the impression that you don't have any knowledge of how to handle a UNIX style (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
|
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|