[Cryptech-Commits] [user/sra/alpha-releng/omnibus] 01/24: First step towards Alpha board firmware release engineering.
git at cryptech.is
git at cryptech.is
Mon Jun 27 20:38:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch master
in repository user/sra/alpha-releng/omnibus.
commit d630816f9bbb6e1aec4d6fa583ca7ca5045c4f18
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Tue Jun 21 17:59:44 2016 -0400
First step towards Alpha board firmware release engineering.
Committing and pushing early so I can do initial test builds on
something with a little more horsepower.
---
.gitignore | 1 +
.gitmodules | 45 +++++++++++++++++++++++++++++++++++++++++++++
Makefile | 17 +++++++++++++++++
README.md | 19 +++++++++++++++++++
core/cipher/aes | 1 +
core/cipher/chacha | 1 +
core/comm/fmc | 1 +
core/comm/uart | 1 +
core/hash/sha1 | 1 +
core/hash/sha256 | 1 +
core/hash/sha512 | 1 +
core/math/modexpa7 | 1 +
core/platform/alpha | 1 +
core/rng/avalanche_entropy | 1 +
core/rng/rosc_entropy | 1 +
core/rng/trng | 1 +
core/rng/vndecorrelator | 1 +
core/util/mkmif | 1 +
sw/stm32 | 1 +
19 files changed, 97 insertions(+)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..77d1cab
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+screenlog.0
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..719957a
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,45 @@
+[submodule "core/cipher/aes"]
+ path = core/cipher/aes
+ url = https://git.cryptech.is/core/cipher/aes.git
+[submodule "core/cipher/chacha"]
+ path = core/cipher/chacha
+ url = https://git.cryptech.is/core/cipher/chacha.git
+[submodule "core/comm/fmc"]
+ path = core/comm/fmc
+ url = https://git.cryptech.is/core/comm/fmc.git
+[submodule "core/comm/uart"]
+ path = core/comm/uart
+ url = https://git.cryptech.is/core/comm/uart.git
+[submodule "core/hash/sha1"]
+ path = core/hash/sha1
+ url = https://git.cryptech.is/core/hash/sha1.git
+[submodule "core/hash/sha256"]
+ path = core/hash/sha256
+ url = https://git.cryptech.is/core/hash/sha256.git
+[submodule "core/hash/sha512"]
+ path = core/hash/sha512
+ url = https://git.cryptech.is/core/hash/sha512.git
+[submodule "core/math/modexpa7"]
+ path = core/math/modexpa7
+ url = https://git.cryptech.is/core/math/modexpa7.git
+[submodule "core/platform/alpha"]
+ path = core/platform/alpha
+ url = https://git.cryptech.is/core/platform/alpha.git
+[submodule "core/rng/avalanche_entropy"]
+ path = core/rng/avalanche_entropy
+ url = https://git.cryptech.is/core/rng/avalanche_entropy.git
+[submodule "core/rng/rosc_entropy"]
+ path = core/rng/rosc_entropy
+ url = https://git.cryptech.is/core/rng/rosc_entropy.git
+[submodule "core/rng/trng"]
+ path = core/rng/trng
+ url = https://git.cryptech.is/core/rng/trng.git
+[submodule "core/rng/vndecorrelator"]
+ path = core/rng/vndecorrelator
+ url = https://git.cryptech.is/core/rng/vndecorrelator.git
+[submodule "core/util/mkmif"]
+ path = core/util/mkmif
+ url = https://git.cryptech.is/core/util/mkmif.git
+[submodule "sw/stm32"]
+ path = sw/stm32
+ url = https://git.cryptech.is/sw/stm32.git
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..38d1a78
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+# Preliminary makefile for releng/alpha/firmware, just to test the
+# basic build sequence before we start messing with packaging scripts,
+# version numbers, and other forms of entertainment. Expect changes.
+
+all: bitstream elves
+
+bitstream:
+ cd core/platform/alpha/build; ${MAKE}
+
+elves:
+ cd sw/stm32; ${MAKE} bootloader hsm
+
+clean:
+ git clean -dfx
+ git submodule foreach git clean -dfx
+
+.PHONY: bitstream elves clean
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ebf4015
--- /dev/null
+++ b/README.md
@@ -0,0 +1,19 @@
+Preliminary release engineering super-repository for building firmware
+for the Cryptech "Alpha" board.
+
+Primary tasks here are to build a bitstream for the FPGA and the
+"bootstrap" and "hsm" images for the Alpha's CPU.
+
+Eventually there will be a lot of packaging and versioning glorp here,
+but let's start with basic build and clean targets.
+
+Current repository structure is, um, complicated. On the RTL side, we
+have a tree of simple subrepositories, each representing one RTL core.
+
+On the software side, we have a subrepository which has several
+subrepositories of its own: current thinking is that this should
+probably be replaced by separate repositories and Makefile VPATH
+magic, but this is what we have today so it's what we build with
+today.
+
+This README is probably obsolete by the time you're reading it.
diff --git a/core/cipher/aes b/core/cipher/aes
new file mode 160000
index 0000000..9157592
--- /dev/null
+++ b/core/cipher/aes
@@ -0,0 +1 @@
+Subproject commit 915759285c179cf99be3c17ad401c79e4b8be054
diff --git a/core/cipher/chacha b/core/cipher/chacha
new file mode 160000
index 0000000..549b75a
--- /dev/null
+++ b/core/cipher/chacha
@@ -0,0 +1 @@
+Subproject commit 549b75a635817ce263c368c9b8b5b0b07f90ec21
diff --git a/core/comm/fmc b/core/comm/fmc
new file mode 160000
index 0000000..61c16de
--- /dev/null
+++ b/core/comm/fmc
@@ -0,0 +1 @@
+Subproject commit 61c16de8beb8deaadd2ffedfabfb3ce96e8699f0
diff --git a/core/comm/uart b/core/comm/uart
new file mode 160000
index 0000000..0d3acd1
--- /dev/null
+++ b/core/comm/uart
@@ -0,0 +1 @@
+Subproject commit 0d3acd1815da8fcbd2b30f4fe1ff514f87b25228
diff --git a/core/hash/sha1 b/core/hash/sha1
new file mode 160000
index 0000000..ae915a1
--- /dev/null
+++ b/core/hash/sha1
@@ -0,0 +1 @@
+Subproject commit ae915a1ed47a807ec880c2f18053e4f8eda6bd93
diff --git a/core/hash/sha256 b/core/hash/sha256
new file mode 160000
index 0000000..c894f78
--- /dev/null
+++ b/core/hash/sha256
@@ -0,0 +1 @@
+Subproject commit c894f78a95a01351f277c3d36bcf6dced08798e2
diff --git a/core/hash/sha512 b/core/hash/sha512
new file mode 160000
index 0000000..88e0d83
--- /dev/null
+++ b/core/hash/sha512
@@ -0,0 +1 @@
+Subproject commit 88e0d83768004b6bab2d83edf7eae2841678b51c
diff --git a/core/math/modexpa7 b/core/math/modexpa7
new file mode 160000
index 0000000..4612bc2
--- /dev/null
+++ b/core/math/modexpa7
@@ -0,0 +1 @@
+Subproject commit 4612bc24a8b43c14580d6be06542b1fa9a6e615a
diff --git a/core/platform/alpha b/core/platform/alpha
new file mode 160000
index 0000000..fc8be80
--- /dev/null
+++ b/core/platform/alpha
@@ -0,0 +1 @@
+Subproject commit fc8be8024560bb77221758b0351c3de7b4ea6e93
diff --git a/core/rng/avalanche_entropy b/core/rng/avalanche_entropy
new file mode 160000
index 0000000..5742813
--- /dev/null
+++ b/core/rng/avalanche_entropy
@@ -0,0 +1 @@
+Subproject commit 5742813ab43fec9fa90d970f086f1e266875b8f3
diff --git a/core/rng/rosc_entropy b/core/rng/rosc_entropy
new file mode 160000
index 0000000..48e3c11
--- /dev/null
+++ b/core/rng/rosc_entropy
@@ -0,0 +1 @@
+Subproject commit 48e3c117ae6944775010031b1691446220944b62
diff --git a/core/rng/trng b/core/rng/trng
new file mode 160000
index 0000000..953909d
--- /dev/null
+++ b/core/rng/trng
@@ -0,0 +1 @@
+Subproject commit 953909d18796c1caea35263eb902b1dd7021d92d
diff --git a/core/rng/vndecorrelator b/core/rng/vndecorrelator
new file mode 160000
index 0000000..49e388c
--- /dev/null
+++ b/core/rng/vndecorrelator
@@ -0,0 +1 @@
+Subproject commit 49e388c3dadcaabe1e4e66a37fcd52b2f125c1dc
diff --git a/core/util/mkmif b/core/util/mkmif
new file mode 160000
index 0000000..fd1dd73
--- /dev/null
+++ b/core/util/mkmif
@@ -0,0 +1 @@
+Subproject commit fd1dd73410ba6ca3d082ff61e4b39d6e8c2de35e
diff --git a/sw/stm32 b/sw/stm32
new file mode 160000
index 0000000..85582f7
--- /dev/null
+++ b/sw/stm32
@@ -0,0 +1 @@
+Subproject commit 85582f7a86de10c0e5ad234d6b6f40135549f3da
More information about the Commits
mailing list