Liam Wilson
a87e0b025e
dummy tcc-mes file no longer needed
2024-01-12 05:38:33 +00:00
Liam Wilson
ba4c8b4ae7
start splitting tcc-0.9.26 hashes
2024-01-12 05:36:24 +00:00
Liam Wilson
dcb0134de8
Merge branch 'master' into tcc_bootstrap_alt-refactor-improve
2024-01-12 05:26:00 +00:00
Liam Wilson
f4eda660f0
revert tcc-boot0 rebuilds
2024-01-12 03:22:47 +00:00
Liam Wilson
d2c5f8b518
another missing cd
2024-01-12 03:11:07 +00:00
Liam Wilson
b8d11bfe25
missing cd
2024-01-12 03:05:52 +00:00
Liam Wilson
451435852e
rebuilt tcc-boot0 again
2024-01-12 02:59:35 +00:00
Liam Wilson
e8c0b99a09
rebuild tcc-boot0 with itself
2024-01-12 02:48:11 +00:00
Liam Wilson
3c840e66c7
test rebuilding tcc-boot2 with itself
2024-01-12 02:28:54 +00:00
Liam Wilson
9623db5dc1
add dummy tcc-mes
2024-01-11 21:54:17 +00:00
Liam Wilson
949d5b8c76
try checking tcc-0.9.26 checksums even when using the TCC_BOOTSTRAP_ALT path
2024-01-11 21:15:44 +00:00
Liam Wilson
488904419a
allow run past tcc-0.9.27 to test full run
2024-01-11 00:07:21 +00:00
Liam Wilson
876e0ed78d
Revert "Revert "temp abort after 0.9.27 build""
...
This reverts commit 64e36591bc .
2024-01-10 23:49:45 +00:00
Liam Wilson
64e36591bc
Revert "temp abort after 0.9.27 build"
...
This reverts commit b4068aaba5 .
2024-01-10 23:38:17 +00:00
Liam Wilson
33be2c0080
do not check checksums for tcc-0.9.26 when using tcc_bootstrap_alt
2024-01-10 23:30:48 +00:00
Liam Wilson
2f158fc944
more include fixing
2024-01-10 23:21:46 +00:00
Liam Wilson
a9fb3814e1
try to fix includes
2024-01-10 23:17:03 +00:00
Liam Wilson
46efeb6e12
fix env vars
2024-01-10 22:38:19 +00:00
Liam Wilson
a2dd7888d4
update include directory
2024-01-10 22:25:37 +00:00
Liam Wilson
ddefe9fc04
more changes
2024-01-10 22:13:13 +00:00
Liam Wilson
977290a444
start adapting tcc-0.9.26/pass1.kaem to optionally run tcc_bootstrap_alt
2024-01-10 22:03:12 +00:00
Liam Wilson
4d2537cd21
conditional tweak
2024-01-10 21:43:02 +00:00
Liam Wilson
e22a43a3ba
seems to be some issue with nesting conditionals
2024-01-10 21:40:31 +00:00
Liam Wilson
37421bd500
tweak conditional
2024-01-10 21:33:01 +00:00
Liam Wilson
dc96cc9cb0
skip parts of mes-0.25/pass1.kaem if TCC_BOOTSTRAP_ALT is True
2024-01-10 21:24:53 +00:00
Liam Wilson
e1738d93c9
re-enable mes-0.25
2024-01-10 21:18:31 +00:00
Liam Wilson
6c6ab74a4a
update pass1.kaem
2024-01-10 21:13:08 +00:00
Liam Wilson
a8df00f21d
fix kaem name
2024-01-10 20:58:11 +00:00
Liam Wilson
331262575f
start adding option to run tcc_bootstrap_alt
2024-01-10 20:30:36 +00:00
Liam Wilson
b4068aaba5
temp abort after 0.9.27 build
2024-01-10 20:17:03 +00:00
Liam Wilson
89a83bcdb1
add tcc_bootstrap_alt-0.1 source and kaem build script
2024-01-10 20:12:57 +00:00
fosslinux
5b7175de3e
Merge pull request #401 from stikonas/weak_symbols
...
Fix weak symbols to work in tcc.
2024-01-10 07:20:54 +00:00
fosslinux
b2747cb6cf
Merge pull request #392 from Googulator/bare-metal-move-disk
...
Make move_disk work on bare metal
2024-01-10 07:16:32 +00:00
fosslinux
f51fb080b1
Merge pull request #391 from Googulator/bare-metal-linux
...
Make the Linux kernel & Fiwix->Linux kexec more bare-metal-friendly
2024-01-10 07:16:20 +00:00
fosslinux
01a4f90378
Merge pull request #388 from Googulator/kernel-bootstrap-jobs
...
Restore multicore build support with kernel-bootstrap
2024-01-10 07:16:10 +00:00
Andrius Štikonas
be15f9caca
Fix weak symbols to work in tcc.
...
Fixes #322 .
2024-01-09 22:52:43 +00:00
Andrius Štikonas
959ea69742
Merge pull request #398 from Googulator/after-fix
...
Fix spelling of sysrq-trigger in after.sh
2024-01-09 22:45:54 +00:00
Gábor Stefanik
50d1d68f99
Restore multicore build support with kernel-bootstrap
...
This was removed as part of the simplify refactor, severely slowing
down qemu and bare-metal builds. Restoring it brings us back to the
same build times that we saw before the refactor.
2024-01-08 12:56:15 +01:00
Gábor Stefanik
a76fac4fa7
Allow update_env to incorporate runtime changes to bootstrap.cfg
...
Perform variable substitution at runtime, rather than at generation
time. This way, if bootstrap.cfg changes after update_env, the new
values there take effect immediately.
2024-01-08 12:55:19 +01:00
Gábor Stefanik
82062143a4
Fix spelling of sysrq-trigger in after.sh
2024-01-08 12:43:31 +01:00
fosslinux
9ec45654cf
Merge pull request #390 from Googulator/devtmpfs
...
Use devtmpfs, and improve finalize_fhs.sh
2024-01-08 10:55:57 +00:00
fosslinux
4a822e231c
Merge pull request #389 from Googulator/after
...
After bootstrap, drop to a shell if needed, then shut down cleanly
2024-01-08 10:55:21 +00:00
fosslinux
e44748cce1
Merge pull request #387 from Googulator/swap-support
...
Support swap files in qemu or bare-metal mode
2024-01-08 10:52:05 +00:00
Gábor Stefanik
2a095a3301
After bootstrap, drop to a shell if needed, then shut down cleanly
2024-01-08 05:19:19 +01:00
rick-masters
1bffe44154
Upgrade Fiwix to 1.5.0-lb1, pulling from upstream Mikaku repo. ( #397 )
2024-01-08 01:37:15 +00:00
Gábor Stefanik
d5008f93a5
Support swap files in qemu or bare-metal mode
...
This can help alleviate memory pressure when bootstrapping
with high core counts.
2024-01-02 04:32:08 +01:00
Gábor Stefanik
82c570694a
Make the Linux kernel & Fiwix->Linux kexec more bare-metal-friendly
...
* Enable additional hardware drivers in Linux for better bare metal
display, network & input device compatibility
* Disable ATA-over-Ethernet support, because it spams the network
with unnecessary packets, is basically useless for bootstrapping,
and may even be a security risk
* Increase Fiwix initrd size to 1280MB to fit a larger Linux build
* Make the Fiwix kexec size configurable the same way as initrd
(and reduce from 280MB to 256MB which is sufficient in my testing)
* Use a more conservative memory map for Fiwix & Linux
* Boot Linux with consoleblank=0 on bare metal, so the build won't
go blind after 5 minutes
* Support kexec-fiwix with interrupts disabled (will be useful later
when builder-hex0 is updated)
2024-01-02 01:33:09 +01:00
Gábor Stefanik
6c2144e50a
Make move_disk work on bare metal
...
* Use -S32 -H64 --force to trick sfdisk into allowing MiB-aligned
partitions on a drive that reports a CHS geometry
* Explicitly create partition at sector 2097152 (=1GiB)
* Force mkfs.ext4 to overwrite any existing filesystem it might find
* Wait up to 2 minutes for the disk to become readable (especially
USB drives often show up with a delay)
2024-01-02 00:57:29 +01:00
Gábor Stefanik
8341c4e089
Use devtmpfs, and improve finalize_fhs.sh
...
With this, finalize_fhs.sh can be rerun as needed, e.g. when rebooting.
Also, the preferred nameserver will persist after DHCP.
Thanks to devtmpfs, we no longer need to manage /dev once Linux is up.
2024-01-02 00:15:32 +01:00
Eduardo Sánchez Muñoz
5610998a4d
Update curl to 8.5.0
2024-01-01 22:39:24 +01:00