uwu

hardware bitcoin wallet software and build system
git clone https://git.parazyd.org/uwu
Log | Files | Refs | README | LICENSE

commit dae829bf98842006ae7b1fd7cf49318338115cc9
parent 72705c10993134064f58539e29a2b1400a320563
Author: parazyd <parazyd@dyne.org>
Date:   Tue,  2 Feb 2021 21:58:51 +0100

Cleanup.

Diffstat:
D.travis.yml | 19-------------------
MTODO | 9+--------
Ddash.mk | 32--------------------------------
Dinitramfs/bin/.keep | 0
Dsbase.mk | 40----------------------------------------
Dubase.mk | 22----------------------
Dverification_keyring.gpg | 0
7 files changed, 1 insertion(+), 121 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -1,19 +0,0 @@ -os: linux -dist: focal -language: minimal -before_install: - - sudo apt-get update - - sudo apt-get -y install build-essential qemu-user-static xz-utils gnupg wget binfmt-support -install: - - if ! [ -d /proc/sys/fs/binfmt_misc ]; then sudo modprobe binfmt_misc; fi - - if ! [ -f /proc/sys/fs/binfmt_misc/register ]; then sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc; fi - - echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/qemu-wrapper:' | sudo tee /proc/sys/fs/binfmt_misc/register - - sudo /etc/init.d/binfmt-support start -before_script: - - wget https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--glibc--bleeding-edge-2020.08-1.tar.bz2 - - tar xf armv6-eabihf--glibc--bleeding-edge-2020.08-1.tar.bz2 - - export PATH=$PATH:$PWD/armv6-eabihf--glibc--bleeding-edge-2020.08-1/bin -script: - - exit 0 -# - make -j$(nproc) -e QEMU_ARM=/usr/bin/qemu-arm-static CROSS_COMPILE=arm-buildroot-linux-gnueabihf- all -# - make -j$(nproc) -e QEMU_ARM=/usr/bin/qemu-arm-static CROSS_COMPILE=arm-buildroot-linux-gnueabihf- image diff --git a/TODO b/TODO @@ -1,9 +1,6 @@ -General functionality: -* initramfs + cryptsetup + squashfs + overlayfs -* ^ remove ext fs from kernel defconfig when the above are implemented - Userspace: * electrum (daemon) autostart +* wallet seeds Security: * boot verification/signature @@ -11,7 +8,3 @@ Security: Misc: * photos/videos of setup and usage * clean up more unnecessary entries from kernel defconfig - -Display (low priority): -* framebuffer on hdmi/spi -* maybe write kernel fb driver for waveshare eink diff --git a/dash.mk b/dash.mk @@ -1,32 +0,0 @@ -# Copyright (c) 2020 Ivan J. <parazyd@dyne.org> -# This file is part of uwu. -# See LICENSE file for copyright and license details. - -DASH_TAR = $(DASH_SRC).tar.gz -DASH_SHA = $(DASH_TAR).sha256 - -DASH_BINS = \ - $(DASH_SRC) $(DASH_TAR) $(DASH_SHA) \ - $(DASH_SRC)/src/dash - -$(DASH_TAR): - wget -c https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/$(DASH_TAR) - -$(DASH_SHA): - echo "$(DASH_SUM) $(DASH_TAR)" > $@ - -$(DASH_SRC): $(DASH_TAR) $(DASH_SHA) - sha256sum -c $(DASH_SHA) - tar xf $(DASH_TAR) - -$(DASH_SRC)/src/dash: $(DASH_SRC) - cd $(DASH_SRC) && ./autogen.sh - cd $(DASH_SRC) && \ - CC="$(CROSS_COMPILE)gcc" \ - CFLAGS="-Os" \ - ./configure \ - --host=$(DASH_HOST_PREFIX) \ - --enable-static \ - --enable-glob - $(MAKE) -C $(DASH_SRC) - $(CROSS_COMPILE)strip $@ diff --git a/initramfs/bin/.keep b/initramfs/bin/.keep diff --git a/sbase.mk b/sbase.mk @@ -1,40 +0,0 @@ -# Copyright (c) 2020 Ivan J. <parazyd@dyne.org> -# This file is part of uwu. -# See LICENSE file for copyright and license details. - -SBASE_B = \ - $(SBASE_SRC)/basename \ - $(SBASE_SRC)/cat \ - $(SBASE_SRC)/cp \ - $(SBASE_SRC)/cut \ - $(SBASE_SRC)/dirname \ - $(SBASE_SRC)/env \ - $(SBASE_SRC)/grep \ - $(SBASE_SRC)/ls \ - $(SBASE_SRC)/mkdir \ - $(SBASE_SRC)/mktemp \ - $(SBASE_SRC)/printf \ - $(SBASE_SRC)/pwd \ - $(SBASE_SRC)/rm \ - $(SBASE_SRC)/rmdir \ - $(SBASE_SRC)/sed \ - $(SBASE_SRC)/sleep \ - $(SBASE_SRC)/sync \ - $(SBASE_SRC)/touch \ - $(SBASE_SRC)/true \ - $(SBASE_SRC)/xargs \ - $(SBASE_SRC)/yes \ - -SBASE_BINS = $(SBASE_SRC) $(SBASE_B) - -$(SBASE_SRC): - git clone https://git.suckless.org/sbase - -$(SBASE_B): $(SBASE_SRC) - $(MAKE) -C $(SBASE_SRC) \ - CC=$(CROSS_COMPILE)gcc \ - AR=$(CROSS_COMPILE)ar \ - RANLIB=$(CROSS_COMPILE)ranlib \ - CFLAGS="-Os -static -std=c99 -Wall -pedantic" \ - LDFLAGS="-s -static" \ - -e $(shell basename $@) diff --git a/ubase.mk b/ubase.mk @@ -1,22 +0,0 @@ -# Copyright (c) 2020 Ivan J. <parazyd@dyne.org> -# This file is part of uwu. -# See LICENSE file for copyright and license details. - -UBASE_B = \ - $(UBASE_SRC)/mount \ - $(UBASE_SRC)/umount \ - $(UBASE_SRC)/switch_root - -UBASE_BINS = $(UBASE_SRC) $(UBASE_B) - -$(UBASE_SRC): - git clone https://git.suckless.org/ubase - -$(UBASE_B): $(UBASE_SRC) - $(MAKE) -C $(UBASE_SRC) \ - CC=$(CROSS_COMPILE)gcc \ - AR=$(CROSS_COMPILE)ar \ - RANLIB=$(CROSS_COMPILE)ranlib \ - CFLAGS="-Os -static -std=c99 -Wall -Wextra" \ - LDFLAGS="-s -static" \ - -e $(shell basename $@) diff --git a/verification_keyring.gpg b/verification_keyring.gpg Binary files differ.