Re: Booting PilOS

2015-11-01 Thread Robert Herman
I had the same issue, and it was pointed out to me by Alex and Joe to try an older version of qemu. http://www.mail-archive.com/picolisp%40software-lab.de/msg05495.html I hope this helps you too. Rob On 2 November 2015 at 14:50, Alexander Burger wrote: > Hi me, > > On Sat, Oct 31, 2015 at 04:

Re: Booting PilOS

2015-11-01 Thread Alexander Burger
Hi me, On Sat, Oct 31, 2015 at 04:48:19PM -0400, me wrote: > Hello list. I've been following the pilOS progress and very interested in > running picolisp on bare metal. > > After following the instructions my exploration was halted shortly after > booting. "Welcome to pilOS!" line followed by "

Re: Booting PilOS

2015-10-31 Thread me
Hello list. I've been following the pilOS progress and very interested in running picolisp on bare metal. After following the instructions my exploration was halted shortly after booting. "Welcome to pilOS!" line followed by "Error 9" whatever that is. This was on an Asus C300MA Chromebook, dua

Re: Booting PilOS

2015-07-10 Thread Alexander Burger
On Fri, Jul 10, 2015 at 07:03:28PM +0200, Alexander Burger wrote: > > What could PilOS be used for? > ... And of course it represents the essence of PicoLisp: Being totally in control, and knowing every single machine instruction in your machine personally. This thrill alone was worth the effort

Re: Booting PilOS

2015-07-10 Thread Alexander Burger
Hi Rick, > > PilOS is complete so far Well, to be honest, not completely complete. The most interesting part is still missing, but that's not an OS-issue, but a matter of PicoLisp internals: Parallelize parts of the interpreter to employ multiple CPU cores. First will be the garbage collector.

Re: Booting PilOS

2015-07-10 Thread Rick Lyman
Alex, > PilOS is complete so far What could PilOS be used for? Does it have any way of communicating with the outside world? (http://lwip.wikia.com/wiki/Porting_For_Bare_Metal) Any thoughts re: IOT: eg: http://www.adafruit.com/products/2112?gclid=Cj0KEQjw2v2sBRCazKGu3tSFz64BEiQAKIE1htXJRrxOaZ

Re: Booting PilOS

2015-07-10 Thread Alexander Burger
On Fri, Jul 10, 2015 at 09:55:30AM -0400, Rick Lyman wrote: > May be useful: > > https://blog.netbsd.org/tnf/entry/an_internet_ready_os_from > https://www.raspberrypi.org/forums/viewtopic.php?f=72&t=92579 > https://lse.epita.fr/lse-summer-week-2014/slides/lse-summer-week-2014-21-Porting%20and%20te

Re: Booting PilOS

2015-07-10 Thread Alexander Burger
Hi Rick, > Do we need to re-invent the wheel here? maybe we could leverage: > > https://en.wikipedia.org/wiki/BareMetal > https://github.com/ReturnInfinity/BareMetal-OS > http://www.returninfinity.com/baremetal.html > http://www.osnews.com/story/27566/BareMetal_OS_gets_TCP_IP Yes, I've seen it.

Re: Booting PilOS

2015-07-10 Thread Rick Lyman
May be useful: https://blog.netbsd.org/tnf/entry/an_internet_ready_os_from https://www.raspberrypi.org/forums/viewtopic.php?f=72&t=92579 https://lse.epita.fr/lse-summer-week-2014/slides/lse-summer-week-2014-21-Porting%20and%20testing%20a%20TCPIP%20stack%20without%20an%20ethernet%20driver.pdf ht

Re: Booting PilOS

2015-07-10 Thread Rick Lyman
Do we need to re-invent the wheel here? maybe we could leverage: https://en.wikipedia.org/wiki/BareMetal https://github.com/ReturnInfinity/BareMetal-OS http://www.returninfinity.com/baremetal.html http://www.osnews.com/story/27566/BareMetal_OS_gets_TCP_IP On Fri, Jul 10, 2015 at 9:30 AM, Alexan

Re: Booting PilOS

2015-07-10 Thread Alexander Burger
Hi Geo, thanks for the investigations! > I think i got some leads why some of us got stuck with "Checking long mode" > What i noticed is the that if i insert some message printing on most > parts of the code between "Loading PilOS" and "Checking long mode", i > will arrive on the real error which

Re: Booting PilOS

2015-07-10 Thread George Orais
Hi Alex, I think i got some leads why some of us got stuck with "Checking long mode" What i noticed is the that if i insert some message printing on most parts of the code between "Loading PilOS" and "Checking long mode", i will arrive on the real error which is "ERROR: CPU has no local APIC". I

Re: Booting PilOS

2015-07-09 Thread Alexander Burger
Hi Geo, > Indeed! ok so time to install qemu.. but hmm if the current pilOS > works on your qemu then it would not help right? Or does qemu also > depends on its host hardware that its running? I think it doesn't. After all, qemu can emulate various systems. > Hmmm might be helpful if we can r

Re: Booting PilOS

2015-07-09 Thread George Orais
Hi Alex, > The problem is that this is a bit tedious (unless using e.g. qemu)> because > you have to put the test onto the USB-stick each time and reboot> the test > machine with it. Indeed! ok so time to install qemu.. but hmm if the current pilOS works on your qemu then it would not help righ

Re: Booting PilOS

2015-07-08 Thread Alexander Burger
Hi Geo, > OK did a quick peek and most of them are in x86 assembly hmmm Yeah. Basically calls to the 'cpuid' instruction to question the CPU for its parameters. > I see, so it means it got stuck somewhere on the checking, would it be > possible to be inside an infinite loop? I believe that the

Re: Booting PilOS

2015-07-08 Thread Alexander Burger
Hi Mattias + Geo, > Alex, you already got the following results, I'm just reposting them to the > list > as well. Yes, thanks! > I have tried PilOS on the following machines: > ... > *Lenovo Thinkpad x201i, i3 cpu > Fails with the message "READ ERROR 08" > > *Lenovo Thinkpad x230, i5 cpu > Fa

Re: Booting PilOS

2015-07-08 Thread George Orais
Hi Alex, > That's interesting! i3 is a 64-bit CPU, right? So the check for long> mode > doesn't work? I would at least expect an error message. Yes it is also a 64-bit, just now i also got the same result here at my room's PC which is an AMD64, how is the checking done btw? > The checks are done

Re: Booting PilOS

2015-07-08 Thread Mattias Sundblad
Hi George and Alex, > Yes! i was able build the image and immediately tried it using my USB stick, > it's working!!! but I'm stuck at "Checking long mode".. maybe because I'm > trying it under an Intel i3? Let me try it with my AMD machine back in my > room and feedback to you how it goes... th

Re: Booting PilOS

2015-07-08 Thread Alexander Burger
Hi Geo, > Another feedback is i try to boot it on my VirtualBox and I'm seeing > "Loading PilOS" but its already a while, is this expected? No, it all goes in a tiny fraction of a second. Normally, you don't see any of the messages. I think other people also tried VirtualBox, and said it doesn't

Re: Booting PilOS

2015-07-08 Thread George Orais
Hi Alex, Another feedback is i try to boot it on my VirtualBox and I'm seeing "Loading PilOS" but its already a while, is this expected? BR,Geo On Wednesday, July 8, 2015 4:41 PM, George Orais wrote: Hi Alex, > Oops, sorry. My fault! "init/.pil/history" was added recently, and I>

Re: Booting PilOS

2015-07-08 Thread Alexander Burger
Hi Geo, > Yes! i was able build the image and immediately tried it using my USB > stick, it's working!!! but I'm stuck at "Checking long mode".. maybe > because I'm trying it under an Intel i3? Thanks! That's interesting! i3 is a 64-bit CPU, right? So the check for long mode doesn't work? I woul

Re: Booting PilOS

2015-07-08 Thread George Orais
Hi Alex, > Oops, sorry. My fault! "init/.pil/history" was added recently, and I> forgot > to include it into the release script.>> Please download once more > "pilos.tgz". Yes! i was able build the image and immediately tried it using my USB stick, it's working!!! but I'm stuck at "Checking lon

Re: Booting PilOS

2015-07-07 Thread Alexander Burger
Hi Geo, thanks for the feedback! :) > I tried building them and here is what i get: > * First release: make will generate x86-64.bin* Latest release: make: > *** No rule to make target `init/.pil/history', needed by `db.bin'.  Oops, sorry. My fault! "init/.pil/history" was added recently, and I

Re: Booting PilOS

2015-07-07 Thread Alexander Burger
Hi Geo, > Actually i did try to boot this since from your first release but > until now i still cant make it boot, it pauses for a while then proceed > to the default OS stored on the hard drive.. I see. So it isn't even recognized as a bootable USB disk. > Next plan is to build it > within the

Re: Booting PilOS

2015-07-07 Thread George Orais
Hi Alex, I tried building them and here is what i get: * First release: make will generate x86-64.bin* Latest release: make: *** No rule to make target `init/.pil/history', needed by `db.bin'.  Stop. I used pil 3.1.11.1 BR,Geo On Wednesday, July 8, 2015 10:27 AM, George Orais wrote:

Re: Booting PilOS

2015-07-07 Thread George Orais
Hi Alex, Actually i did try to boot this since from your first release but until now i still cant make it boot, it pauses for a while then proceed to the default OS stored on the hard drive.. Next plan is to build it within the machine i want to boot on it.. Btw does Intel or AMD matter on this?