Repository navigation
⬆️ Port Aura to Cosmos gen3 - #280
Merged
Merged
Conversation
Move Aura from Cosmos gen2 (IL2CPU) to the gen3 NativeAOT kernel API. - Single Cosmos.Sdk project booted by Limine; Aura_Boot and Aura_Plugs are gone - Cosmos version pinned once in global.json, local package feed in NuGet.Config - UI resources embedded in the kernel instead of copied to the ISO - FAT volumes mounted at /0, /1... with Unix paths - FTP server from Cosmos.Network.Ftp, served on a background thread - Lua from Cosmos.Executable.Lua instead of the bundled UniLua - No-op GC.WaitForPendingFinalizers plug for the missing runtime export
Manual-only job: builds the Cosmos package feed from a pinned CosmosOS/Cosmos commit, then the Aura ISO.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A fresh port of Aura from Cosmos gen2 (IL2CPU) to Cosmos gen3 (NativeAOT). It starts from
masterand targets the current Cosmosmain. It supersedes #279, which targeted the older 3.0.77 API.Cosmos.Sdkproject (SRC/Aura_OS) booted by Limine;Aura_BootandAura_Plugsare removedglobal.json;Directory.Build.propsderives the package versions from it/0,/1, … with Unix pathsCosmos.Network.Ftpand runs on a background thread, so the terminal stays usableCosmos.Executable.Luainstead of the bundled UniLuaGEN3-GAPS.mdlists the gen3 gaps found during the port, as material for upstream issuesworkflow_dispatch) against a pinned Cosmos commitBuilding
The Cosmos packages Aura needs are not on nuget.org yet (3.0.89 lacks the TCP and exception-handling fixes), so the build uses a local feed:
../Cosmos) and runmake setup.Cosmos.Sdkinglobal.jsonto the date-stamped version it produced.cd SRC/Aura_OS && dotnet build→bin/Debug/net10.0/linux-x64/cosmos/Aura_OS.iso. Build fromSRC/Aura_OS: the ISO path is relative to the working directory.Once Cosmos 3.0.90+ is on nuget.org, only
global.jsonandNuGet.Configneed to change.Known issues
gc-conservativeinGEN3-GAPS.md.idle-thread).beepis removed: gen3 has no PC speaker.ps2-sync). A fix is ready but not upstream yet.Test plan
Booted the ISO headless in QEMU (q35, e1000e, AHCI FAT disk):
systeminfo,lspci, DHCP,ipconfig,ping,dns, HTTP,wget(300 KB download, MD5 verified)vol,mkdir/cd/cat/cp/rm/tree,echoredirectioncosmos.cryptolibrarysetupinstall → ACPI reboot → login screen → desktop