[okl4-developer] simulation does not accept input

Geoffrey Lee glee at ok-labs.com
Mon Oct 15 20:27:11 EST 2007


On Fri, Oct 12, 2007 at 07:05:50AM -0700, Boy Dfx wrote:
> Hi 
> 
> I'm using an old version of iguana because OKL4 1.5.2 (and 1.4.1.1) stops building with an 'string argument of length 36' error.
> 
> For example if I use the command
> # tools/build.py machine=gumstix project=iguana wombat=yes
> 
> the process ends with the following lines:
> 

Hi

> [MSET] macro_sets.cc
> [CXX ] build/pistachio/object/pistachio/macro_sets.o
> [CPP ] build/pistachio/object/pistachio/lds.tmp
> [LINK] build/pistachio/bin/l4kernel
> Elfadorn error: unpack requires a string argument of length 36
> scons: *** [build/pistachio/bin/l4kernel] Error 1
> scons: building terminated because of errors.
> 
> and if I build without wombat=yes argument the build process ends almost the
> same way:
> 

Please try Python 2.4.x.  I am using Python 2.4.4c1 and that works.  I
am aware that it does not work with Python 2.5, but I am not sure about
2.5.1, so as an alternative plan you can try upgrading to that to see
if it fixes your problem.

Let us know how you go.

	- gl

> [MSET] macro_sets.cc
> [CXX ] build/pistachio/object/pistachio/macro_sets.o
> [CPP ] build/pistachio/object/pistachio/lds.tmp
> [VIRT] build/pistachio/bin/l4kernel.linkaddress
> [LINK] build/pistachio/bin/l4kernel
> Elfadorn error: unpack requires a string argument of length 36
> scons: *** [build/pistachio/bin/l4kernel] Error 1
> scons: building terminated because of errors.
> 
> I had the same 'string argument of length 26' error in OKL4 version 1.4.1.1.
> 
> Did anyone else have this problem?
> 
> Thanks 
> Valentine
>  
>  
> 
> ----- Original Message ----- 
> From: "Geoffrey Lee" <glee at ok-labs.com>
> To: "Boy Dfx" <boy3dfx2 at yahoo.com>
> Cc: <developer at okl4.org>
> Sent: Friday, October 12, 2007 12:36 PM
> Subject: Re: [okl4-developer] simulation does not accept input
> 
> 
> > On Fri, Oct 12, 2007 at 02:51:01AM -0700, Boy Dfx wrote:
> > > Hello.
> > >
> > > First of all, thanks for the quick reply on my prevoius question, Ben.
> > >
> > > Second, my current problem.
> > >
> > > Under a OpenSuse 10.2 system, with Skyeye and arm-linux toolchain
> downloaded from the NICTA website, all simulation targets for ARM (except
> from machine=pleb) hang at the 'Press ENTER to get into the console'
> message.
> >
> > Hi
> >
> > I have not checked but it is possible that serial input support is not
> > available for some of the platforms there.  By the way, I notice that
> > you are using a really old version of Iguana.  Have you considered
> > using a more recent version which is available for download from
> > http://portal.ok-labs.com ?  The latest one was released just recently,
> > this is closer to what we have internally and we would probably
> > be in a better position to help you if you have trouble.
> >
> > Anyway, do let us know how you go.
> >
> > - gl
> >
> > >
> > > I guess the serial I/O on the simulated target is disabled for pleb2
> machine (because it works for pleb), but adding 'sa3100_uart' in the
> machines.py pleb2 class didn't work.
> > >
> > > Does anyone have any ideas?
> > >
> > >
> > > I use Gnome terminal 2.16.1, Skyeye 1.2.2n (or v1.2.2-Rel),
> arm-linux-gcc 3.4.4, bash 3.1-55, python 2.5 and
> iguana--project--devel--1.1--version0 and run the scons machine=... and
> scons machine=... simulate (where ... is either pleb2 or ipaq_h3800).
> > >
> > > Thanks
> > > Valentine
> > >
> > > PS: If there is a forum for NICTA - L4 newbies please tell me. I feel
> bad for bothering you with such trivial stuff.
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > > Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:
> mail, news, photos & more.
> > > _______________________________________________
> > > Developer mailing list
> > > Developer at okl4.org
> > > https://lists.okl4.org/mailman/listinfo/developer
> >
> >
> 
> 
>        
> ---------------------------------
> Be a better Globetrotter. Get better travel answers from someone who knows.
> Yahoo! Answers - Check it out.
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer




More information about the Developer mailing list