Commit Graph

200 Commits

Author SHA1 Message Date
K. Lange
b4de7633c3 make: Port some core build utils to Kuroko 2021-04-28 06:41:55 +09:00
K. Lange
3818df0749 make: Build with -O2 instead of -O3 2021-04-24 19:07:14 +09:00
K. Lange
b081668712 boot: Fixes to boot processes on multiple platforms. 2021-04-22 19:46:51 +09:00
K. Lange
8e73380e9f kuroko: Upstream updates 2021-04-17 19:50:20 +09:00
K. Lange
abbe298cd7 boot: Compress ramdisk image with gzip 2021-04-08 18:07:08 +09:00
K. Lange
cf045ced81 kuroko: Update from upstream 2021-04-06 21:13:57 +09:00
K. Lange
ff2b898384 kuroko: make sure we remove kuroko objs on clean 2021-03-07 20:04:22 +09:00
K. Lange
97d02d6e23 kuroko: Updates for 1.1-preview and threading support 2021-02-16 18:56:27 +09:00
K. Lange
230870ad7b kernel, linker, libc: Initial, probably horribly broken, support for some TLS situations 2021-02-16 18:49:34 +09:00
K. Lange
6a5991fcf5 kuroko: more upstream updates 2021-01-23 20:00:36 +09:00
K. Lange
5fe8d3b0d1 yutani: basic Kuroko bindings, demo 'app' 2021-01-23 15:31:38 +09:00
K. Lange
f05522baca kuroko: synchronize and begin work on Toaru bindings 2021-01-21 21:26:50 +09:00
K. Lange
eedda5a9db Update Kuroko with new library paths 2021-01-10 11:34:56 +09:00
K. Lange
18cd88cf4e kuroko: Don't have our build produce builtins.c, assume it's already there. 2021-01-01 17:26:06 +09:00
K. Lange
db23c987a9 Pull in Kuroko (as a submodule, but with build integration) 2021-01-01 17:19:44 +09:00
K. Lange
888323bcea getty: Pass more args through 'headless' make target 2020-04-25 07:02:46 +09:00
K. Lange
066c2a592c make: disable audio output in headless target
Avoids pulse warnings clogging the screen for now, and I don't ever
use the audio output from a serial console anyway (plus it's not very
reflective of the user experience we're trying to provide with the
headless mode, since you don't get audio over serial normally anyway)
2020-04-25 06:25:17 +09:00
K. Lange
9b0e35eb3e make: Disable serial console in BIOS for 'make headless' 2020-04-21 16:35:46 +09:00
K. Lange
ed58edaae9 make: serial is actually redundant, already had headless 2019-12-19 17:14:23 +09:00
K. Lange
99f9ff429a make: add serial-based headless boot target 2019-12-17 11:58:03 +09:00
K. Lange
4146aec98d make: don't build init specially 2019-12-15 16:54:08 +09:00
K. Lange
9e39bb74d4 make: init can absolutely be dynamic 2019-12-15 15:53:02 +09:00
K. Lange
88363fa19e make: fix builds with clang by embedding required compiler-rt functions 2019-11-26 11:19:47 +09:00
K. Lange
fec073784a bim: update to 1.6.1, and include tags 2019-07-09 21:18:55 +09:00
K. Lange
e05b89b745 ungz: handle bad return from gzip 2018-12-26 00:11:05 +09:00
K. Lange
7e3683f275 makefile: -k makes page up/down unhappy on my desktop? 2018-12-13 21:16:07 +09:00
K. Lange
164fa6447b Revert "boot: switch back to ext2 ramdisks while an issue is investigated"
This reverts commit 3e04540bf7.
2018-12-13 10:07:00 +09:00
K. Lange
3e04540bf7 boot: switch back to ext2 ramdisks while an issue is investigated 2018-12-11 21:00:48 +09:00
K. Lange
73a3dc1414 qemu: pass -k en-us to fix arrow keys under Wayland clients 2018-12-11 17:04:20 +09:00
K. Lange
31af34c73d boot: switch to tar ramdisks 2018-12-11 13:04:02 +09:00
K. Lange
de7463d141 kernel: 64-bit offsets for VFS 2018-11-23 09:56:44 +09:00
K. Lange
02e81524ee make: qemu is doing weird shit to stdin 2018-11-21 11:18:55 +09:00
K. Lange
e175885c58 make: restrict shell hosting to 127.0.0.1 so it doesn't leak 2018-11-20 17:20:25 +09:00
K. Lange
4a343c3bcb make: Are we not building cdrom dir correctly? 2018-11-16 14:09:37 +09:00
K. Lange
c71ed6ab60 qemu: use a TCP socket for 'make shell' w/ nc 2018-11-08 18:37:55 +09:00
K. Lange
be02291b53 qemu: export and collect TERM in 'make shell' 2018-11-07 18:22:48 +09:00
K. Lange
730fd9d64c tmpfs: /var as a protected tmpfs 2018-10-31 10:51:08 +09:00
K. Lange
fbc43253a7 makefile: target for ungz util 2018-10-16 14:14:23 +09:00
K. Lange
dd2c403345 makefile: remove shell call to 'find' 2018-10-14 15:20:40 +09:00
K. Lange
8f5de441fc boot: port boot.s to GNU as 2018-10-14 11:35:01 +09:00
K. Lange
3fc0ccef4f libc: crt's to GNU as 2018-10-13 15:53:16 +09:00
K. Lange
0ef0c0cd8f linker scripts have no effect on object files 2018-10-07 12:06:17 +09:00
K. Lange
3ae31e3efb Optionally build kernel with clang 2018-10-07 12:06:00 +09:00
K. Lange
31129650a4 Kernel should build with clang without exploding? 2018-10-07 11:55:50 +09:00
K. Lange
655e829112 ToaruOS-NIH => ToaruOS 2018-10-06 21:28:43 +09:00
K. Lange
c0f3ab2224 Makefile: clean should kill ext-lib makefiles 2018-10-05 23:26:09 +09:00
K. Lange
20a390ee01 Try to document some more obtuse parts of the makefile 2018-09-23 01:15:32 +09:00
K. Lange
8a6438b3d2 Add Cairo backend for compositor 2018-09-22 21:26:25 +09:00
K. Lange
cb419b74f2 Add new system for external library extensions 2018-09-21 13:13:49 +09:00
K. Lange
1960980586 Fix netinit 2018-09-04 10:17:59 +09:00
K. Lange
3301b5b0e5 Allow disabling KVM in Makefile 2018-08-16 14:26:40 +09:00
K. Lange
88affdf86b Also enforce VNC when under WSL (sorry if you have X and SDL) 2018-08-15 19:53:05 +09:00
K. Lange
b60381b763 Detect WSL and disable soundhw, kvm 2018-08-15 19:45:25 +09:00
K. Lange
e9853dbd4f quick local shell access from qemu 2018-08-13 13:32:26 +09:00
K. Lange
64aac5e063 Mount cdrom if available 2018-08-12 17:14:15 +09:00
K. Lange
9b4a1174b6 More shoddy shell stuff 2018-08-08 10:14:59 +09:00
K. Lange
4b50fd324d Change how text login generally works so getty can die and reboot after login session ends 2018-08-02 18:48:45 +09:00
K. Lange
2078efccd7 Better deps for devtable 2018-08-01 17:20:34 +09:00
K. Lange
a0528a6c7c Automatically generate util/devtable 2018-07-18 13:03:13 +09:00
K. Lange
1d1bc8523a Convert update-extents to python3 2018-07-18 12:44:05 +09:00
K. Lange
1241011833 Use a macro to make virtualbox stuff easier to manage 2018-07-17 23:49:37 +09:00
K. Lange
57b92af84c Use -rtc base=locatime with qemu targets 2018-07-17 23:40:56 +09:00
K. Lange
a869fc5837 Remove the printed comments for 'make headless' 2018-07-17 23:39:14 +09:00
K. Lange
23571de085 Fix typo in directory target 2018-07-15 19:48:28 +09:00
K. Lange
e140a960c7 Add convenience target for QEMU+OVMF (64bit) 2018-07-11 19:18:41 +09:00
K. Lange
1c9a37cf8b Add convenience targets for VirtualBox EFI 2018-07-11 19:17:18 +09:00
K. Lange
ed020443d1 Non-functioning x64 EFI loader (needs jump to protected) 2018-07-11 13:23:04 +09:00
K. Lange
9e9c2650c5 Add error to makefile for missing gnu-efi 2018-07-11 12:45:31 +09:00
K. Lange
16e1386c86 Lots of fixes 2018-07-11 10:55:49 +09:00
K. Lange
0ed0f2d96d Merge isohybrid build support 2018-07-11 09:43:31 +09:00
K. Lange
1cd6a5cb16 Cleanup how boot modes are tracked 2018-07-07 10:56:14 +09:00
K. Lange
e55fb284ba Functioning IA32 EFI loader 2018-07-06 23:53:14 +09:00
K. Lange
fbf7ccd234 Oh, uh, we don't want bootx64 2018-07-06 17:56:29 +09:00
K. Lange
0dc036afe3 clean efi files on clean 2018-07-06 16:37:22 +09:00
K. Lange
58db6c8fec Fixed up EFI loader builds for qemu and vbox 2018-07-06 16:35:01 +09:00
K. Lange
e8406ff58b Add convenience target 'fast' to skip boot menu 2018-07-06 14:15:17 +09:00
K. Lange
dbf5f9b408 Only attempt EFI build if available 2018-07-06 12:30:28 +09:00
K. Lange
ba9e9078dd Add headless boot options 2018-07-06 10:40:49 +09:00
K. Lange
6e845dad42 init efi boot work 2018-07-06 09:17:20 +09:00
K. Lange
9533ea1bf6 Remove some excess serail debugging 2018-07-02 13:21:27 +09:00
K. Lange
3700630f0e Rename netboot to netinit, makes more sense 2018-07-01 17:32:50 +09:00
K. Lange
4df958b1ba Strip netboot so it's a lot smaller 2018-06-30 13:48:29 +09:00
K. Lange
65d69b9836 Experimental, currently broken, netboot 2018-06-29 13:55:03 +09:00
K. Lange
79ac5ba9b1 Fix several Python things 2018-06-26 20:53:48 +09:00
K. Lange
334d31e1d4 Build a bigger image if Python is installed 2018-06-25 21:49:06 +09:00
K. Lange
a404c0f0af Enough to build lua 2018-06-25 13:15:09 +09:00
K. Lange
6e1e9a4c97 Experimental, hacky printf(%f) 2018-06-10 19:06:48 +09:00
K. Lange
e813056b64 More bootloader cleanup 2018-06-09 19:19:21 +09:00
K. Lange
7e6182efba Remove --audioout and --audioin options for virtualbox 2018-06-06 08:31:46 +09:00
K. Lange
74b9e11d5c Fix some virtualbox guest additions stuff 2018-06-05 22:34:37 +09:00
K. Lange
60145a9849 Be sure to set vram for virtualbox 2018-05-11 21:33:56 +09:00
K. Lange
ffa4bd7360 Add login, sudo, user session, auth lib, etc. 2018-05-10 22:33:32 +09:00
K. Lange
7eff9691b5 Rebuild CDs more reliably when random filesystem files change 2018-05-07 17:48:50 +09:00
K. Lange
3163133c88 Don't show exit menu in VirtualBox 2018-05-04 12:29:17 +09:00
K. Lange
3dd3da9471 Make sure object files from libc are cleaned out properly 2018-05-02 15:02:05 +09:00
K. Lange
4c8f8e43fb Use subdirectories for libc based on headers 2018-05-02 11:59:30 +09:00
K. Lange
2509d2cad8 Add a bunch of little virtualbox config tweaks 2018-04-27 16:41:43 +09:00
K. Lange
910908096f Add convenience targets for qemu (run), virtualbox 2018-04-26 17:04:19 +09:00
K. Lange
df277155c4 Pass same CFLAGS for libc 2018-04-25 21:39:55 +09:00
K. Lange
8e07883088 Enable and resolve several warnings 2018-04-25 14:03:29 +09:00