Hardware validation owed for 0.21.0 audit fixes without rig coverage

Aperta
#4,541 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, embedded-iot

Direzione di ricerca

Start by reading the 0.21.0..master audit PR and its hardware run list, then compare the listed audit rows with the ci.lan farm and htpc bench coverage. Identify a missing rig fixture or board for one changed path, or reproduce one pre-existing farm-cell failure. Done means the affected fix has a relevant hardware run and its result is recorded.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

follow-up Prio 📌

Hardware validation still owed for fixes from the 0.21.0..master audit. The audit PR's fixes below passed unit tests, builds and review, but no board on the ci.lan farm (or the htpc bench) exercises the changed path, or the farm cell that would cover it fails for an unrelated pre-existing reason. Each needs a rig fixture or a board added before it can be called hardware-validated.

No rig board or fixture exercises the changed path

Audit row Change What a validating run needs
A1 tu_edpt_stream_write_zlp_if_needed uses modulo for non power-of-two mps a device example with a non power-of-two interrupt/ISO stream endpoint
4 CFG_TUSB_MIMXRT1XXX_ERRATA_ERR050101 override honoured an RT10xx build with the override set to 0 on an affected part
6 usbh enumeration failure exits (no free address, oversized config, bind refused) a malformed or oversized-config device on a host rig
7 hub completes SET_CONFIG on a failed or short GET_HUB_DESCRIPTOR a hub that returns a short descriptor
8 audio device does not close EP0 under CLOSE_API without a feedback EP device/uac2_speaker_fb alt switching on a CLOSE_API port (CH32V307)
9, 10 audio host FU request across unplug, high-bandwidth alternates skipped a UAC2 device (HS high-bandwidth for row 10) on a host rig
11 hid host passes the received report-descriptor length a HID device with a short report descriptor
12 midi2 Stream Configuration Notify deferred while IN is busy (UMP v1.1 not in the doc library) a MIDI 2.0 negotiation workload
13, 14, S4 cdc host bounded descriptor walk, slot clear, notification EP type FTDI, CP210x, PL2303 and ACM-with-bulk-notification peers
15 midi host discard keeps cable boundaries a multi-cable MIDI device
16 vendor rejects bulk OUT mps above CFG_TUD_VENDOR_RX_EPSIZE a vendor workload in the roster
17 msc host rejects invalid or not meaningful CSW a device returning a bad CSW
19 video COMMIT rejects unresolved parameters device/video_capture in the roster
20 NCM IN payload remainder 2 NCM traffic from a Windows host
28 rusb2 init fails on an XTAL without a PHYSET.CLKSEL encoding an RA board with a 16 MHz (unsupported) crystal configuration
30 EHCI ISO stale idle phase an ISO device on an EHCI host (mimxrt1064_evk host audio)
32 IAR project template lists ci_fs instead of KHCI an IAR build
33, 34 lpc_ip3516 IRQ state and packet size / Mult lpcxpresso55s69 or lpcxpresso54628 in a host role
35 APM32F0 pull-up connect/disconnect an APM32F072 board
38 musb clears a pending SET_ADDRESS on bus reset a bus reset during SET_ADDRESS on tm4c or max32
39, 40 OHCI bulk reclaim ordering and BLF restart unplug under concurrent bulk traffic on ea4088_quickstart
41 MAX3421 init fails when OSCOKIRQ never arrives a MAX3421 with a missing or slow crystal
47 cdc_uac2 EP sizes cover both formats device/cdc_uac2 in the roster
48 ch32x035 openocd flash option a CH32X035 board
49 usbtest fits a 512-byte PMA stm32f103_bluepill (not rostered)
50, 51 APM32F0/PY32F0 UID copy, no-UART write stubs return -1 APM32F072 and PY32F071 boards

Farm cell fails for a reason that predates the audit

Board / cell Status
ea4088_quickstart host/device_info, host/cdc_msc_hid, dual/host_info_to_device_cdc CH340 never enumerates; same failure on master CI HIL. OHCI rows 39/40 and host CDC changes are therefore not proven there.
ch32v307v_r1_1v0-usbhs device/net_lwip_webserver network client timeout; same failure on master CI HIL. WCH USBHS rows 23-27 pass usbtest 30/30 there.
espressif_s3_devkitm-DMA host/msc_file_explorer_freertos first READ10 lost on the branch image only; layout-dependent race, details on #4528. Non-DMA S3, P4 and P4-DMA pass.

The audit PR lists every hardware run that did cover a fix.

Lingua principale
C
Stelle
7.3k
Fork
1.6k
Merge medio
1g 19h
PR unite (30g)
67

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hathach/tinyusb

Tutte le issue di hathach/tinyusb

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.