Proof of Concept, ARM Linux Oberon
Hi all, I put the current state of ARM Linux Oberon public. Only the modules needed for development are included. More information here: http://matthias.dnsdynamic.com/oberon/doku.php?id=alo (it's my Desktop, so it might have downtimes) Regards, Peter
Perhaps not many readers here are interested in ETHO on rPi? I was disappointed at the reply to my query : "rPi's boot sequence?" It's very complex: apparently the CPU doesn't take control until after the "GPU" has booted. We don't want to spend effort learning quirky new system? Only simple/general system will pay-back our effort? ALO looks nice on the rPi, and it's amazing that the full rPi-computer is smaller than 25% of the WinTel CPU+atatch-air-conditioner! I mentioned that I aborted investigation A2, because I could "never take the bicycle out of the showroom". Similarly ALO need to be able to roam the file tree and work on any directory. When I was using V4, I managed to use it to work on different directories [of text documents] although I've forgotten exactly how. Perhaps if we understood how/why the following script <links V4 from it's resident-dir to where it currently accesses files>, we could do similar for ALO ? /usr/local/V4tmp/oberon-1.7.02/sob == #!/bin/bash # change the line below if you have installed oberon to a different # directory export OBROOT=/usr/local/oberon for f in `find $OBROOT -type d -maxdepth 1 -mindepth 1`; do rm `basename $f` if ! test -e `basename $f` ; then ln -s $f `basename $f` 2> /dev/null fi done rm root ln -s $OBROOT root 2> /dev/null OBERON="./:`find $OBROOT -type d | tr "\12" :`" export OBERON xset +fp $OBROOT/xfonts export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OBROOT $OBROOT/oberon $1 $2 $3 $4 $5 <-- ? what are these 5 args ?! --------- end of mystery script. Thanks, == Chris Glur. PS. I started using ALO's Decoder.Mod on some ARM binary-code, but stopped when I saw that ARM seems very convoluted/irregular. On 4/17/14, Peter Matthias <PeterMatthias@web.de> wrote:
Hi all,
I put the current state of ARM Linux Oberon public. Only the modules needed for development are included. More information here: http://matthias.dnsdynamic.com/oberon/doku.php?id=alo (it's my Desktop, so it might have downtimes)
Regards, Peter
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Am 02.05.2014 00:47, schrieb eas lab:
Perhaps if we understood how/why the following script <links V4 from it's resident-dir to where it currently accesses files>, we could do similar for ALO ?
The systems I ported don't use Linux libraries. So these technics are not possible. However, Next version will include OFSTools so that Linux directories can be mounted the "native" way. Also "/" will be allowed in filenames which allows something likes "../foo/bar" as long as the filename length is within Oberon limits.
PS. I started using ALO's Decoder.Mod on some ARM binary-code, but stopped when I saw that ARM seems very convoluted/irregular.
I think ARM is neither convolutet nor irregular. It was the system where I once understood assembler (after failing with 68k-Assembler). Peter
]> Perhaps if we understood how/why the following ]> script <links V4 from it's resident-dir to where it currently accesses files>, ]> we could do similar for ALO ? ] ]The systems I ported don't use Linux libraries. So these technics are ]not possible. However, Next version will include OFSTools so that Linux ]directories can be mounted the "native" way. Also "/" will be allowed in ]filenames which allows something likes "../foo/bar" as long as the ]filename length is within Oberon limits. OK, it's easier for me to test these ideas on LNO. ALO needs a Load/Save unix/FAT format. The following is OK, for launching LNO/ALO to work on any node of the dir-tree: a script that writes <mount this dir as linux at $PWD> to a fixed location of LNO/ALO 's resident Dir. This only needs: 1. ALO2 <-- to write the LNO/ALO above-command and launch a new LNO/ALO 2. in the newly launched LNO/ALO one klux to open the written Text of above-cmd + 1 klux to execute it. For me ETHO is less about the minimalist syntax & strong typing, than the minimal manual steps, and not needing the remember names. The above satisfies my needs. When N-O was extended to have multiple-partitions for the file space I decried the extra level of complexity. But it worked out very nicely for me. I had ca. 12 'topics', each with a line in my.Tool like: Configuration.DoText MountTelCom klux 1st token = mounts the partition klux 2nd token opens the tool, which shows the history of the partition-bakup and templates eg. to <find multiple strings in all files of the partition> ..etc. ]> PS. I started using ALO's Decoder.Mod on some ARM binary-code, ]> but stopped when I saw that ARM seems very convoluted/irregular. ] ]I think ARM is neither convolutet nor irregular. It was the system where ]I once understood assembler (after failing with 68k-Assembler). Well I expected the machine code to differ by only one, predictable byte, between: #55 -> R2 and #AA -> R2 and by two predicable bytes for #1 -> R1 and #2 -> R2 but that seems not to be the case. I wanted to make a kind of P-code interpreter for debugging. The fact that rPi doesn't boot via the CPU, but has a further layer of complexity of the 'GPU' is also disencouraging. Thanks, == Chris Glur.
Peter, It's rational, efficient and good that ALO is built on the work done for LNO. But let's not forget that LNO has problems with different hardware. I've been using the FrameBased version, because I couldn't get X-based working. The old 90's version did work on my hardware then. And FrameBased frees you from the X11 monster. Also, I can't install and run by just following the documentation. IOW "I found a way to work, but, I don't know what I'm doing"!! ALO works nicely on current rPi. I can't see any difference between Versions: 140418 & 140423; and have one of each running. The very important question: "what is ETHO good for?" seems not to have been documented. It's for solving diverse IT problems, where you need to have multiple 'documents' visible at the same time, to mentally relate various parts of the multiple documents, or even discussed. Real life is that any non-trivial project will entail, emails, USEnet articles, testLogs, Manuals ...etc., which are all related. So LNO & ALO *MUST* be able to easily access AosFS, *nix, FAT documents anywhere in the Directory-space. LEO does this superbly. When I get your <MountOFS> I'll test that it can do what seems sufficient for the facilities offered by LNO: Scripts in *nix to:- 1. IF ALO not running THEN write to a file in ALO's directory <MountOFS 'this' dir> ; so that ALO can easily access all files in this dir, and start ALO. 2. Append the path-to-the-current-dir to the file in ALO's directory. So Linux & ALO can both write to the ProjectFile, which might look like: Project Suitable-NameA <ALO command to mount L1 to Dir1> Project Suitable-NameB <ALO command to mount L2 to Dir2> <ALO command to mount L3 to Dir3> <ALO command to mount L4 to Dir4> ... So then, if after a few days, you come back to work on Project Suitable-NameB, you've got the single-klux-ability to remount all the directories, which you've already spent time navigating. And you can even write a mnemonic NAME next to each entry ...and in colorS! ETHO is about minimizing effort wasted on trivial clerical tasks. Thanks, == Chris Glur.
Am 06.05.2014 11:07, schrieb eas lab:
It's rational, efficient and good that ALO is built on the work done for LNO. But let's not forget that LNO has problems with different hardware. I've been using the FrameBased version, because I couldn't get X-based working. The old 90's version did work on my hardware then.
Console Frambuffer based version was my favoured version that time. X-based version had millions of bugs. Not much code is the same any more.
And FrameBased frees you from the X11 monster.
A monster of the 90'th is not a monster any more. At least it is stable and well documented.
Also, I can't install and run by just following the documentation. IOW "I found a way to work, but, I don't know what I'm doing"!!
I suppose the problem was a rights issue. Can you open other programs windows?
ALO works nicely on current rPi. I can't see any difference between Versions: 140418 & 140423; and have one of each running.
IIRC HALT(12) to HALT(255) is supported in 140423. I added a changelog for newer versions.
So LNO & ALO *MUST* be able to easily access AosFS, *nix, FAT documents anywhere in the Directory-space. LEO does this superbly.
Everyone is free to implement that feature.;-) AosFS and NativeFS disks would be easy to implement. However, I don't necessarily want them on my ARM. Next version will take some time. I have got full Gadgets running (No Network). However, graphics has to be made to work generally and the text to make the distribution has to be written and tested. Peter
re. LNO:.......... ]> Also, I can't install and run by just following the documentation. ]> IOW "I found a way to work, but, I don't know what I'm doing"!! ] ]I suppose the problem was a rights issue. Can you open other programs ]windows? What do you mean "other programs windows"? Here's part of my `pstree`:- |-bash---startx---xinit-+-X | `-blackbox-+-linux.oberon.no | |-mozilla---run-mozilla.sh---seamonkey-bin---4*[{seamonkey-bin}] | |-pan---4*[{pan}] | |-3*[xterm---bash---mc---bash] | |-9*[xterm---mc---bash] | |-xterm---mc---bash---pstree | |-4*[xterm---bash] | |-xterm---snownews | |-xterm---bash---lynx | |-xterm---mc---bash---Wf---wily | |-xterm---bash---Wf---wily | |-xterm---bash---mc---bash---links | |-xterm---bash---Wf---wily---grep | |-3*[xterm---bash---mc---bash---linux.oberon.no] | |-xterm---bash---mc---bash---Wf---wily | |-xterm---bash---mc---bash---gqview | |-xterm---mc---bash---gqview | |-xterm---bash---Wf---wily---DLt2wvA | |-3*[xterm---mcedit] | `-xterm---bash---mc---bash---Wf---wily---DLt2wvA |-bash---install <--lno-FB | The way I use LNO-FrameBuffer is: cd <dir> ./install klux: OFSTools.Mount SRC LinuxFS . ~ IIRC ./oberon gives seg-faults. Jan V. also reported similar problems. Just today I needed to use LNO, to get old NativeObn documents for a legal matter, from 2001 !! That's an example of the need to be able to access any part of the directory-tree, and handle NativFS, *nix, DOS. ]> ALO works nicely on current rPi. I can't see any difference between ]> Versions: 140418 & 140423; and have one of each running. ] ]IIRC HALT(12) to HALT(255) is supported in 140423. I added a changelog ]for newer versions. ] ]> So LNO & ALO *MUST* be able to easily access AosFS, *nix, FAT documents ]> anywhere in the Directory-space. LEO does this superbly. ] ]Everyone is free to implement that feature.;-) AosFS and NativeFS disks ]would be easy to implement. However, I don't necessarily want them on my ]ARM. Isn't AosFS the same as NativeFS -- that you've already got? DOS & *nix are already in several of Native:Editors else should be easy to add to ALO's existing facilities. "on my ARM" sounds as if its a toy. I'm talking about rPi being a substitute for an X86-PC, where you'd want to handle complex tasks. rPi is ALREADY *nix, so if ALO can't handle that, it's isolated. And adding DOS is easy and will often be needed. Currently the biggest problem is to get a smaller ALO frame, without getting smaller characters. That's also why I wanted to understand how the FrameBuffer version is implemented. And also because that's what Native and OP2013 do. Thanks, == Chris Glur.
Am 10.05.2014 19:59, schrieb eas lab:
]Everyone is free to implement that feature.;-) AosFS and NativeFS disks ]would be easy to implement. However, I don't necessarily want them on my ]ARM.
Isn't AosFS the same as NativeFS -- that you've already got?
AFAIK NatFS used 512 Bytes clock size while AosFS uses 2K. SharkOberon is not the klatest version of Native. Lots was changed with files and disk modules...
DOS & *nix are already in several of Native:Editors else should be easy to add to ALO's existing facilities.
Should be implemented in current version.
"on my ARM" sounds as if its a toy.
My ARM or ALO? ALO, of course is a toy for me.
I'm talking about rPi being a substitute for an X86-PC, where you'd want to handle complex tasks.
I am using my ARM as a real PC including web server... rPi is ALREADY *nix, so if ALO can't handle that,
it's isolated. And adding DOS is easy and will often be needed.
FAT can be mounted on Linux. and for the other disks: copy the files to Linux. I hate all the propriatary formats that Oberon uses... (Text, Fonts, Pictures, Window systems,
Currently the biggest problem is to get a smaller ALO frame, without getting smaller characters.
Window size can be changed by oberon.cfg ( check Getconfig output in oberon.log) or by changing 2 constants in ALO.DisplayX11.Mod and compiling. That's also why I wanted to understand how the FrameBuffer
version is implemented. And also because that's what Native and OP2013 do.
Source of Frambuffer version in LNO is available. For Font size: renaming the font files should work. Peter
||> Isn't AosFS the same as NativeFS -- that you've already got? | |AFAIK NatFS used 512 Bytes clock size while AosFS uses 2K. SharkOberon |is not the klatest version of Native. Lots was changed with files and |disk modules... | |> DOS & *nix are already in several of Native:Editors else should be easy to |> add to ALO's existing facilities. | |Should be implemented in current version. Do that mean you think it is already there? Where? Either DOS or unix is good. It was easy enough to search the ALO-dir for "Ascii", which would even locate an exported M.P in any *.Obj, and I only found PROCs with args; ie. not M.P format. See ALO log pasted below. !! Here's something interesting: when I test ALO, I write my results log in different colors & fonts. Then I wanted to confirm that ALO saves the same file format: which can be read by LEO [or LNO]. It looks beautiful, under LEO. Now I'm writing this in linux, to paste to my crappy gmail. But I want to paste some of the ALO log too, which is in <ETHO> format. With LEO I can paste the ALO-created file-part directly HERE; by first writing HERE's location to a file, which LEO will look at to know where to paste to [ie. to edit in Linux Format]. => OK now I'm writing with LEO, and I can paste some of the ALO-log:-- ==================== oberon.cnf <-- Sets FrameSize What sets FontSize ? SystemTrack is 55CharWide. For W:H=1280:720 0123456789012345678901234567890123456789012345678901234 For W:H=640:360 == ALSO 55CharWide; LEO shows same System.Log with 44.5 charsWide. Frame is bigger & overflows the Screen, but can be moved. => /boot/conf sets the <inverse-Magnification> & oberon.cnf sets the portion of the screen that ALOframe takes. System.Directory ^ Color System.Quit oberon.* oberon.cnf <- ? trap TRAP 102 HALT statement Kernel.SysHalt PC ---- end of paste from ALO-log--- After I copied the ALO-created file over, the first thing I wanted to see is how many chars wide the SystemTrack is in LEO. I don't have LNO running now, but I'll check that too later. Accepting that the default font-with is NOT constant for all chars: ALO's log shows that SystemTrack is 55CharWide; and LEO's is 44.5 charsWide. ]> Currently the biggest problem is to get a smaller ALO frame, without getting ]> smaller characters. ]Window size can be changed by oberon.cfg ( check Getconfig output in ]oberon.log) or by changing 2 constants in ALO.DisplayX11.Mod and compiling. OK. oberon.cnf is good. ===> Here's the part of ALO-log where I investigate: .... Linux Edit oberon.cnf: DWidth=1200 DHeight=900 <-- Good for Phillips-wide & oberon.log shows trace of: DWidth, DHeight, And about: ALO.DisplayX11.Mod , I couldn't see the relevant constants:-- TYPE Pattern* = LONGINT; PatternPtr = POINTER TO RECORD w, h: CHAR; pixmap: ARRAY 8192 OF CHAR END; ---------- Using linux~mc~found Texts.Mod has "Ascii" PROCEDURE LoadAscii* (T: Text; f: Files.File); Texts.LoadAscii ^= Texts.LoadAscii not found = not M.P format/type. ===== end of ALO-log paste:--------- So being able to access linux files anywhere in the dir-tree, like LNO can is the most important part missing now. Thanks for good results so far. == Chris Glur.
Am 13.05.2014 20:45, schrieb eas lab:
|> DOS & *nix are already in several of Native:Editors else should be easy to |> add to ALO's existing facilities. | |Should be implemented in current version.
Do that mean you think it is already there? Where? Either DOS or unix is good. It was easy enough to search the ALO-dir for "Ascii", which would even locate an exported M.P in any *.Obj, and I only found PROCs with args; ie. not M.P format. See ALO log pasted below.
Nearly complete gadgets compile and work. Some files are mising.A small palette issue seems to be relateted to the native version. Current version give instructions how to get and compile nearly complete SharkOberon. http://matthias.dnsdynamic.com/oberon/doku.php?id=alo
!! Here's something interesting: when I test ALO, I write my results log in different colors & fonts. Then I wanted to confirm that ALO saves the same file format: which can be read by LEO [or LNO]. It looks beautiful, under LEO. Now I'm writing this in linux, to paste to my crappy gmail. But I want to paste some of the ALO log too, which is in <ETHO> format. With LEO I can paste the ALO-created file-part directly HERE; by first writing HERE's location to a file, which LEO will look at to know where to paste to [ie. to edit in Linux Format].
Copy & Paste ASCII/UTF-8 to/from X11 is the next thing I want to implement.
So being able to access linux files anywhere in the dir-tree, like LNO can is the most important part missing now.
With cutrent version you can access /foo/bar and foo/bar as long as Oberon file name length is not exceeded. However, System.Directory does not show that files. Peter
participants (2)
-
eas lab -
Peter Matthias