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 / 3267
3266  |  3268
Subject: 
Re: brickos-0.2.6.10 .text is not within region ram
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 6 May 2003 16:29:27 GMT
Viewed: 
2937 times
  
Hi Bernhard,

Apparently the kernel is getting too big!  By defining CONF_DSENSOR_MUX,
enough extra code was generated to make the kernel exceed 12K.  If you go
to Makefile.user in the main BrickOS directory, change the following lines:

#  Base addresses to determine relocation info.
BASE1 = 0xb000
BASE2 = 0xb210

to the following:

#  Base addresses to determine relocation info.
BASE1 = 0xc000
BASE2 = 0xc210

This will give us enough breathing room for the moment.  I made this
change and BrickOS now compiles, but I haven't had the time yet
to test the demo programs.

HTH,

Mark

"Bernhard Powolny" <b.powolny@mobilkom.at> wrote:
I changed in /boot/config.h
the
//#define CONF_DSENSOR_MUX                //!< sensor multiplexor
TO
#define CONF_DSENSOR_MUX                //!< sensor multiplexor

[snip]
As a fact no programs in /demo can be compiled !

Bernhard



Message has 1 Reply:
  Re: brickos-0.2.6.10 .text is not within region ram
 
(...) Dear Mark I will check the demo programs and more stuff. If i'm not wrong it looks to me that now we have 16K for the kernel ( c000-b000) = 4Kb more. If i got the results, i'm coming back to the forum. best regards Bernhard (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  brickos-0.2.6.10 .text is not within region ram
 
I changed in /boot/config.h the //#define CONF_DSENSOR_MUX //!< sensor multiplexor TO #define CONF_DSENSOR_MUX //!< sensor multiplexor Enviroment: Latest Version: Cygwin 1.3.22-1 WIN2000 brickos-0.2.6.10 + gcc-2.95.2 + binutils-2.10.1 + Hitachi (...) (21 years ago, 6-May-03, to lugnet.robotics.rcx.legos)

3 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
    

Custom Search

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