Jason Catena | 10 May 2013 07:12
Picon
Gravatar

Compiled inferno and started emu on BeagleBone Black

With these minor changes, I was able to compile Inferno and start emu, on Ångström Linux on the new BeagleBone Black.

root <at> beaglebone:/usr/inferno# diff mkconfig~ mkconfig 
17c17
< SYSHOST=Plan9 # build system OS type (Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
---
> SYSHOST=Linux # build system OS type (Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
24,25c24,25
< #OBJTYPE=386 # target system object type (eg, 386, arm, mips, power, s800, sparc)
< OBJTYPE=$objtype
---
> OBJTYPE=arm # target system object type (eg, 386, arm, mips, power, s800, sparc)
> #OBJTYPE=$objtype

root <at> beaglebone:/usr/inferno# diff mkfiles/mkfile-Linux-arm~ mkfiles/mkfile-Linux-arm 
11c11
< AS= arm-gcc -c 
---
> AS= gcc -c 
14c14
< CC= arm-gcc -c 
---
> CC= gcc -c 
21c21
< LD= arm-gcc 
---
> LD= gcc 

root <at> beaglebone:/usr/inferno# diff emu/Linux/os.c~ emu/Linux/os.c 
6a7
> #include <linux/sched.h>

Pavel Klinkovský | 9 May 2013 21:28
Picon

Problem with Inferno compilation under newest Plan9 update

Hi all,

in last days there is an update of Plan9 including support of 21-bit runes.
It seems it disables the compilation of Inferno there:

8l  yacc.8 /usr/inferno/Plan9/386/lib/libbio.a /usr/inferno/Plan9/386/lib/lib9.a -lc
dofmt: incompatible type signatures 2569e19(/usr/inferno/Plan9/386/lib/lib9.a(fullrune)) and 392d4f87(/386/lib/libc.a(dofmt)) for chartorune
_fmtcpy: incompatible type signatures 81c6a929(/usr/inferno/Plan9/386/lib/lib9.a(fullrune)) and 4639e9f7(/386/lib/libc.a(dofmt)) for runetochar
mk: 8l  yacc.8 ...  : exit status=rc 324: 8l 326: error

Is it really caused by the Plan9 update, or do I have something wrong locally in my computer?

Thanks in advance.

Regards,

Pavel

Oleksandr Iakovliev | 28 Apr 2013 14:45

Inferno native as real-time os

Hi Inferno folks,

I guess some time ago I saw some message that native Inferno OS is
actually real-time OS, can you please refresh does it really fulfill
these requirements of being RTOS? (soft or hard category) That's
something that would be very interesting for research I guess.

Pavel Klinkovský | 19 Apr 2013 12:40
Picon

Compilation of native inferno

Hi all inferno fans,

I have a question:
Is the native inferno still supported?

I tried to make it in Plan9 system, but the utils/datac2 compilation failed because of missing 'setbinmode' function...

Thanks in advance for any response.

Pavel

Brian Vito | 18 Apr 2013 05:39
Picon

MacOS X Installation Steps/Issues

I have tried installing Inferno on MacOS X, but I can't figure out what to do based on the instructions at:


I've downloaded inferno-20100120.tgz and macosx-386-bin.tgz. I unzipped the inferno distribution in $HOME and then replaced the MacOSX folder with the one from macosx-386-bin.tgz. I then edited mkconfig so the SYSHOST=MacOSX.

If I then try to run makemk.sh, I get the following:

./mkconfig: line 33: /Users/_____/inferno/mkfiles/mkfile-MacOSX-: No such file or directory

and then libregexp compilation fails.

Where do the pre-compiled binaries from macosx-386-bin.tgz come in? Do I even need to be trying to run makemk.sh?

If someone could help me out with the right steps, or email me a zip file of a fully-compiled/installed version of inferno on MacOS X (10.8), it would be much appreciated.

Thanks,
Brian


Oleksandr Iakovliev | 14 Apr 2013 12:49

Arm port, used _div in loaded

Hi Inferno people,

I am doing now kind of labs documenting of process porting Inferno OS to
Raspberry Pi. There is a question about trick/hack with "_div" reference
that you can find in inferno/plan9 sources (l.s). I am interested what
it is, as I can not really find information about this hack and its
influence.

Thanks!

URL: http://lynxline.com/lab-11-_div-testing-print/

Dmitry Kabak | 12 Apr 2013 14:19
Picon
Gravatar

GSoC Project idea proposal

Hello,

I'm a student from Belarusian State University, I love Inferno and I really want to take part in this year's Google Summer of Code program! I'm going to work on my own project idea, but I don't mind anyone else taking it too.

So, the project idea: "Java on dis": http://doc.cat-v.org/inferno/java_on_dis/.
The codebase of that project wasn't available online till this year, when I asked the community to look for it. Charles Forsyth found the old code, stripped the proprietary parts and put it on googlecode: http://code.google.com/p/inferno-j2d.
That project was intended to convert bare java .class files to inferno's dis, so that they can be directly run on Inferno. So, the project idea I suggest consists of rewriting the old code from the old times (approximately year 1997) that was written long time ago with the old versions of limbo and java.
Things to be done is to rewrite the whole project to support modern java (1.7 would be the best choice), to support the modern limbo and inferno (for example, the exception handling scheme has changed since then), to include java class library from  the OpenJDK to inferno and to implement native parts of the library in limbo.
The number of possibilities is enormous:
    - port huge number of java-based console tools to inferno
    - implement support for awt on tk and port even larger number of windowed apps to inferno
    - implement better styx fileservers and write libraries to support styx for lots of java-based programs
    - port java EE apps and make inferno the best server os ever :)
    - and lots of others.

--
Regards,
Dmitry Kabak
Dmitry Novikov | 20 Mar 2013 10:08
Picon

www.vitanuova.com missing "media" directory

Hi everyone,


Windows 2000, XP, and 7
A snapshot of the complete source tree, including executables such as mk for its reconstruction, the full set of fonts, and pre-compiled Windows executables and libraries is available from this Vita Nuova site as a ZIP archive inferno.zip. The archive contains a single folder inferno which contains the Inferno distribution (and executables etc.)
 

2. Performing the Installation
...
Windows
To install Inferno on a Windows platform you should:
  1. Run the setup.exe program located in the install subdirectory of the media directory.
But downloaded zip have no "media" directory. I failed to find guide to build Inferno from sources neither...

Can anyone help with installing Inferno on Windows please?

Thanks in advance!
Dmitry Kabak | 12 Mar 2013 22:20
Picon
Gravatar

A bug or not a bug - using array of ref to art

Hello,

I've noticed some strange thing in limbo compiler. See the code:
We have the function, that has an array of refs to some adt as one of its' arguments, like that:

TestAdt: adt {
pick {
Int =>
i: int;
Long =>
b: big;
}
};
processarray(a: array of ref TestAdt)
{
for (i := 0; i < len a; i++)
processitem(a[i]);
}

And we use that function like that:

processarray(array[] of {ref TestAdt.Int(42), ref TestAdt.Long(big 42)});

or like that:

arr := array[] of {ref TestAdt.Int(43),ref TestAdt.Long(big 43)};
processarray(arr);

Both of this cases work ok. But when I use only one element in array, limbo compiler fails:

processarray(array[] of {ref TestAdt.Int("e", -42)});

Gives us a strange error like: "argument type mismatch: expected array of ref TestAdt, saw array of ref TestAdt.Int";

Is this a desired behavior, or not?

--
Regards,
Dmitry Kabak
Oleksandr Iakovliev | 10 Mar 2013 12:51

Re: Inferno RPi

Hi,

That was ported up to stage when USB framework is needed:
https://bitbucket.org/yshurik/inferno-os
The blog on lynxline is just kind of "labs" describing the process of
porting. It will be very helpful as reference materials for porting
Inferno native on bunch of other ARM devices like hackberry etc. The
current "lab" in progress to be written - interrupts, traps. In the
bitbucket link above the port have implemented traps, interrupts, timer
(maybe not fully done). Just next stage which is blocking the progress -
usb. It is tottaly depend on reference documentation of usb chip used in
rpi. The documentation is closed. People from FreeBSD team got it
through signing NDA. Just implementing from freebsd/linux codes may take
much time. Because Ethernet chip is beyond of USB, it makes a problem to
have the rpi connected using 9p. Or we just need to reuse the serial
line for 9p which is not convenient also. But still it is kind of
incompleteness. Maybe take USB example codes from U-Boot, but it works
extremely infective - PIO mode as I remember. Some time ago I tried to
communicate with author of 9pi to ask about usb, but his mail server is
rude and not accepting my email address :) Also LL team now have kind of
lack of time due to other projects to complete.

Best regards and we hope to refresh our labs very soon, just covering of
interrupts codes may be kind of massive. But if you need something to
experiment & use - try to play with https://bitbucket.org/yshurik/inferno-os

On 2013-03-09 21:05 , Frederic Bonfanti wrote:
> Hello guys,
>
> Any plan to complete this Inferno port to the Raspberry PI ?
>
> What's next, any roadmap ?
>
> Any help needed for video ?
>
> Did you evaluate how Inferno BLS would help in getting USBd then {kbd,mouse,ether} on top of it ?
>
> BR
> Fred
>
>
> http://lynxline.com/porting-inferno-os-to-raspberry-pi/
> http://code.google.com/p/inferno-bls/source/browse/
>

Dmitry Kabak | 10 Mar 2013 11:40
Picon
Gravatar

Java on dis

Hello,

I've heard and read a lot about java to dis converter, written long time ago somewhere in vituanuova (http://doc.cat-v.org/inferno/java_on_dis/java_on_dis.pdf). I've also found out from some mailing lists that it can't be published because of some sun copyrights of those times. But I think lots of things has changed since then and now some important sources can be published. I have some intention to work on that, I think that ability to run java bytecode on inferno would be really the great fun!
So, do anyone here have these sources? Because implementing everything from scratch is fairly great amount of work, and having some reference implementation will help a lot.
Thanks in advance!

--
Regards,
Dmitry Kabak

Gmane