added tftp server for easy flashing over network

This commit is contained in:
2026-02-07 16:18:29 +01:00
parent de418b3716
commit ba72023563
2 changed files with 9 additions and 0 deletions

View File

@@ -40,3 +40,11 @@ services:
stdin_open: true # equivalent to -it stdin_open: true # equivalent to -it
tty: true # equivalent to -it tty: true # equivalent to -it
restart: always restart: always
yocto-tftp:
image: hub.anxietyprime.de/tools/tftp-server:latest
container_name: yocto-tftp
network_mode: host
volumes:
- ./build/deploy-ti/:/tftp
restart: always

View File

@@ -9,6 +9,7 @@ source "${SCRIPT_DIR}/setup-paths.sh"
mkdir -p "${YOCTO_ROOT}/.cache/docker/" mkdir -p "${YOCTO_ROOT}/.cache/docker/"
touch "${YOCTO_ROOT}/.cache/docker/zsh_history" touch "${YOCTO_ROOT}/.cache/docker/zsh_history"
mkdir -p "${BUILD_DIR}" mkdir -p "${BUILD_DIR}"
mkdir -p "${BUILD_DIR}/build/deploy-ti"
mkdir -p "${DL_DIR}" mkdir -p "${DL_DIR}"
mkdir -p "${SSTATE_DIR}" mkdir -p "${SSTATE_DIR}"