serial-console
/serial-console
Odczytuje i steruje konsolą szeregową płytki podłączonej do komputera, sprawdza start systemu i weryfikuje build na prawdziwym sprzęcie.
- Autor
- yoebuild ↗
- Repozytorium
- yoe ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 20.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Odczytuje i steruje konsolą szeregową płytki podłączonej do komputera, sprawdza start systemu i weryfikuje build na prawdziwym sprzęcie.
Wyzwalacze z opisu
Oryginalny opis (EN)
This skill should be used when a board is attached to the host and the user asks what it printed, whether it booted, why it stopped at U-Boot or a kernel panic, to "check the serial console", "watch the board boot", "send a command to the board", "/serial-console", or when a build or deploy needs to be verified on real hardware. Reads and drives the board's serial console through `yoe serial`.
Jak działa
- Read what the board printed
- Type at the board
- When nothing is captured
- Rules
Podgląd SKILL.md
--- name: serial-console description: > This skill should be used when a board is attached to the host and the user asks what it printed, whether it booted, why it stopped at U-Boot or a kernel panic, to "check the serial console", "watch the board boot", "send a command to the board", "/serial-console", or when a build or deploy needs to be verified on real hardware. Reads and drives the board's serial console through `yoe serial`. --- # Serial Console Read and type at the selected machine's serial console through the log and socket yoe keeps under `build/serial/`. The TUI (or a `yoe serial` in another terminal) owns the adapter; these commands attach to it, so nothing has to be closed first. ## Read what the board printed ```sh yoe serial log -n 60 # the last 60 lines yoe serial log -f # follow live, ctrl-c to stop ``` The log is timestamped, escape-stripped text, one console line per line. Marker lines (`--- serial capture started … ---`, `--- serial adapter disconnected … ---`) show where a session or a replug happened. Look for: - `U-Boot` and `Starting kernel` for the boot chain. - `Kernel panic`, `Oops`, `BUG:` for a crash. - `login:` for a complete boot; `Welcome to` on Debian and Ubuntu images. - A long gap between timestamps for a hang. Read the log rather than attaching interactively: an interactive attach holds the terminal and never returns on its own. ## Type at the board ```sh yoe serial send "uname -a" yoe serial log -n 5 ``` `send` appends a newline; `--raw` sends the bytes as given, for example `yoe serial send --raw $'\x03'` for ctrl-c. Give the board a moment before reading the reply. There is no login automation: if the log shows a `login:` prompt, send the user name, then the password, then the command. ## When nothing is captured `yoe serial log` says there is no log yet when no yoe process has owned the console. Check in this order: 1. `yoe serial list` shows the adapter. If not, it is not plugged in or the user lacks permission on the device node. 2. `yoe config show` reports a `Serial:` line for the machine. `unmapped` means `yoe config set serial-port <by-id path>` (or the TUI Setup page) is needed; no line at all means the machine declares no `serial = serial_config(baud = ...)`. 3. Start the TUI, or run `yoe serial` in a terminal the user watches, so a process owns the adapter and capture begins. ## Rules - Never leave `yoe serial` (interactive) running from a script; use `log` and `send`. - Do not send destructive commands (`reboot`, `dd`, `mkfs`, package removal) without the user asking for them. - Quote log lines back with their timestamps when explaining a failure, so the user can find them in `build/serial/<machine>.log`.
Wersje
W bazie nie ma innych skilli o nazwie serial-console.
Migawka bazy z 13.11.2026 · wersja paczki e21989eac1e7 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100qcom-boot-validate
Sprawdza przez konsolę szeregową, czy płytka Qualcomm Linux uruchamia się do działającej powłoki, i raportuje wynik PASS albo FAIL. - 100logscope
Obserwuje i steruje logami szeregowymi urządzenia bez wklejania ich do czatu: czeka na zdarzenia sprzętu, wysyła polecenia CLI do płytki oraz uruchamia aktualizację firmware, OTA i testy z weryfikacją wyniku. - 81serial-banner
Odczytuje pierwszy wiersz, który wysyła urządzenie szeregowe, zanim podejmie inne próby rozpoznania. - 100esp32-usb-serial-jtag-debug
Przegląda debugowanie przez USB Serial-JTAG w firmware ESP32 i sprawdza poprawność ścieżki debugowania. - 100drobo5n-debian
Pomaga zainstalować Debiana na Drobo 5N, obsługiwać konsolę szeregową U-Boot i odzyskiwać system, z punktami kontrolnymi i wskazaniem kroków fizycznych. - 95esp32-serial-field-diagnostics
Diagnozuje błędy ramkowania UART, timeouty RS485, uszkodzenia danych i zakłócenia logów rozruchu w ESP32.