Skip to content

Commit

Permalink
Release_1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oriansj committed May 1, 2022
1 parent 74f1e36 commit 2899c74
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 32 deletions.
2 changes: 1 addition & 1 deletion M2-Mesoplanet
Submodule M2-Mesoplanet updated 2 files
+9 −4 cc.c
+5 −5 cc_reader.c
2 changes: 1 addition & 1 deletion M2-Planet
Submodule M2-Planet updated 2 files
+41 −0 CHANGELOG.org
+1 −1 cc.c
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mescc-tools-seed
# stage0-posix

This repository contains all the various parts needed to bootstrap the
following:
Expand All @@ -21,14 +21,13 @@ following:

It bootstraps all these from a single 357 byte seed (which you will find in the
folder bootstrap-seeds). The ultimate goal is for this to bootstrap all the way
up to GCC. This will happen when mes-m2 is finished.
up to GCC. Thanks to the wonderful people on #bootstrappable and their hard work
https://github.com/fosslinux/live-bootstrap it is done. Everything you need to
go from Hex0 to GCC+Guile is just a kaem.run away.

There are only two "missing" parts that are not source code; a shell/kaem, and a
kernel. Kaem is a very basic build tool that basically evaluates a very simple
script. A seed kaem that was hand written in hex0 (737bytes) is available as
kaem-optional-seed in the same folder with the hex0 seed. Otherwise, you can use
a shell you trust. The kernel issue is not yet solved and at the moment the
kernel is trusted.
There is only one "missing" part that is not bootstrappable from the hex0 seed; a
kernel. This issue is not yet solved and at the moment the kernel is trusted.
(This issue will ultimately have to be solved on bare metal in stage0)

This repository currently supports AMD64 (x86_64), x86 (i386), AArch64 and RISC-V
(32 and 64-bit) architectures. To run the entire bootstrap process in the safest way,
Expand Down Expand Up @@ -89,6 +88,9 @@ kaem.run.
ALL of these steps have a NASM or GAS version in the NASM/ or GAS/ subdirectory
of the folder for the architecture.

All of the intermediate build products are in the $ARCH/artifact/ folders (for
inspection and audit purposes)

### Phase 0: Rebuild hex0 from the hex0 seed

This is done to ensure that the hex0 seed is untainted, and that the
Expand Down Expand Up @@ -181,7 +183,6 @@ features provided by M2libc and M2-Planet to enable significantly faster builds.
This is the final debuggable version of hex2 with all of the optimizations and
features provided by M2libc and M2-Planet to enable significantly faster builds.


### Phase 11: Build kaem

kaem is what was being used to run kaem.run scripts, and is useful for
Expand Down
8 changes: 4 additions & 4 deletions aarch64.answers
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
76c294dc48b18bcc54e33d20c459cb43b10ae85909a21aadfc34d7ac4d208be9 AArch64/bin/M1
0344012113eb89ee2f06cd72b3f4ad70f9103fe2af621ee55980d03e23c6b595 AArch64/bin/M2-Mesoplanet
56f4c1f076bf80efe5bcc5405aa264e5d4593872aef39754a4cf74e132a419db AArch64/bin/M2-Planet
2ccc534b87a7a7e0b97b4314c9ab12d221e7843711b6f805fc79be2b7567ea2f AArch64/bin/blood-elf
d454199708a3f237c5dd5128c9fa8a02beda6f4473a83e327747f12550836514 AArch64/bin/catm
9ca74eb0094c3d75ce5c33177f849bc280dcc156be69be0f48513e8d8d44e543 AArch64/bin/chmod
357c0fcad6c472e17cb40623f8debfd4c6080beeac11c69d6ff206a409cd1c03 AArch64/bin/cp
87059792862b81a3bf8f88485744f2939bb4b0d350e256e523d9f02d608ba815 AArch64/bin/get_machine
8190c0c6119863cc3b8482d42daf320d3e04b1e19f105ba24d74b94b19e0dd5d AArch64/bin/hex2
c0c3d838ee7452e191074ea5a460b3183e491eeee9ecf10beec1fe65027e54d4 AArch64/bin/kaem
76c294dc48b18bcc54e33d20c459cb43b10ae85909a21aadfc34d7ac4d208be9 AArch64/bin/M1
a86b1a5dca67f10d27fffea8b0628987d560816b326aa69b38260564bd9ca3d8 AArch64/bin/M2-Mesoplanet
cfae85150e2f449264a71b4205f63fabb5ad0f93c9915024f240d1af56eaf479 AArch64/bin/M2-Planet
5911cda1b22ac3660fcb071a2b0524e49c8866c7379a5c065ddebe7926dedc35 AArch64/bin/kaem
4e09dfe95c754a4502b741e782695db287e7db0851e3e37aeaa8627aed549317 AArch64/bin/match
f45c71c21883ea3b17a88739e7ee68feaed1eaaf4473ca5e4696cb90f9c34d76 AArch64/bin/mkdir
b2b302a0eaccf921c35f17df648889412bae81ca70696c5474d47b2377112c7d AArch64/bin/placeholder
Expand Down
8 changes: 4 additions & 4 deletions amd64.answers
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
a20eb418677d3cddd90ca5643f84d84928938213d3308291130fe6fc66d1f4f1 AMD64/bin/M1
73a3d9015e4a09f43277c83c1544b6c54cab954c7f7e8272d63155650ec77649 AMD64/bin/M2-Mesoplanet
67fdffa7ae8dbaa9fdfc51e732dea6653f0b0731574d32dd6d2620ce47f3626d AMD64/bin/M2-Planet
0c8db641fe9b274c161d05c73d393dc6e4a09645b97be35ac9aab0e549d6cc69 AMD64/bin/blood-elf
9a63789c8912fbd4a65b6b192cbd564cd71acf5810033a188ea1520fc355cbdb AMD64/bin/catm
42ede391dd6c883b76f0e47164208f9f3cee1a446742a5640c27b08fb64b8af5 AMD64/bin/chmod
b2d53079e1f9cd468a495ab5fba02c979c5bdd8a8ceb5ee29c7b357f88923a8e AMD64/bin/cp
07ad9161f4886dd0b26a52813a0354acd7fb034f283c288ddf4f280112824318 AMD64/bin/get_machine
b0a8e751df4c337b96be648b5c59a2a5609d41a2147b0f3fa7b623eb5bb4e855 AMD64/bin/hex2
76d30331a60525f916a3bbe05df1a1c2909a7c8b9d7baa5113ea4b8dbe07bb36 AMD64/bin/kaem
a20eb418677d3cddd90ca5643f84d84928938213d3308291130fe6fc66d1f4f1 AMD64/bin/M1
a3ef3d5c8c0b0809ec2d7671883b1c9a995af27f1f1f63c7650540dcb9530c3f AMD64/bin/M2-Mesoplanet
ada9f119aef188a9c052af6eb2d6c32be54ee0f23b54beb477a538540156175b AMD64/bin/M2-Planet
6e189cd4a4a35195a2f81df7593806ede72479c376cb5343c48457592f23d5dc AMD64/bin/kaem
e824274615427a32c414efd84ed6ef2ac096c81f060ff88334e2d40e89b1c356 AMD64/bin/match
7fd74b4d09780ae40769d487ee6bac31d350a07daa9f49b5da40cc4184dbda1f AMD64/bin/mkdir
b2b302a0eaccf921c35f17df648889412bae81ca70696c5474d47b2377112c7d AMD64/bin/placeholder
Expand Down
2 changes: 1 addition & 1 deletion mescc-tools
Submodule mescc-tools updated from dd9947 to 8a8d91
8 changes: 4 additions & 4 deletions riscv32.answers
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
7dcc9a0fcb1d38e714e22e03f83bc8b77cb62b640505e9d86f69849e09ba1dee riscv32/bin/M1
6ed2cada30f7f318b9094ba1e0fe9d6c561a38e09acb9f159e1e3c4c83544d14 riscv32/bin/M2-Mesoplanet
8dcfeb5cfc513cd75202c1d0f06f311e7c851758a6dde33579a4b3cd2ce91fd7 riscv32/bin/M2-Planet
988fcfa83d900fee5b23032ac78a211106dd8235503ab7abeafbc59eb7886b51 riscv32/bin/blood-elf
7f255c886c669407640d3752c47e4c5d2b79839ab8322bfcc8041830c3749a5c riscv32/bin/catm
ac7bc0c5d196a87bd76f198dc43e4d8b0fba16cd2acf0d9f23181c2f1c3ecc77 riscv32/bin/chmod
90e7e9b220d80378488246ff0e1afda4daf7b3e6e212c069baa086927d93a30d riscv32/bin/cp
8c7d8a52c02780ad4aa44e52f59b5fadecffda1b082a6c3f1a5f063ed2644f5b riscv32/bin/get_machine
89d8609ff15ad30137c2b3b7e0cfb9f637fbed870114b2ec03322916b74d2cef riscv32/bin/hex2
60a27f7b1b30078bce0483ee371f704cf2682dff123f06febb71bac813cf3ac0 riscv32/bin/kaem
7dcc9a0fcb1d38e714e22e03f83bc8b77cb62b640505e9d86f69849e09ba1dee riscv32/bin/M1
23c75caebc8f4ab274af8db85503acbc18135f4058c73aca644e8e5bda1b8f8a riscv32/bin/M2-Mesoplanet
85ae08ed41eae89994c8b13e366359a0d820464207f1679fcc262fabaf2a16c4 riscv32/bin/M2-Planet
ac31efdc18f939ca845f7230f2f0bbffa737ff8bb80222288a43fb03c134c9ec riscv32/bin/kaem
eda1e83fab337f6c5de7de9b934ab45f1ada66b4718f96833fc12251606075c0 riscv32/bin/match
7053b190706033653e961ad19f25e1b28de52bb5359634614a96cf590b3ac7b8 riscv32/bin/mkdir
b2b302a0eaccf921c35f17df648889412bae81ca70696c5474d47b2377112c7d riscv32/bin/placeholder
Expand Down
8 changes: 4 additions & 4 deletions riscv64.answers
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
0303cf53f9c92610bb6a64d1d171deda1c884e5e5c8974ca2e72a5a3371350c2 riscv64/bin/M1
720dbcfeb8db3d0f34436ee2329a000e3cb9bc9325dee5d5732b84d5b7268be6 riscv64/bin/M2-Mesoplanet
7ccc71b26136fcc6a7c5be477f0f9a2b0ef54892bd295e3d46e276d9730cab2a riscv64/bin/M2-Planet
647754cf6cf894ae0bf0cc36a6af2c751677c3e772e3327960b9b55abc14ad8b riscv64/bin/blood-elf
1493a16642dc5014b1841672cbea33e593084a564f4d1d0bea4f46d7c48810a7 riscv64/bin/catm
96751cd77d64c1d596ce34507d230d2b8e9c3becb2e8dca2e049e9a554829810 riscv64/bin/chmod
fb85a8e1fe56e7d554cefb1d79a9fcfb81eb53a1f9a56d98f4391b035f90eb71 riscv64/bin/cp
2d704223ca23774f88916948e9701e7b0eec4a45b9abbdb4e945bb00092d7482 riscv64/bin/get_machine
c23f481d3be966d606ff07e3ec0b5da64af9070de053e099d15d060ac837d841 riscv64/bin/hex2
991c11eaf58291f15981788058df4e031fd4b27c9de3f655bd53c57d44e22f26 riscv64/bin/kaem
0303cf53f9c92610bb6a64d1d171deda1c884e5e5c8974ca2e72a5a3371350c2 riscv64/bin/M1
565cec32c733ae2f33d4a634edb1b8194b3dc79100ed4b559e35f9976a88dadd riscv64/bin/M2-Mesoplanet
8614acfc89b341cb5d2d961471c54140dd30277ff3e0a91c859534af61041009 riscv64/bin/M2-Planet
45f9ac34e856235a082e885b097dc9f3598294a4c3c8d1f8810cdcade3dda253 riscv64/bin/kaem
9efb73de1a1dd7cd16b66a8e8049f804ae48391a34fb6f07db288c609af9bbfb riscv64/bin/match
9382c657b17b1347c6ff25d16981e2ec72eade647c6da7ba3b9d8c5a055e5e53 riscv64/bin/mkdir
b2b302a0eaccf921c35f17df648889412bae81ca70696c5474d47b2377112c7d riscv64/bin/placeholder
Expand Down
8 changes: 4 additions & 4 deletions x86.answers
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
c7a2f219f73ad03793a55ac4404985e218cef72e251b4442a0334dc7ad21b133 x86/bin/M1
8297231c6aff983d7656e105b797ab5064519a9aebb64e0a8b8bab3c82757284 x86/bin/M2-Mesoplanet
a89c2bfacf2103f3c373588af557074bc442983452d879146fdbfafcaa82687a x86/bin/M2-Planet
1c5e3b0e9188e1caa1bbd9cba60e66ff89b28ee9963c9aa15d6086c8f0baad6d x86/bin/blood-elf
b50663d3baff0459bd100fc27821861d6d6c2dc8e3a51afd63d2935b60bc7a47 x86/bin/catm
ee81c8e5b26d1389dd4b7c744774d38013684adc9a8a5e19f61130cb088557e4 x86/bin/chmod
00173e895d7102fd5278d2a2e9bc76e5300d1f347ce995fb36d6ae6697fe78af x86/bin/cp
cd884dbc4828af6cd162e9e08effc7afb8475292da27b4f01a37fad5d6017cdc x86/bin/get_machine
e9da9d44bb7d96d422f0b2fe40b2bcaed81cd31232f04eda4ec3471d9470d4d8 x86/bin/hex2
eeb10400f5365bf0bce185f58df4eb793bb6fa3aedb3307ded2f1b21628c95af x86/bin/kaem
c7a2f219f73ad03793a55ac4404985e218cef72e251b4442a0334dc7ad21b133 x86/bin/M1
fb083b5a4d51b722675e94d58f958f082b7eedc177ee223bc45c5b919b9924a4 x86/bin/M2-Mesoplanet
e2ed9c26987734a9e302159b93331b1c83b64943f22e5bf8c9b44951a6a76bcc x86/bin/M2-Planet
81417f63fb1d2d37ed855881a5d2edb25f5406657845c761ef8d15eaee6d83e3 x86/bin/kaem
1fe6d5bfbd2f65bf6c82e7d29b188ff667adc19209ecd07179351353a0cb881e x86/bin/match
e364c8fa073da23cd793d4535915f7d28eb47bc4a1f53e8c27fc9c5bf9d91707 x86/bin/mkdir
b2b302a0eaccf921c35f17df648889412bae81ca70696c5474d47b2377112c7d x86/bin/placeholder
Expand Down

0 comments on commit 2899c74

Please sign in to comment.