compat: thor2/WPInternals USB table, tools/check-env.sh

This commit is contained in:
SashegDev
2026-09-07 07:23:03 +00:00
parent 165df8adb9
commit 479d66c9e3
2 changed files with 38 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
# Проверка окружения для lumia-emu (linux/amd64, WSL).
echo "== lumia-emu env =="
echo -n "os: "; uname -srm
echo -n "disk /root: "; df -h /root | awk 'NR==2{print $4" free ("$5" used)"}'
echo -n "mem: "; free -h | awk 'NR==2{print $2" total, "$7" avail"}'
for t in qemu-system-arm qemu-img python3 dtc usbipd; do
if command -v $t >/dev/null 2>&1; then echo "OK $t: $(command -v $t)"; else echo "MISS $t"; fi
done
echo -n "fw/: "; ls fw/ 2>/dev/null | head -5 || echo "(пусто — залить orig.ffu + MPRG8909_fh.ede к 17:00 МСК)"
echo "note: FFU ~2G + emmc 8G требуют ~12G; на сервере сейчас ~4G — качать только на домашнем WSL"