Charles Forsyth | 1 Dec 2011 18:38
Picon

Re: Program execution model

What things were you hoping to discover?

On 30 November 2011 21:47, Ish Rattan <ishwar@...> wrote:
>
>
> I have used and taught using Limbo programming environment.
> I am still unclear about the program execution model
> under Inferno.
>
> Any light on this topic or pointers will be helful.
>
> -ishwar

Ish Rattan | 5 Dec 2011 20:49

Re: Program execution model


On Thu, 1 Dec 2011, Charles Forsyth wrote:

> What things were you hoping to discover?

I want to connect the dots. I assume that dis layer/vm
interprets the program byte code. So, like a processor does it
multiplex itself among the programs or each program has its own
instance of dis?

I think I am not asking the right question still..

-ishwar

>
> On 30 November 2011 21:47, Ish Rattan <ishwar@...> wrote:
>>
>>
>> I have used and taught using Limbo programming environment.
>> I am still unclear about the program execution model
>> under Inferno.
>>
>> Any light on this topic or pointers will be helful.
>>
>> -ishwar
>

Charles Forsyth | 5 Dec 2011 22:18
Picon

Re: Program execution model

no, that's fine. the trouble was that the phrase turned out to have
several possible
meanings, and i wasn't sure what you meant. actually, part of the
question you asked
relates to a particular implementation, not the model as such, but
that doesn't matter.

On 5 December 2011 19:49, Ish Rattan <ishwar@...> wrote:
> I think I am not asking the right question still..

Shubhangi Tamsekar | 6 Dec 2011 12:41
Picon

Re: inferno hosted on Linux with arm

You were right. I have xorg-dev package on my ubuntu. I am using a board from Friendlyarm.net so I was using arm-gcc cross compiler from here --> ARM-Linux GCC 4.4.3 / 4.3.2 

However, I do not find X11 header files in the cross-compiler directory.

  • Which Ubuntu package should install to get appropriate X11 headers?
  • What other arm-gcc cross compilers are available which have the X11 headers?
-Shubhangi


On Thu, Dec 1, 2011 at 4:45 AM, Charles Forsyth <charles.forsyth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
it looks as though the win-x11a.c diagnostics relate to cascading
parse errors introduced by
the errors in the included x11-keysym2ucs.c file. I don't understand
the errors on line 823:

x11-keysym2ucs.c:823  { 0x20ac, 0x20ac }, /*
EuroSign € EURO SIGN */
unless it suddenly has it in for the Euro too, like everyone else, ha
ha. The keysymtab array
being initialised has bounds [], so there isn't any particular limit
on that.  The more serious
error
> ../port/x11-keysym2ucs.c:827: error: expected ')' before 'keysym'
suggests that your system's X11 headers aren't declaring the KeySym type.
On my Ubuntu system, KeySym is defined by X.h (by typedef XID KeySym).
If there isn't such a thing in your cross-compilation environment, you
might try adding it,
just to see how much further you get.

Having said that, I see that the output refers to
/usr/include/X11/Xlib.h in one diagnostic, and
that suggests that you aren't using the X11 environment of a
cross-compilation environment.
I don't know whether that matters. I don't know what other people
doing cross-compilation for ARM
have used.

On 30 November 2011 22:29, Shubhangi Tamsekar
<shubhangi.tamsekar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Phew... this is not easy.
>
> Replaced blx with bl. It worked but then got screenful warnings and errors
> now. They seem to be strange..not able to comprehend.
>
> Am I missing any latest releases? I have taken the inferno tar file from
> vita nuova download section. Is that right?
>
> Here are the warnings & errors -
>
> ../port/x11-keysym2ucs.c:823: warning: excess elements in scalar initializer
> ../port/x11-keysym2ucs.c:823: warning: (near initialization for 'keysymtab')
> ../port/x11-keysym2ucs.c:827: error: expected ')' before 'keysym'
> ../port/win-x11a.c:1416: warning: empty declaration
> ../port/win-x11a.c:1420: error: storage class specified for parameter 'Clip'
> ../port/win-x11a.c:1421: warning: empty declaration
> ../port/win-x11a.c:1426: error: expected declaration specifiers before
> 'Clip'
> ../port/win-x11a.c:1433: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '{' token
> ../port/win-x11a.c:1524: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '{' token
> ../port/win-x11a.c:1548: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '{' token
> ../port/win-x11a.c:1600: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '{' token
> ../port/win-x11a.c:1613: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '{' token
> /usr/include/X11/Xlib.h:3578: error: old-style parameter declarations in
> prototyped function definition
> /usr/include/X11/Xlib.h:3579: error: parameter name omitted
> ../port/win-x11a.c:1620: error: expected '{' at end of input
> mk:  arm-linux-gcc -c ...  : exit status=exit(1)
>
> mk: echo "(cd $SYSTARG; ...  : exit status=exit(1)
> mk: for j in ...  : exit status=exit(1)
>
>
>
> -Shubhangi
>
>
>
> On Thu, Dec 1, 2011 at 2:26 AM, Charles Forsyth <charles.forsyth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> wrote:
>>
>> That's doubly weird: first that it's using blx, second that no one's
>> mentioned it before.
>> blx is a bl (branch and link) that also forces an exchange of
>> instruction sets (ie, forces
>> Thumb mode), which is not a little odd. It looks as though the donors
>> of that code
>> were running in an environment where most code was compiled for Thumb, but
>> Inferno was using arm32 mode (what i'd call "normal" ARM). Phones
>> often liked Thumb
>> mode, so perhaps that's it.
>>
>> Try replacing the blx by a plain bl.
>>
>> On 30 November 2011 20:08, Shubhangi Tamsekar
>> <shubhangi.tamsekar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> > asm-arm.S:26: Error: selected processor does not support `blx r1'
>
>

Charles Forsyth | 6 Dec 2011 14:07
Picon

Re: inferno hosted on Linux with arm

If you're running qtopia linux on the board, you really need the
contents of that distribution for cross-compilation
(the include files and the libraries, in particular). Normally the
development boards come with a cd/dvd containing
the software actually running on the board (usually linux is patched
somehow), or there's a download site.

which particular board have you got, out of curiosity?

On 6 December 2011 11:41, Shubhangi Tamsekar
<shubhangi.tamsekar@...> wrote:
> Which Ubuntu package should install to get appropriate X11 headers?

Shubhangi Tamsekar | 10 Dec 2011 12:11
Picon

Re: inferno hosted on Linux with arm

Sorry for the delay in response...have been travelling last week.


I am using a ARM11 board with touchscreen LCD display. More details here --> http://friendlyarm.net/products/tiny6410 

This board came with Android pre-installed on it. It supports Linux, Win CE, Ubuntu as well. I did not know whether Inferno can be cross-compiled for Android or not, so removed Android and I installed Qtopia Linux (all required image files were there in the DVD which came along).

Then I got the cross compiler from the download section of their website here --> http://friendlyarm.net/downloads . On this page you will find "ARM-Linux GCC 4.4.3" under the section Software-->Linux

However, this tgz file does not have the X11 header files. That is where I am stuck.

-Shubhangi


On Tue, Dec 6, 2011 at 6:37 PM, Charles Forsyth <charles.forsyth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
If you're running qtopia linux on the board, you really need the
contents of that distribution for cross-compilation
(the include files and the libraries, in particular). Normally the
development boards come with a cd/dvd containing
the software actually running on the board (usually linux is patched
somehow), or there's a download site.

which particular board have you got, out of curiosity?

On 6 December 2011 11:41, Shubhangi Tamsekar
<shubhangi.tamsekar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Which Ubuntu package should install to get appropriate X11 headers?

Charles Forsyth | 10 Dec 2011 13:06
Picon

Re: inferno hosted on Linux with arm

If it's Qtopia, would it perhaps be Qt-based, and thus not use X11 at all?

On 10 December 2011 11:11, Shubhangi Tamsekar <shubhangi.tamsekar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
However, this tgz file does not have the X11 header files. That is where I am stuck.

Dylan Saunders | 12 Dec 2011 17:21
Picon
Favicon

Raspberry Pi - new reference platform?

Is the notion of an ARM based reference platform for Inferno still alive at Vita Nuova? I remember that the Intrynsic CerfCube was endorsed for a while however Intrynsic has mostly gotten out of the hardware business, plus their boards were a little too expensive for hobbyists. Cambridge U. seems to be backing the Raspberry Pi, a cheap ARM board intended for education.

 

http://www.raspberrypi.org/

 

http://www.reghardware.com/2011/11/28/raspberry_pi/

 

They are talking about a price of around £22 / $25.00(model A) - $35.00(model B) and it is supposed to be available by the end of 2011.

 

Dylan R. Saunders

Instructor: IT CS Program

School of ICT

Ph. (403)210-5875

http://www.sait.ca

 

Charles Forsyth | 12 Dec 2011 18:00
Picon

Re: Raspberry Pi - new reference platform?

I'm certainly on the e-mail list for raspberry pi.


John Floren | 12 Dec 2011 18:01
Favicon

Re: Raspberry Pi - new reference platform?

Downside: the chip is Broadcom.

On Mon, Dec 12, 2011 at 8:21 AM, Dylan Saunders <dylan.saunders@...> wrote:
> Is the notion of an ARM based reference platform for Inferno still alive at
> Vita Nuova? I remember that the Intrynsic CerfCube was endorsed for a while
> however Intrynsic has mostly gotten out of the hardware business, plus their
> boards were a little too expensive for hobbyists. Cambridge U. seems to be
> backing the Raspberry Pi, a cheap ARM board intended for education.
>
>
>
> http://www.raspberrypi.org/
>
>
>
> http://www.reghardware.com/2011/11/28/raspberry_pi/
>
>
>
> They are talking about a price of around £22 / $25.00(model A) -
> $35.00(model B) and it is supposed to be available by the end of 2011.
>
>
>
> Dylan R. Saunders
>
> Instructor: IT CS Program
>
> School of ICT
>
> Ph. (403)210-5875
>
> http://www.sait.ca
>
>


Gmane