GithubHelp home page GithubHelp logo

greenteaos / tofita Goto Github PK

View Code? Open in Web Editor NEW
234.0 18.0 27.0 6.56 MB

:candy: All-new engine of the @GreenteaOS

Home Page: https://greenteaos.github.io

License: GNU Lesser General Public License v3.0

Batchfile 0.33% Assembly 2.36% JavaScript 0.97% HTML 0.30% TypeScript 96.04%
osdev operating-systems greenteaos gpl os operating-system kernel drivers uefi

tofita's Introduction

Tofita

Tofita Logo

All-new engine to-fit-a Greentea OS (hence "Tofita")

Telegram Channel Telegram Chatroom Join the chat at Discord! GitHub Sponsor Automatic Builds Made with Hexa

Greentea OS is aimed to provide complete operating system compatible with existing apps

Screenshot

GreenteaOS (Tofita) system requirements

Give a star

Give some attention for Greentea OS be noticed and attract more contributors, thank you!

Become a sponsor Become a patron

Become a sponsor to help us hire developers and test more hardware

Tools

  • listen.js - listen to VirtualBox COM port in TCP socket mode
  • pipe.js - listen to VirtualBox\Hyper-V COM port in pipe mode
  • vbox.js - starts VirtualBox Tofita VM and exits
  • webui.bat - web-based UI for COM port
  • gos-devlist.bat - show useful device names and PCI IDs to gather user hardware stats
  • OVMF.fd - speed of light UEFI bootloader for QEMU
  • Greentea OS Compat - Greentea OS compatibility assistant
  • build.bat - check comments for examples of how to re-inject .iso file in VirtualBox and avoid full VM reboot for faster testing iterations

Edit Online

You may edit and commit directly from the browser:

https://github.dev/GreenteaOS/Tofita/blob/kawaii/README.md

Remember to open Extensions and install Hexa! Reload the tab if you don't see file icons.

Making a commit in the Source Control panel will create a Fork automatically for you.

Build

Get automatic build or make yours with Teapot (if you want to edit the code)

Teapot is a bundle containing all of the build tools you need like LLVM and NASM.

Automatic builds

If you don't want to build Tofita, you may download the latest automatic GitHub build.

Build using Teapot

Download or clone Teapot repo and others. Place alongside of Tofita repo:

.\Teapot
.\Tofita
.\Greentea
.\Tongue
.\NjRAA

You should have extracted Teapot-kawaii and have folders like this .\Teapot\LLVM-*.*.*.

Teapot will take less space if cloned with limited depth of commit history:

git clone --recursive --depth 1 https://github.com/GreenteaOS/Tofita.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/Teapot.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/Greentea.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/Tongue.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/NjRAA.git

Configure

Add your apps, folders and other files into assets\desktop of the Greentea repo to see them in the built image.

Create R: ram disk about 1 GB (you may download a free AMD Radeon™ RAMDisk) for faster builds and configure config.json > tempFolder. Otherwise C: is used to store builds by default.

Install Hexa

You also need to install Hexa compiler. Simply use the latest graphical installer from the automated builds.

You may build Hexa manually too. Follow instructions. Remember to add Hexa into your PATH.

Compile and generate disk image

cmd /c build

Or just open build.bat file with Explorer.

You'll find Tea subfolder with binaries and disk image.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

More information about legal issues

tofita's People

Contributors

acidicmercury8 avatar lucaspuntillo avatar peyty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tofita's Issues

Use GitHub Actions for builds

Is your feature request related to a Tofita kernel specifically? Please describe

Do it ASAP

Describe the solution you'd like

This should work the same way as AppVeyor does for now

Describe alternatives you've considered

No response

Describe the possible impacts for the developers and users

Better GitHub integration

Additional context

No response

Agreements

Virtualbox build crashes

Hello,

I wanted to test GreenteaOS and built it according to the instructions as well as to create the Virtualbox (6.1.4) VM according to

(https://github.com/GreenteaOS/Tofita/blob/master/VirtualBox_HOWTO!.txt)


Use exactly "Mac OS X (64-bit)" preset (it enables UEFI and other stuff)

Set 2 Gb RAM or more


VBox

The ISO created and then when I tried to start the VM, I get:


A critical error has occurred while running the virtual machine and the machine execution has stopped.

That is as far as it goes.

Any ideas on how to fix this?

Did I miss something in my steps?
Cheers

[FEATURE PROPOSAL] adding linux compiler

so yes, for the now i only saw .bat script, as far i know its a windows executable. will you maybe make a version also for linux/bsd (in bash)? also lacking ,ac support although im not into apple, just saying...

Bad graphics mode (GOP) on some hardware

Describe the bug

Shows malformed animation and crashes

Reproduction

Simply boot from USB

Platform

May happen to be more common than it seems

Expected behavior

No response

Screenshots

Imagine a skewed rectangle or something

Additional context

Probably wrong scanline width (on copy) and/or memory mapping of framebuffer

Agreements

Run some actual OS tests with QEMU in CI

Is your feature request related to a Tofita kernel specifically? Please describe

We must test a lot of hardware combinations. This is highly achievable with QEMU.

Describe the solution you'd like

Add QEMU to Teapot and run it with Actions. QEMU allows to save log into a file, which we will save as artifact. Also test VM combinations in parallel if possible with same OS image reused

Describe alternatives you've considered

No response

Describe the possible impacts for the developers and users

Less annoying regressions

Additional context

No response

Agreements

Windows cannot build it!

Hello when i try to compile hexa i always get error in windows i am currently using Windows 10 👍

CI must download Greentea repo

Is your feature request related to a Tofita kernel specifically? Please describe

https://github.com/GreenteaOS/Greentea will be used for user mode assets

Describe the solution you'd like

Simply download alongside of Tofita and Teapot (NOT inside Tofita!)

Describe alternatives you've considered

No response

Describe the possible impacts for the developers and users

Multi-repo split

Additional context

No response

Agreements

build fails on Windows

Describe the bug

aside from "error eperm operation not permitted unlink" on init-or-clean, getting to the NASM stage throws a bunch of "file not found" errors, which is pretty confusing.

Reproduction

  1. fetch all of the 4 repos
  2. go to Tofita
  3. run cmd /c build
  4. watch the syscall error on init-or-clean
  5. if you skip init-or-clean, nasm will throw a bunch of "file not found" errors

Platform

  • VMware Workstation 17 virtual machine running Windows 11 x64 on a host machine running Linux on a Ryzen 5 2600
  • i fetched the kawaii branch using the git clone commands from the readme

Expected behavior

build is supposed to just fly through the projects

Screenshots

No response

Additional context

No response

Agreements

AppVeyor nightly builds failing

The problem appears to be:
node :
At line:15 char:1
+ node bootstrap.js hexa.json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

C:\projects\hexa\bootstrap.js:8331
			throw new CompilerErrors(this.hints);
			^
[C:\projects\hexa\source\compiler\normalizer.hexa:190:9]: Expected `case` before `return`
node : module.js:550
At line:16 char:1
+ node hexa-node.js hexa.json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (module.js:550:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
    throw err;
    ^
Error: Cannot find module 'C:\projects\hexa\hexa-node.js'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3
node : module.js:550
At line:17 char:1
+ node hexa-node.js hexa.json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (module.js:550:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
    throw err;
    ^
Error: Cannot find module 'C:\projects\hexa\hexa-node.js'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.