[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64-bit bootloaders



It works fine if you do:

$ cd BareMetal-OS/os
$ nasm kernel64.asm -o kernel64.sys

The files are all included and not intended to be separately compiled.

-anil

On 4 Jul 2012, at 20:05, Dave Scott wrote:

> Not yet-- you're already ahead of me! I'll maybe try an older environment 
> since you're trying wheezy.
> 
> -- 
> Dave Scottt
> 
> On Jul 4, 2012, at 7:03 PM, "Anil Madhavapeddy" <anil@xxxxxxxxxx> wrote:
> 
>> Have you tried it?  I just downloaded it via the Github repo at 
>> https://github.com/ReturnInfinity/BareMetal-OS
>> 
>> It appears to use NASM instead of GAS, but I'm not sure which version to 
>> try.  Compiling under Debian/wheezy/amd64 gives all sorts of interesting 
>> compilation errors:
>> 
>> $ nasm fat16.asm -o fat16.sys
>> fat16.asm:170: error: impossible combination of address sizes
>> fat16.asm:170: error: invalid effective address
>> fat16.asm:177: error: impossible combination of address sizes
>> fat16.asm:177: error: invalid effective address
>> 
>> I'll take a look later, but wondering if you have a working build 
>> environment before I dig deeper.  It looks like its intended to be built on 
>> Windows, judging from the lack of Makefiles.
>> 
>> -anil
>> 
>> On 4 Jul 2012, at 08:19, Dave Scott wrote:
>> 
>>> Hi,
>>> 
>>> I came across this project:
>>> 
>>> http://www.returninfinity.com/pure64.html
>>> 
>>> It's a 64-bit OS bootloader with minimal backwards compat stuff under a BSD 
>>> license. Perhaps we could glue it onto mirage to complement the xen PV 
>>> support. It would be fun to write an IDE driver in ocaml :-)
>>> 
>>> Cheers,
>>> Dave
>>> 
>> 
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.