OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 4:57 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Pure64 0.9.0
PostPosted: Mon Apr 02, 2018 4:34 pm 
Offline
Member
Member

Joined: Sun Nov 05, 2017 2:29 pm
Posts: 31
Location: Middleboro, MA
About ten years ago, Pure64 0.7.0 was released on OSDev.org.

You can check it out at viewtopic.php?f=2&t=31060

Today, after tens of thousands lines of code, version 0.9.0 is released (version 0.8.0 was released in 2016.)

Here's some of the highlights:

- A utility program, 'pure64' is used to create disk images.
- specify disk layout and features with configuration files
- file system interface to the disk allows placing kernels into the disk image by path instead of disk offset

This last release was aimed at improving the ease of use of the project by the community.
It should be easy now, for other projects to load their kernel using without doing a lot of other work.
Here's the steps you would take to use it.

1. Create the configuration file, called pure64-config.txt. At the minimum, you have to specify the architecture that the image is for. While currently only x86_64 is supported, riscv64 will be supported in the next release. The following configuration file creates a disk image, with GPT partitions, and an MBR boot sector.

Code:
arch: x86_64
bootsector: mbr
partition_scheme: gpt


2. Run the initialization command.

Code:
pure64 init


3. Add the kernel to the file system.

Code:
pure64 kernel.elf /boot/kernel


I'm including release files for Windows and Linux, so you don't have to go through the trouble of installing the cross compilers required to build it.

Here's a link to the release page: https://github.com/ReturnInfinity/Pure6 ... tag/v0.9.0

If you use vim, I made a short plugin to highlight Pure64 config files. Here's a link to the project: https://github.com/ReturnInfinity/Pure64Vim

Here's an image of the config file.

Image

Please ask questions, if you have any.

_________________
I'm a contributor to BareMetal OS. View it at https://github.com/ReturnInfinity/BareMetal-OS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group