wires

summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--compose.yaml17
-rw-r--r--docker/openocd/Dockerfile7
-rw-r--r--docker/tftp/Dockerfile5
-rw-r--r--ft2232h.cfg (renamed from docker/openocd/interface/ft2232h.cfg)0
-rwxr-xr-xstart_openocd.sh2
5 files changed, 2 insertions, 29 deletions
diff --git a/compose.yaml b/compose.yaml
deleted file mode 100644
index a12f71d..0000000
--- a/compose.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-services:
-  tftp:
-    build: ./docker/tftp
-    ports:
-      - 69:69/udp
-    volumes:
-      - ./zig-out/boot:/data:ro
-    command: --verbose --foreground --secure /data
-  openocd:
-    build: ./docker/openocd
-    ports:
-      - 6666:6666
-      - 4444:4444
-      - 3333:3333
-    devices:
-      - "/dev/bus/usb:/dev/bus/usb"
-    command: -f interface/ft2232h.cfg -f board/rpi4b.cfg -c "bindto 0.0.0.0"
diff --git a/docker/openocd/Dockerfile b/docker/openocd/Dockerfile
deleted file mode 100644
index f30964e..0000000
--- a/docker/openocd/Dockerfile
+++ /dev/null
@@ -1,7 +0,0 @@
-FROM alpine:3
-
-RUN apk add --no-cache openocd
-
-ADD interface/ft2232h.cfg /usr/share/openocd/scripts/interface/
-
-ENTRYPOINT ["openocd"]
diff --git a/docker/tftp/Dockerfile b/docker/tftp/Dockerfile
deleted file mode 100644
index 97c6d63..0000000
--- a/docker/tftp/Dockerfile
+++ /dev/null
@@ -1,5 +0,0 @@
-FROM alpine:3
-
-RUN apk add --no-cache tftp-hpa
-
-ENTRYPOINT ["in.tftpd"]
diff --git a/docker/openocd/interface/ft2232h.cfg b/ft2232h.cfg
index 441b853..441b853 100644
--- a/docker/openocd/interface/ft2232h.cfg
+++ b/ft2232h.cfg
diff --git a/start_openocd.sh b/start_openocd.sh
new file mode 100755
index 0000000..838f20e
--- /dev/null
+++ b/start_openocd.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+openocd -f ft2232h.cfg -f board/rpi4b.cfg