-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: split bootloader into two files with executables embedded in ker…
…nel binary. This was supposed to make booting faster but it only eliminates the double loading time of the service worker on first boot (or after clearing local data). For me it went from taking 30s on first boot to 17s, almost half. It doesn't change the regular reload boot time at all, which I was hoping it would. In this setup, there are now two files you need. The wanix-bootloader.js and then a gzipped kernel binary. We still pack files into the bootloader, but leaving the executables out. Instead, they're embedded in the kernel binary. I'm hoping eventually all initfs files can be embedded in the kernel. This also removes hugo from being included because its too large. It pushed the file size over 100M which GitHub starts to prevent without LFS which interacts with GitHub pages strangely. I think keeping it under 100M is a good idea, ideally much smaller. Hugo can be loaded separately by another mechanism for now.
- Loading branch information
Showing
7 changed files
with
97 additions
and
65 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin |
This file contains 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