Created
June 22, 2023 06:23
-
-
Save eriknylund/811b7f23154268dadfc84058a6f2cdc8 to your computer and use it in GitHub Desktop.
Coldcard MK4 v5.1.2 and MK3 v4.1.8 reproducible build
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
# LearnToBuild | |
# Using a fresh Debian 11 x64 droplet from Digital Ocean | |
# Build requires to things 1) docker and 2) make | |
# Install docker | |
# https://docs.docker.com/engine/install/debian/ | |
sudo apt-get update && sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo \ | |
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io | |
# Install make | |
apt install -y make | |
# Get the code from GitHub | |
git clone https://github.com/Coldcard/firmware.git | |
cd firmware/stm32 | |
# This is a git tag for MK4 | |
git checkout 2023-04-07T1330-v5.1.2 | |
make repro | |
# This is a git tag for MK3 | |
git checkout 2023-06-19T1627-v4.1.8 | |
make repro | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment