Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

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.

Repozytorium
yoe ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
20.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

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

check the serial consolewatch the board bootsend a command to the board
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

  1. Read what the board printed
  2. Type at the board
  3. When nothing is captured
  4. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 63 linii, 398 słów
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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.