The book Project Oberon does not describe the way the inner core itself is built (it only mentions that a “boot linker”is needed for that) or loaded onto the boot area of the local disk, nor are the tools to accomplish this published. A minimal set of the Oberon building tools can be found at: https://github.com/andreaspirklbauer/Oberon-building-tools <https://github.com/andreaspirklbauer/Oberon-building-tools> Usage: ORP.Compile Kernel.Mod FileDir.Mod Files.Mod Modules.Mod ~ Linker.Link Modules # prepare inner core (pre-linked binary) Builder.Build Modules # load inner core into boot area of disk --------------------------------------------------------- thomas.kral at email.cz thomas.kral at email.cz Tue Mar 21 09:13:34 CET 2017 Hi Joerg, I was rereading the chapter 14 again, I realise the boot over RS232 is triggered by a switch, but I still do miss the point, how do I build the inner core, and Oberon0. In the text there is a reference to boot linker. Many thanks Tomas ---------- Původní zpráva ---------- Od: Jörg <joerg.straube at iaeth.ch <https://lists.inf.ethz.ch/mailman/listinfo/oberon>> Komu: ETH Oberon and related systems <oberon at lists.inf.ethz.ch <https://lists.inf.ethz.ch/mailman/listinfo/oberon>> Datum: 21. 3. 2017 8:06:54 Předmět: Re: [Oberon] FPGA Oberon - Modules.rsc " The inner core is at a fixed location on the disk. The boot process is described in chapter 14.1: https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf <https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf> (https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf <https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf>)
Hi Andreas, Thank you, nice work of yours! In the chapter 14.2 it hints that linker is almost identical to `Modules. Mod' loader, except it links statically into a file, rather than into memory. Addresses are relocated with origin 0H, from a fixed start of Oberon partition? I also found found some boot linking modules in native oberon souce files. ./src/x86/Unix/BootLinker.Mod ./src/NO/BootLinker.Mod Was I close? What would be also interesting to decompose `prom.mem' to understand how this file could be produced. It seems to have 361 lines each ascii encoded long word. Ends with C7000000, lines 362-490 are zeros . Are these RISC machine instructions? Many thanks Tomas ---------- Původní zpráva ---------- Od: Andreas Pirklbauer <andreas_pirklbauer@yahoo.com> Komu: ETH Oberon and related systems <oberon@lists.inf.ethz.ch> Datum: 22. 3. 2017 11:36:35 Předmět: [Oberon] FPGA Oberon - Modules.rsc " The book Project Oberon does not describe the way the inner core itself is built (it only mentions that a “boot linker”is needed for that) or loaded onto the boot area of the local disk, nor are the tools to accomplish this published. <br> A minimal set of the Oberon building tools can be found at: <br> <span style='white-space:pre-wrap'><a href='https://github.com/andreaspirklbauer/Oberon-building-tools'>https://github.com/andreaspirklbauer/Oberon-building-tools</a></span> <span style='white-space:pre-wrap'><br></span> <span style='white-space:pre-wrap'>Usage:</span> <span style='white-space:pre-wrap'><br></span> <span style='white-space:pre-wrap'> ORP.Compile Kernel.Mod FileDir.Mod Files.Mod Modules.Mod ~</span> <span style='white-space:pre-wrap'><br></span> <span style='white-space:pre-wrap'> Linker.Link Modules # prepare inner core (pre-linked binary)</span> <span style='white-space:pre-wrap'><br></span> <span style='white-space:pre-wrap'> Builder.Build Modules # load inner core into boot area of disk</span> <br> <br> --------------------------------------------------------- thomas.kral at email.cz thomas.kral at email.cz Tue Mar 21 09:13:34 CET 2017 Hi Joerg, I was rereading the chapter 14 again, I realise the boot over RS232 is triggered by a switch, but I still do miss the point, how do I build the inner core, and Oberon0. In the text there is a reference to boot linker. Many thanks Tomas ---------- Původní zpráva ---------- Od: Jörg <<a href='https://lists.inf.ethz.ch/mailman/listinfo/oberon'>joerg.straube at iaeth.ch</a>> Komu: ETH Oberon and related systems <<a href='https://lists.inf.ethz.ch/mailman/listinfo/oberon'>oberon at lists.inf.ethz.ch</a>> Datum: 21. 3. 2017 8:06:54 Předmět: Re: [Oberon] FPGA Oberon - Modules.rsc " The inner core is at a fixed location on the disk. The boot process is described in chapter 14.1: <a href='https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf'>https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf</a> (<a href='https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf'>https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf</a>) -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon "
Yes indeed, these are RISC instructions. The Oberon source of the bootloader (aka BIOS) is here: https://www.inf.ethz.ch/personal/wirth/ProjectOberon/Sources/BootLoad.Mod.tx... This file contains different versions of the bootloader (disk and line, line-only…) br Jörg From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of thomas.kral@email.cz Sent: Mittwoch, 22. März 2017 15:41 To: ETH Oberon and related systems <oberon@lists.inf.ethz.ch> Subject: Re: [Oberon] FPGA Oberon - Modules.rsc Hi Andreas, Thank you, nice work of yours! In the chapter 14.2 it hints that linker is almost identical to `Modules.Mod' loader, except it links statically into a file, rather than into memory. Addresses are relocated with origin 0H, from a fixed start of Oberon partition? I also found found some boot linking modules in native oberon souce files. ./src/x86/Unix/BootLinker.Mod ./src/NO/BootLinker.Mod Was I close? What would be also interesting to decompose `prom.mem' to understand how this file could be produced. It seems to have 361 lines each ascii encoded long word. Ends with C7000000, lines 362-490 are zeros . Are these RISC machine instructions? Many thanks Tomas ---------- Původní zpráva ---------- Od: Andreas Pirklbauer < <mailto:andreas_pirklbauer@yahoo.com> andreas_pirklbauer@yahoo.com> Komu: ETH Oberon and related systems < <mailto:oberon@lists.inf.ethz.ch> oberon@lists.inf.ethz.ch> Datum: 22. 3. 2017 11:36:35 Předmět: [Oberon] FPGA Oberon - Modules.rsc The book Project Oberon does not describe the way the inner core itself is built (it only mentions that a “boot linker”is needed for that) or loaded onto the boot area of the local disk, nor are the tools to accomplish this published. A minimal set of the Oberon building tools can be found at: https://github.com/andreaspirklbauer/Oberon-building-tools Usage: ORP.Compile Kernel.Mod FileDir.Mod Files.Mod Modules.Mod ~ Linker.Link Modules # prepare inner core (pre-linked binary) Builder.Build Modules # load inner core into boot area of disk --------------------------------------------------------- thomas.kral at email.cz thomas.kral at email.cz Tue Mar 21 09:13:34 CET 2017 Hi Joerg, I was rereading the chapter 14 again, I realise the boot over RS232 is triggered by a switch, but I still do miss the point, how do I build the inner core, and Oberon0. In the text there is a reference to boot linker. Many thanks Tomas ---------- Původní zpráva ---------- Od: Jörg <joerg.straube at iaeth.ch <https://lists.inf.ethz.ch/mailman/listinfo/oberon> > Komu: ETH Oberon and related systems <oberon at lists.inf.ethz.ch <https://lists.inf.ethz.ch/mailman/listinfo/oberon> > Datum: 21. 3. 2017 8:06:54 Předmět: Re: [Oberon] FPGA Oberon - Modules.rsc " The inner core is at a fixed location on the disk. The boot process is described in chapter 14.1: https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf (https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Applications.pdf) -- <mailto:Oberon@lists.inf.ethz.ch> Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems <https://lists.inf.ethz.ch/mailman/listinfo/oberon> https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (3)
-
Andreas Pirklbauer -
Jörg -
thomas.kral@email.cz