Commit graph

781 commits

Author SHA1 Message Date
TomAwezome
751684f8ac Set xorriso to generate Joliet ISO data. 2022-08-27 08:15:06 -04:00
TomAwezome
41a033fe8a Implement prekernel disk GPT UUID pass to kernel, add to headers, check in AHCIBootDVDProbeAll. 2022-08-27 05:11:55 -04:00
TomAwezome
ce84d5532f Merge all dev build scripts into build-iso.sh 2022-08-27 01:14:42 -04:00
TomAwezome
33bf00ea5c Revise KStart16 framebuffer acquire logic. 2022-08-26 20:55:55 -04:00
TomAwezome
aa167cdb22 Rebuild AUTO-VM.ISO.
Side note: currently to rebuild this KStart32 must have the commented-out lines relating to boot stack and patch table base uncommented to rebuild AUTO-VM.ISO. This is because it makes use of the legacy 16-bit BIOS mode DVD and HDD bootloader native ZealC code.
2022-08-26 19:02:48 -04:00
TomAwezome
3a296bc368 Update Auto scripts for recent VBE removal changes. 2022-08-26 18:51:49 -04:00
TomAwezome
f74e3d6b20 Remove VBE from kernel headers. 2022-08-25 07:15:24 -04:00
TomAwezome
2bd8e2ab0b Remove SYS_FONT_PTR and related code. 2022-08-25 04:33:39 -04:00
mintsuki
6f942441e3 Misc improvements 2022-08-24 08:53:44 +02:00
TomAwezome
0bf82fb057 Implement limine zealbooter prekernel SMBIOS entry patching to kernel. 2022-08-23 21:04:27 -04:00
TomAwezome
dbbf751a44 Remove commented old code lines from KMain. 2022-08-23 18:24:50 -04:00
TomAwezome
628848c79d Change limine.cfg mode 100644 to 100755. 2022-08-23 18:23:46 -04:00
TomAwezome
f86a0ed978 Remove ASCII 0x5 cursor character from files. 2022-08-23 18:00:55 -04:00
TomAwezome
8f94c39bc4 Enable multi-core in dev uefi iso script. 2022-08-23 07:13:51 -04:00
TomAwezome
3e9975ee57 Enable multi-core on all stages of uefi build. 2022-08-23 05:57:06 -04:00
TomAwezome
89cb92d019 Alter dev UEFI ISO script based on new full-rebuild merged uefi vm script. 2022-08-23 05:17:34 -04:00
TomAwezome
132215f7de Delete build-temp-vm.sh 2022-08-23 04:58:03 -04:00
TomAwezome
7d31064b6a Abstract out VBE vars from most of OS, revise dev uefi temp vm build system.
Misc UEFI build scripts have been removed/revised/condensed into one script with multiple rebuild steps. The order of the steps is as follows: Auto-install into temp VM with custom AUTO-VM iso, merge kernel headers into VM, rebuild kernel, merge Kernel/ code, rebuild kernel, merge all src/ code, deploy limine and zealbooter, rebuild kernel (as well as test), then test UEFI and BIOS mode.
2022-08-23 04:48:04 -04:00
TomAwezome
fab8b79074 Remove unneeded commented code. 2022-08-23 02:41:23 -04:00
TomAwezome
3b1e0af20b Implement uefi build script with distinct only-kernel-header recompile step. 2022-08-23 01:50:31 -04:00
TomAwezome
2d332d1878 Fix src files not copying to tmp uefi iso dir. 2022-08-22 06:06:07 -04:00
TomAwezome
e6ca68c2e2 Begin prototyping limine UEFI ISO generation. 2022-08-22 05:42:13 -04:00
TomAwezome
1d4d8dc86e Fix limine uefi missing SYS_FONT_PTR by hardcoding a new aux font dedicated file.
Since Zeal used a 16-bit mode BIOS INT to get an 8x8 VGA ROM font, this is incompatible if Zeal is loaded to a patched 32-bit mode by the zealbooter prekernel. To circumvent SYS_FONT_PTR never being set and fix access to the 'thick' font with Ctrl-Alt-F, I loaded Zeal bare-metal on my Thinkpad T420 and saved the VGA ROM font file with FontEd, then transferred the file to my VM.
2022-08-22 03:18:54 -04:00
TomAwezome
644a73711e Merge branch 'limine2' into limine 2022-08-22 02:46:53 -04:00
mintsuki
e067776510 ZealBooter: memmove() -> memcpy() 2022-08-21 22:27:18 +02:00
mintsuki
375a487087 ZealBooter: De-hardcode kernel load address and boot stack 2022-08-21 22:21:01 +02:00
mintsuki
1510f65468 ZealBooter: Further cleanup and fix BIOS boot 2022-08-21 20:47:26 +02:00
mintsuki
ee265c8767 ZealBooter: Move sys_pci_buses assignment to zealbooter.c 2022-08-21 19:13:48 +02:00
mintsuki
d7f72e3aa9 ZealBooter: Misc cleanup, SMP working 2022-08-21 19:03:17 +02:00
mintsuki
fa4ded924f ZealBooter: Misc cleanup 2022-08-21 17:42:32 +02:00
TomAwezome
f2f7fa953f Merge branch 'limine2' into limine 2022-08-21 06:41:47 -04:00
mintsuki
5f3bdc637b Set sys_pci_buses to 256 by default 2022-08-21 10:36:14 +02:00
mintsuki
bcb830e880 ZealBooter: Misc progress 2022-08-21 10:27:19 +02:00
TomAwezome
402fa603a6 Put framebuffer members in SYS_KERNEL to match previous commit adding them to CKernel. 2022-08-20 12:29:04 -04:00
TomAwezome
ddccc7d7ff Begin attempt to get limine framebuffer and combine it into kernel data members. TODO: update SYS_KERNEL DU members. 2022-08-20 11:46:30 -04:00
TomAwezome
a1ef3f7566 Fix merge broke zealbooter compile. 2022-08-20 10:32:39 -04:00
TomAwezome
0a3923b7b9 Merge branch limine2 into branch limine. 2022-08-20 10:27:08 -04:00
mintsuki
344de80dab ZealBooter: Misc progress 2022-08-20 16:13:06 +02:00
TomAwezome
94779557a3 Add some matching member variables to previously stubbed CKernel struct. 2022-08-20 09:37:16 -04:00
TomAwezome
3f83de8219 Testing getting and printing a ZXE struct member variable of loaded kernel module. 2022-08-20 09:06:55 -04:00
TomAwezome
e5c33074e2 Add ZXE class header struct to zealbooter. 2022-08-20 09:05:23 -04:00
mintsuki
325160e13b ZealBooter: Add minimal code to get kernel address 2022-08-20 02:21:36 +02:00
mintsuki
69f0f37b9b Initial work on ZealBooter 2022-08-20 01:54:34 +02:00
TomAwezome
12201e46b6 Implement build-temp-vm-uefi-1 script that performs an additional BIOS mode reboot to allow for automatic kernel recompile before booting into UEFI mode with Limine. 2022-08-19 00:56:11 -04:00
TomAwezome
fd52452c70 Rename AUTO-VM.ISO to AUTO-VM-0.ISO. 2022-08-19 00:52:29 -04:00
TomAwezome
0b5c063985 Rename build temp vm uefi script. 2022-08-19 00:50:22 -04:00
TomAwezome
ca76b49da8 Fix build temp vm uefi mkdir parent create. 2022-08-19 00:48:36 -04:00
TomAwezome
7571ca985a Implement initial UEFI limine temp vm build script. 2022-08-18 23:40:29 -04:00
TomAwezome
769721431c Fix typo in temp vm build script. 2022-08-18 23:39:55 -04:00
TomAwezome
87de096d19 Implement rebuild script and AUTO-VM.ISO for rebuilding and testing code during development.
The build-temp-vm script will perform the same logic as the build-iso script, the only difference being it will not perform ISO extraction logic whenever the VM is closed. Changes made inside the temporary VM will NOT be preserved. The AUTO-VM bootstrap ISO (which similarly has the system and kernel rebuilding logic on boot but has the ISO generation steps removed) is created by slightly modifying the standard AutoFullDistro0.ZC script file, then using sync.sh to sync the repo contents and update the AUTO iso. Since this setup exists separate from the ISO process, the modified AUTO iso can simply be renamed to AUTO-VM.ISO and the default one re-checked out via git to restore it.
2022-08-18 22:06:50 -04:00